Setting up a Jumpstart server in 10 steps
First set up your NIS server, see setting up NIS in 10 steps. Don't forget to run make again in /var/yp if you had to add/change /etc/ethers or /etc/hosts.
Edit /etc/dfs/dfstab to share the configuration and installation directories over NFS, create these directories if they should not exist:
share -F nfs -o ro,anon=0 /export/config
share -F nfs -o ro,anon=0 /export/install
Share these directories:
shareall
Insert Installation CD 1 of 2 and start spooling the image to your install directory:
cd /cdrom/cdrom0/s0/Solaris_9/Tools
./setup_install_server /export/install
Eject the first CD, insert Installation CD 2 of 2 to complete your image:
cd /cdrom/cdrom0/Solaris_9/Tools
./add_to_install_server /export/install
Create the sysidcfg file in /export/config and read man sysidcfg for detailed information:
network_interface=primary{protocol_ipv6=no
netmask=255.255.255.0
default_route=10.0.0.254}
security_policy=none
name_service=none
timezone=MET
system_locale=en_US
timeserver=10.0.0.10
root_password=encrypted value from /etc/shadow
Edit the rules file in /export/config, one line per client:
hostname clientname pre-installscript profile post-installscript
Where pre-installscript and post-installscript are in the /export/config directory. Post-installation scripts can be used to copy third partysoftware on your freshly installed machine.
Create the export/config/profile file:
install_typeinitial_install
system_typestandalone
partitioningexplicit
filesysc0t0d0s0700/
filesysc0t0d0s11000swap
filesysc0t0d0s33000/usr
filesysc0t0d0s42000/var
filesysc0t0d0s5free/opt
filesysc0t2d0s0500swap
filesysc0t2d0s1free/export/home
The above is a partitioning scheme for a machine with two harddisks.
Run the check script:
cp /export/install/Solaris_9/Misc/JumpStart_sample/check /export/config
cd /export/config
./check
If all goes well, this creates a rules.ok file, indicating that thus far, your configuration is OK.
Add all your JumpStart clients:
cd /export/install/Solaris_9/Tools
./add_install_client -c servername:/export/config -p servername:/export/config clientname platform
Example:
./add_install_client -e 8:0:20:8c:a7:5c -s don:/export/install -c don:/jumpstart -p \
don:/jumpstart eplanet sun4u
Platform information can be retrieved from uname -m.
Edit /etc/inetd.conf or your xinet configuration to allow tftp:
tftpdgramudp6waitroot/usr/sbin/in.tftpdin.tftpd -s /tftpboot
Don't forget to restart inetd after this.
On the client, run boot net - install on the OK prompt.
|