Several configuration settings can be changed on an AI server by using the installadm set-server command. These configuration settings include:
The networks to exclude from AI support
The networks to include AI support on
The AI web server port
You must become an administrator to use this command. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .Example 8-1 Disabling AI Support on a Network
# installadm set-server -L 192.168.56.0/24Example 8-2 Including Networks to Be Supported by a AI Server
In some situations, it is easier to list the networks that should support install services rather than listing the networks to be excluded. The following command shows how to allow install services on two networks.
# installadm set-server -l 126.96.36.199/24, 188.8.131.52/24Example 8-3 Configuring the AI Web Server Host Port
An AI server hosts install services using a web server. By default, the AI web server is hosted on port 5555. You can view install service files at http://localhost:5555. You can change the port number used for the web server. The following command configures the AI server to host install services from port 7000:
# installadm set-server -p 7000Example 8-4 Configuring the Secure AI Web Server Host Port
A secure AI server hosts install services using a web server. By default, the secure AI web server is hosted on port 5556. You can securely view install service files at http://localhost:5556. You can change the port number used for the web server. The following command configures the AI server to host secure install services from port 7001:
# installadm set-server -P 7001Example 8-5 Configuring the Default Image Path
By default, images are created in a service-name directory in /export/auto_install. Thus, by default, the net image for the service-name service is created at /export/auto_install/service-name. The following command configures the AI server to create new install services at /export/aiimages/service-name by default:
# installadm set-server -d /export/aiimagesExample 8-6 Defining IP Addresses and Number of AI clients for an AI Server
The following example sets up an install server to act as a DHCP server for the network. The DHCP server will be set up to serve twenty IP addresses (–c), starting from 10.80.239.150 (–i). If a DHCP server is not yet configured, an ISC DHCP server is configured. If an ISC DHCP server is already configured, that DHCP server is updated.
If the IP range requested is not on a subnet that the install server is directly connected to and the install server is multihomed, use the –B option to provide the address of the boot file server (usually an IP address on this system). This option should only be necessary when multiple IP addresses are configured on the install server and DHCP relays are employed. In other configurations, the software can determine this automatically.
# installadm set-server -i 10.80.239.150 -c 20Example 8-7 Disabling Automatic Updates of the Local DHCP Service on an AI Server
By default, the local ISC DHCP configuration is automatically updated when client and service configurations are modified in the AI server. If you do not want the local ISC DHCP configuration to be automatically maintained, use the following command:
# installadm set-server -M Changed Server Disabling SMF service svc:/network/dhcp/server:ipv4 Refreshing SMF service svc:/system/install/server:defaultExample 8-8 Enabling DHCP Updates on the AI Server
If automatic updates to the ISC DHCP configuration is disabled, you can enable it using the following command:
# installadm set-server -m Warning: AI server will now manage DHCP Changed Server Enabling SMF service svc:/network/dhcp/server:ipv4