Create automated installer (AI) solaris 11.3
Preparation
IPS Repo is required, Refer How to setup IPS Repo (My Previous Blog)
Download the latest SPARC AI ISO Image from MOS (DOC - 2045311.1) SPARC AI Image
Upload to IPS server and unzip the file
In this setup we are not using DHCP service
2. AI server is using an internal IPS repo
judi-dev-01# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://192.168.1.10/
judi-dev-01#
3. Prepare the server by installing the necessary packages
pkg install install/installadm
pkg install pkg:/service/network/dns/mdns
4. Modify the name serice to search the mdns as well
/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
svcprop system/name-service/switch|grep dns
config/host astring files\ dns\ mdns
5. Enable dns multicast service
svcadm enable svc:/network/dns/multicast:default
6. In addition, verify you have a static IP address configured.
ipadm
7. Create a dedicated zfs, then enable ZFS deduplication and compression on the new pool
zfs create -o mountpoint=/sol.11.3.repo/ai sol.11.3.repo/ai
zfs set dedup=on sol.11.3.repo
zfs set compression=on sol.11.3.repo
zfs get -r dedup sol.11.3.repo
zfs get -r compression sol.11.3.repo
8. Creating a SPARC Install Service Using the downloaded ISO File,
We are not using any DHCP service in this plan
installadm create-service -n s11-sparc -s /var/tmp/SRU/ai_iso/sol-11_3_15_4_0-ai-sparc.iso -d /sol.11.3.repo/ai/s11-sparc -y
-n - service name <svcname>
-s - ISO file path <FMRI/ISO>
-d - destination path <imagepath>
-y - Optional: Suppresses any confirmation prompts
9. Verify the install service was created successfully.
installadm list
installadm list -m
judi-dev-01# installadm list
Service Name Status Arch Type Secure Alias Aliases Clients Profiles Manifests
------------ ------ ---- ---- ------ ----- ------- ------- -------- ---------
default-sparc on sparc iso no yes 0 0 0 1
s11-sparc on sparc iso no no 1 0 0 1
judi-dev-01#
10. Configure the network boot arguments in OBP of a client and boot the client
Configure: the clients IP, default router, subnetmask, hostname, and the location of the wanboot-cgi file to boot it.
Issues the command in OBP
setenv network-boot-arguments host-ip=192.168.1.50,router-ip=192.168.1.1,subnet-mask=255.255.255.0,hostname=judi-dev-01,file=http://192.168.1.10:5555/cgi-bin/wanboot-cgi
exmple command :
{0} ok setenv network-boot-arguments host-ip=192.168.1.50,router-ip=192.168.1.1,subnet-mask=255.255.255.0,hostname=judi-dev-01,file=http://192.168.1.10:5555/cgi-bin/wanboot-cgi
network-boot-arguments = host-ip=192.168.1.50,router-ip=192.168.1.1,subnet-mask=255.255.255.0,hostname=judi-dev-01,file=http://192.168.1.10:5555/cgi-bin/wanboot-cgi
{0} ok
11. Verify the network boot arguments in OBP
printenv network-boot-arguments
exmple command :
{0} ok printenv network-boot-arguments
network-boot-arguments = host-ip=192.168.1.50,router-ip=192.168.1.1,subnet-mask=255.255.255.0,hostname=judi-dev-01,file=http://192.168.1.10:5555/cgi-bin/wanboot-cgi
{0} ok
12. Boot the client from OBP
boot net - install
{0} ok boot net - install
Boot device: /virtual-devices@100/channel-devices@200/network@0 File and args: - install
<time unavailable> wanboot info: WAN boot messages->console
<time unavailable> wanboot info: configuring /virtual-devices@100/channel-devices@200/network@0
<time unavailable> wanboot progress: wanbootfs: Read 368 of 368 kB (100%)
13. Image dump will get copied to the client and prompt for login
Default password in solaris
Login and restart the client server
Client server will boot from disk and ask for basic details like servername, IP, Language , Locale, Timezone, password
Once the details are given the client server is ready
Below are the Oracle Documents referred to setup this Automated Installed in solaris 11.3
1. Automated Installer Install Service to Deploy a Unified Archive (Doc ID 2131241.1)
2. How to Create an Install Service
~
configure auto installer in soalris 11
Soalris 11 auto installer
how to setup solaris 11 automated installer
solaris 11.3 sru download
download solaris 11.3 iso
~
~Judi~
Comments are Welcome J
Do you not need to run installclient between steps 9 and 10? e.g:
ReplyDeleteinstalladm create-client -e -n s11-sparc