Selected Options for Setting Up the AI Server
These examples show how to use different options to set up the AI server. The examples assume that your role has the appropriate rights profile to issue the commands. See Using Rights Profiles to Install Oracle Solaris.
Example 4-8 Disabling AI Support on a Network (-L
Option)
By default, the AI server is configured to serve clients on all networks to
which the system is connected. In this example, the 192.0.2.0/24
network is removed from servicing AI requests.
$ installadm set-server -L 192.0.2.0/24
Example 4-9 Including Networks to Be Supported by an AI Server (-l
Option)
The following command shows how to allow install services on two networks.
$ installadm set-server -l 192.0.2.0/24, 198.51.100.0/24
Example 4-10 Configuring the AI Web Server Port Number (-p
Option)
An AI server hosts install services by using a web server. By default, the AI web server is hosted on port 5555. The following command changes the port number:
$ installadm set-server -p 7000
Example 4-11 Configuring the Secure AI Web Server Port Number (-P
Option)
A secure AI server hosts install services by using a web server. By default, the secure AI web server is hosted on port 5556. The following command changes the port number:
$ installadm set-server -P 7001
Example 4-12 Configuring the Default Image Path (-d
Option)
By default, images for all install services in the AI server are created in /export/auto_install/service-name
. The following command changes the default location.
$ installadm set-server -d /export/aiimages
To override the default directory location for a specific service, use the -d
option when creating the service. For example:
$ installadm create-service -d /var/tmp -n myservice
Example 4-13 Disabling Automatic Updates of the Local DHCP Service on an AI Server (-M
Option)
By default, the local ISC DHCP configuration is automatically updated when client and service configurations are modified in the AI server. This example shows how to disable automatic maintenance of the local ISC DHCP configuration.
$ installadm set-server -M
Changed Server
Disabling SMF service svc:/network/dhcp/server:ipv4
Refreshing SMF service svc:/system/install/server:default