This procedure describes how to set up a server so you can perform automatic installations of Oracle Solaris over the network.
Although you can install any version of Oracle Solaris 11 on an AI server, the Oracle Solaris 11.3 release includes several server-side enhancements which can only be used if that version is installed on the AI server. If you have an existing Oracle Solaris AI server, see the documentation for that release for AI server configuration instructions. For suggestions on which installation method to use, see Comparing Installation Options.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
In this example net0 is configured using a static IP address.
# ipadm NAME CLASS/TYPE STATE UNDER ADDR net0 ip ok -- -- net0/v4 static ok -- 192.0.2.5/24 lo0 loopback ok -- -- lo0/v4 static ok -- 127.0.0.1/24 lo0/v6 static ok -- ::1/128
If the address is not static, follow the steps below.
# ipadm create-ip net0
# ipadm create-addr -T static -a local=192.0.2.5/24 net0
# ipadm NAME CLASS/TYPE STATE UNDER ADDR net0 loopback ok -- -- net0/v4 static ok -- 192.0.2.5/24
# route -p add default 192.0.2.1
# pkg list installadm pkg list: no packages matching 'installadm' installed
# pkg list -a installadm NAME (PUBLISHER) VERSION IFO install/installadm 0.5.11-0.175.1.0.0.24.0 ---
# pkg install install/installadm Packages to install: 1 Create boot environment: No Create backup boot environment: No Services to change: 2 DOWNLOAD PKGS FILES XFER (MB) SPEED Completed 1/1 72/72 0.3/0.3 0B/s PHASE ITEMS Installing new actions 138/138 Updating package state database Done Updating image state Done Creating fast lookup database Done Reading search index Done Updating search index 1/1
The mDNS service enables AI clients to find replicated install services on other AI servers on the same subnet. For more information about mDNS, see Multicast DNS and Service Discovery in Working With Oracle Solaris 11.3 Directory and Naming Services: DNS and NIS.
# pkg install pkg:/service/network/dns/mdns
To be able to resolve local hosts, change the config/host property of the name-service/switch service to include mdns as a source. For example:
# /usr/sbin/svccfg -s svc:/system/name-service/switch svc:/system/name-service/switch> setprop config/host = astring: "files dns mdns" svc:/system/name-service/switch> select system/name-service/switch:default svc:/system/name-service/switch:default> refresh svc:/system/name-service/switch> quit
# svcadm enable svc:/network/dns/multicast:default
Enabling mDNS in this way ensures that your changes persist through upgrades and reboots. For more information, see the svcadm(1M) man page.