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.3.Example 9 Disabling AI Support on a Network
# installadm set-server -L 192.0.2.0/27Example 10 Including Networks to Be Supported by an 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 192.0.2.0/27, 192.0.2.32/27Example 11 Configuring the AI Web Server Port Number
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 12 Configuring the Secure AI Web Server port Number
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 13 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 14 Defining IP Addresses and Number of AI Clients for an AI Server
The following example sets up an I 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 203.0.113.1 (–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 AI server is directly connected to and the I 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 AI server and DHCP relays are employed. In other configurations, the software can determine this automatically.
# installadm set-server -i 203.0.113.1 -c 20Example 15 Disabling Automatic Updates of the Local DHCP Service on an AI Server
By default, the local ISC DHCP configuration is automatically updated when AI 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 16 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