Although you can install any version of Oracle Solaris 11 on an AI server, the Oracle Solaris 11.2 release includes several server-side enhancements which can only be used if that version is installed on the server. If you have an existing Oracle Solaris 11 11/11 or 11.1 AI server, see the documentation for that release for AI server configuration instructions.
For more information, see How to Use Your Assigned Administrative Rights in Oracle Solaris 11.2 Administration: Security Services.
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 -- 129.144.83.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.
# netadm list TYPE PROFILE STATE ncp DefaultFixed online ncp Automatic disabled loc Automatic offline loc NoNet offline loc User offline loc DefaultFixed online
# netadm enable -p ncp DefaultFixed
# ipadm create-ip net0
# ipadm create-addr -T static -a local=129.144.83.5/24 net0
# ipadm NAME CLASS/TYPE STATE UNDER ADDR net0 loopback ok -- -- net0/v4 static ok -- 129.144.83.5/24
# route -p add default 192.144.83.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 Description of Multicast DNS and Service Discovery in Working With Oracle Solaris 11.2 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.