Tille - I can see you, read those man pages!   Tille's Site

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.

  1. 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
  2. Share these directories:

  3. 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
  4. 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
  5. Create the sysidcfg file in /export/config and read man sysidcfg for detailed information:

    network_interface=primary	{protocol_ipv6=no
    root_password=encrypted value from /etc/shadow
  6. 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.

  7. Create the export/config/profile file:

    install_type	initial_install
    system_type	standalone
    partitioning	explicit
    filesys		c0t0d0s0	700	/
    filesys		c0t0d0s1	1000	swap
    filesys		c0t0d0s3	3000	/usr
    filesys		c0t0d0s4	2000	/var
    filesys		c0t0d0s5	free	/opt
    filesys		c0t2d0s0	500	swap
    filesys		c0t2d0s1	free	/export/home

    The above is a partitioning scheme for a machine with two harddisks.

  8. Run the check script:

    cp /export/install/Solaris_9/Misc/JumpStart_sample/check /export/config
    cd /export/config

    If all goes well, this creates a rules.ok file, indicating that thus far, your configuration is OK.

  9. Add all your JumpStart clients:

    cd /export/install/Solaris_9/Tools
    ./add_install_client -c servername:/export/config -p servername:/export/config clientname platform

    Platform information can be retrieved from uname -m.

  10. Edit /etc/inetd.conf or your xinet configuration to allow tftp:

    tftp	dgram	udp6	wait	root	/usr/sbin/in.tftpd	in.tftpd -s /tftpboot

    Don't forget to restart inetd after this.

On the client, run boot net - install on the OK prompt.

Post-install scripts

Here are a couple of examples of what you can do after the actual installation of the system: adding a cronjob, changing SSH configuration, ....

Flash images in a JumpStart configuration

No big deal, specify the flash archive in the /export/config/profile file.

© 1995-2010 Machtelt Garrels - tille - Powered by vIm - Best viewed with your eyes - Validated by W3C - Last update 20100511