Twitter

SUN Jumpstart

SUN jumpstart notes

jumpstart Logging
\var\tmp

Jumpstart activate on source server
ssh
# init 0
telnet -lom
sc> break or on SUN keyboard Stop – A
sc> console -f

ok> boot net – install

or

sc> reset
sc> break (paar keer)
sc> console -f
ok> boot net – install

HAB Add jumpstart Node:
./addhabnode.sh nlnwhabgs03-e0 192.168.0.195 00:03:ba:5a:2c:f9 cm03 gs_prof
./addhabnode.sh nlnwhabwe03-e0 192.168.0.194 00:03:ba:5a:31:6d cm03 we_prof

#CM02
./addhabnode.sh deduhabbe01-e0 10.2.211.4 00:03:ba:5a:2d:21 10.2.211.11 be_prof

HAB Jumpstart flow:
CM01
– in.rarp process
/etc/ethers (MAC -> hostname )
/etc/hosts (hostname -> IP adres)
– inetd deamon must run!
– rpc.bootparam process
/etc/bootparams (IP adres -> hostname)
– tftpboot (Solaris 2.8 Image)

cd /opt/jumpstart/jumpstart
/rules
– hostname -> hab profile
/rules.ok
– Syntax check of rules file.
– run check.sh to create this file.
/ – Create disk partitie
– Install OS
– Delete not needed SUN packages
/complete.sh
– Create jumpstart_profile file
– Set Console cable settings
– Create cmg user
– Set mac address for multipathing
– Set not router
– Copy /config/host file.
– Copy /config/netmasks file.
– Copy /config//defaultrouter file
– Copy /config/snmpd.conf file
– Copy /config/syslog.conf file
– Enable login as root without prompt for password on console
– Disable keyboard break
– Append /usr/local/bin to PATH
– Uncomment SUPATH
– Append /usr/local/sbin and /usr/local/bin to SUPATH
– Make sysidcfg readonly for root
– Set some TCP/IP Settings
– Copy /scripts/general/S99_stage_startup -> /etc/rc2.d
– Copy 0_stage /etc/jumpstart_stage
– Copy /config/bashrc -> .bashrc
– Copy /config/profile -> .profile
– Insert correct hostname in nodename
/scripts/general/security_before.sh
– Allow root to set yp ftp sessions
– Set display locktimeout to 15 minutes
– Set maximun number of login to 5
– Create logfiles for su and login
– Turn off useless lines in inetd.conf
– Set permission and owner of xhost file
– Set kernel parameters
– Prevent IP Spoofing
– Switch off S88sendmail
– reboot

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>