solaris 11 automated installer

1. download iso to /pool/iso/
2. create directory /export/ai/basic_ai
3. define start ip (175) and range (3) for dhcp

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

installadm list

Service Name Alias Of Status Arch Image Path
------------ -------- ------ ---- ----------
basic_ai - on x86 /export/ai/basic_ai
default-i386 basic_ai on x86 /export/ai/basic_ai

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

Adding host entry for 00:50:56:2E:11:4A to local DHCP configuration.

installadm list -c

Service Name Client Address Arch Image Path
------------ -------------- ---- ----------
basic_ai 00:50:56:2E:11:4A i386 /export/ai/basic_ai
00:50:56:2E:11:4B i386 /export/ai/basic_ai

mkdir –p /var/tmp/manifests

cp /export/ai/basic_ai/auto_install/manifest/default.xml /var/tmp/manifests/basic_ai.xml

Modify the/var/tmp/manifests/basic_ai.xml file by using the following:
• AI instance name (ai_instance name): basic_ai
• Auto-reboot (auto_reboot): true
• IPS origin URI: http://192.168.1.161/
• IPS package: entire@latest
• IPS package: solaris-small-server

vi /var/tmp/manifests/criteria_basic_ai.xml
'<'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'>'

Add the manifest to the basic_ai service

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

Now add a sc profile for automatic sysid configuration

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

installadm list -m
Service Name Manifest Status
------------ -------- ------
basic_ai basic_ai
orig_default Default
default-i386 orig_default Default

installadm list -m -n basic_ai

Manifest Status Criteria
-------- ------ --------
basic_ai mac = 00:50:56:2E:11:4A - 00:50:56:2E:11:4B

orig_default Default None

----
if you change any of the manifest entries...update the manifest

installadm update-manifest -n basic_ai -f /var/tmp/manifests/basic_ai.xml

- boot the client -
default login: jack - jack

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.