solaris 11 exercise 8 automated installer

You need an iso (download it) or build it using
distribution constructor

1. create service (installadm create-service) - ( jumpstart: setup_install_server)
- specify servicename (-n)
- specify source iso (-s)
- specify ip and range for dhcp (-i -c)
- specify destination (-d)

# installadm create-service -n basic_ai \
> -s /software/iso/sol-11-1111-ai-x86.iso \
> -i 192.168.1.175 -c 3 -d /export/ai/basic_ai

2. create client (installadm create-client) - (jumpstart: add_install_client )
- specify mac address (-e)
- specify service name (-n) (see 1)

# installadm create-client -e \
> 00:50:56:2E:11:4A -n basic_ai

3. create manifest (mkdir and cp) ( jumpstart: profiles like host_class )
- create directory to store manifest
- copy default manifest to new dir and use
servicename (see 1)

# mkdir –p /var/tmp/manifests
# cp /export/ai/basic_ai/auto_install/manifest/default.xml \
> /var/tmp/manifests/basic_ai.xml

4. create criteria (vi) in manifest dir (see 3) ( jumpstart: rules )
- create criteria xml file

# vi /var/tmp/manifests/criteria_basic_ai.xml
(leave out the single quotes)
‘<'ai_criteria_manifest'>‘
‘<'ai_criteria name="mac"'>‘
‘<'range'>‘
00:50:56:2E:11:4A
00:50:56:2E:11:4B
‘<'/range'>‘
‘<'/ai_criteria'>‘
‘<'/ai_criteria_manifest'>‘

5. add manifest (see 3) to server (see 1) (installadm create-manifest)
- specify service name (-n) (see 1)
- specify manifest xml file (-f) (see 3)
- specify criteria xml file (-C) (see 4)

# installadm create-manifest –n basic_ai \
> -f /var/tmp/manifests/basic_ai.xml \
> -C /var/tmp/manifests/criteria_basic_ai.xml

6. create profile (sysconfig create-profile) (jumpstart: sysidcfg )
- specify xml filename to store profile in (-o)

sysconfig create-profile -o sc.xml

7. add profile to service (installadm create-profile)
specify servicename (-n) (see 1)
specify profile xml file (-f) (see 6)
specify profilename (-p)
specify criteria xml file (-C) (see 4)

installadm create-profile -n basic_ai -f /var/tmp/manifests/sc.xml \
-p client_profile -C /var/tmp/manifests/criteria_basic_ai.xml

If you change the manifest entries in the xml file,
run, update the manifest
# installadm update-manifest -n basic_ai \ -f /var/tmp/manifests/basic_ai.xml

(done - boot the client)

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.