Upload
automationqtp123
View
7
Download
2
Embed Size (px)
Citation preview
Jump Start – configuration.
Step :1
Dump the cd into Systems Hard Disk.
# cd /export# mkdir install# mkdir config
Please insert the first cd in cdrom drive.
In Sparc platform# cd /cdrom/cdrom0/s0/Solaris_9/Tools
In Intel platform# cd /cdrom/cdrom0/s2/Solaris_9/Tools
Run the following script to dump the first cd into the hard disk.
# ./setup_install_server /export/install
Complete the operation, Please copy the configuration template from cdrom into hard disk.
# cd /cdrom/cdrom0/s0/Solaris_9/Misc/jumpstartsample
# cp –r * /export/config
Eject the first cd, Insert the second cd into the cdrom.
# cd /cdrom/cdrom0Solaris_9/Tools# ./add_to_install_server /export/install
Complete the process eject the cd.
Step: 2
Edit the /etc/hosts file and add the client system entry.
# vi /etc/hosts
<ip address> <client system name>
Save & exit.
Step: 3
Edit the /etc/ethers file and the client mac address and system name.
# vi /etc/ethers
<client system mac address> <client system name>
Step: 4
Set the Configuration file in /export/config.
Files : 1. rules2. host_class3. finish_script4. sysidcfg.
Some of the files already with the directory. Some of them new. Expected entries in the files are…
1) rules file.
# mv rules rules.bak# vi rules
The expected entry is.
hostname <client system name> - host_class finish_script
Save & exit.
2) host_class
The expected entries are
# vi host_classinstallation_type initial_installationsystem_type standalonepartitioning explicitcluster SUNWCXall# This part based on user’s hard disk space.filesys c0t1d0s0 <space> <mount point>filesys c0t1d0s1 <space> <mount point>filesys c0t1d0s3 <space> <mount point>filesys c0t1d0s4 <space> <mount point>filesys c0t1d0s7 <space> <mount point>
3) finish_script
The expected entries.
# vi finish_script
touch /a/noautoshutdownrm /a/etc/defaultdomainrm –r /a/var/yp/binding/<domainname>cp /a/etc/nsswitch.files /a/etc/nsswitch.conf
Save & exit.
# chmod 755 finish_script.
4) sysidcfg
The expected entries.
# vi sysidcfg
system_locale=en_UStimezone=US/Mountainsecurity_policy=nonenetwork_interface=primary {protocol_ipv6=no netmask=255.255.0.0}
save & exit.
Finally run the check script and check your configuration. The script check the rules and host_class files.
# ./check
The script check the files and create the rules.ok file under the configuration directroty /export/config.
Step: 5
Share all the resources involving in the jumpstart.# vi /etc/dfs/dfstabAdd the following shares.
share –o anon=0 /export/configshare –o anon=0 /export/install
stop and start the nfs server.
# /etc/init.d/nfs.server stop# /etc/init.d/nfs.server start
Step: 6
# cd /export/install/Solaris_9/Tools# ./add_install_client –c <config system name>:/export/config -p <config
system name>:/export/config <client system name> <platform arch>
Step: 7
In the client system
In sparc
Go to the ok prompt, run the following boot command.
Ok boot net - install
In Intel.
Select the boot device, network.