Configuring static IP client for Automatic Installer (Solaris 11)

In official Oracle documentation, you require a DHCP in order to configure AI server for your environment. Following the steps below will allow you to use static IP to boot and install from an AI server!

 

# installadm create-service -n s11-sparc -a sparc -y
Warning: Service svc:/network/dns/multicast:default is not online.
Installation services will not be advertised via multicast DNS.

Creating service from: pkg:/install-image/solaris-auto-install
Download: install-image/solaris-auto-install … Done
Install Phase … Done
Package State Update Phase … Done
Image State Update Phase … Done
Reading Existing Index … Done
Indexing Packages … Done

Creating service: s11-sparc

Image path: /export/auto_install/s11-sparc

Service discovery fallback mechanism set up
Creating SPARC configuration file
Refreshing install services
Warning: mDNS registry of service s11-sparc could not be verified.

Creating default-sparc alias.

No local DHCP configuration found. This service is the default
alias for all SPARC clients. If not already in place, the following should
be added to the DHCP configuration:
Boot file : http://10.4.2.110:5555/cgi-bin/wanboot-cgi

Service discovery fallback mechanism set up
Creating SPARC configuration file
Refreshing install services
Warning: mDNS registry of service default-sparc could not be verified.

# installadm list -m
Service Name Manifest Status
———— ——– ——
default-sparc orig_default Default
s11-sparc orig_default Default

# installadm export -n default-sparc -m orig_default -o /export/home/admin/default.xml

Modify the AI manifest to boot from the AI server
# vi /export/home/admin/default.xml

<publisher name=”solaris”>
<origin name=”http://10.4.2.110:80″/&gt;
</publisher>

# installadm update-manifest -n default-sparc -f /export/home/admin/default.xml

# installadm update-manifest -n s11-sparc -f /export/home/admin/default.xml

Add AI client MAC address to the AI Server
# installadm create-client -e 00:14:4f:fb:7:de -n s11-sparc (adding clients from AI server)

 

On the AI client, run the following commands at the OKP level.

# ok setenv network-boot-arguments host-ip=10.4.2.69,router-ip=10.4.2.1,subnet-mask=255.255.255.0,hostname=asiapcsovn2,file=http://10.4.2.110:5555/cgi-bin/wanboot-cgi

# ok boot net – install

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s