Sparc Jumpstart install using Solaris 10 3/05 This is notes and procedure I used to do a Solaris 10 sparc jumpstart install. dacrud@gmail.com - Derek Crudgington - INTRODUCTION PART I: COPY CDS TO HARD DRIVE PART II: JUMPSTART CONFIG PART III: CLIENT SETUP & NFS PART IV: CLIENT BOOT PART V: PROBLEMS I RAN IN TO ------------------------------------------------------------------------------------ INTRODUCTION This is the exact process I used to setup a Solaris 10 sparc jumpstart install. Sparc jumpstart is a breeze compared to x86. This really only took me about 30 minutes to setup. The hardware setup I used was: SERVER: Sun E4500 attatched to A5100 IP: 192.168.1.201 CLIENT: Sun Ultra10 IP: 192.168.1.202 ------------------------------------------------------------------------------------ PART I: COPY CDS TO HARD DRIVE On the server you are making the install server, make a directory to store the CD contents: # mkdir /export/home/installserver Put in the Solaris 10 sparc CD 1 and goto the Tools folder (/cdrom/cdrom0/s2/Solaris_10/Tools), run: # ./setup_install_server /export/home/installserver This will see if you have enough space there, and if so copy the CD image to the disk. It will take a while. Eject the CD when it's done: # eject Put in Solaris CD 2 and navigate to: # cd /cdrom/cdrom0/Solaris_10/Tools/ Now run ./add_to_install_server to add Solaris 10 CD2 to the path: You can repeat these steps for each Solaris 10 CD you want to install, I went ahead and did all of them. # ./add_to_install_server /export/home/installserver/ ------------------------------------------------------------------------------------ PART II: JUMPSTART CONFIG We now need to setup the jumpstart directory and put the necessary files in it to perform a custom jumpstart install. # mkdir /jumpstart Copy the sample jumpstart configurations to the /jumpstart folder: # cp -r /export/home/installserver/Solaris_10/Misc/jumpstart_sample/* /jumpstart Now we need to create a profile for the system, this is used to configure the disk setup and packages for the client. It is one of the files we just copied over. # cat /jumpstart/any_machine install_type initial_install system_type standalone partitioning default cluster SUNWCxall cluster SUNWCxgl delete filesys any 500 swap Explanation: install_type initial_install - This is included in every profile. system_type standalone - This defines to be installed as a standalone system. partitioning default - This tells it to determine the slices by the software size. The size of swap is set to 512 Mbytes and is installed on any disk. cluster SUNWCxall - This tells what cluster of packages to install. SUNWCxall is Entire Solaris Software Group Plus OEM Support. SUNWCall is Entire Solaris Software Group. SUNWCprog is Developer Solaris Software Group. SUNWCuser is End User Solaris Software Group. SUNWCreq is Core System Support Software Group. SUNWCrnet is Reduced Network Support Software Group. cluster SUNWcxgl delete - This tells it to not install package SUNWcxgl. filesys any 500 swap - This tells it to place the swap slice on any slice with size 500MB. This is how mine looks, but you can modify the settings to specify your needs, check: http://docs.sun.com/app/docs/doc/817-5506/6mkv6ki9s?a=view#preparecustom-97 for a good explanation of every option, you can even setup RAID configuration during install. Now that the profile is done, we need to create the sysidcfg file. This file answers all of the network, timezone, name service questions. It won't be in the /jumpstart directory so we have to create it. # vi /jumpstart/sysidcfg system_locale=en_US timezone=US/Central timeserver=192.168.1.201 network_interface=primary {netmask=255.255.255.0} terminal=dtterm name_service=NONE Check http://docs.sun.com/app/docs/doc/817-5504/6mkv4nh20?a=view for an explanation of all the options. Now we need to setup the rules file. This is a text file used to create the "rules.ok" file. This is a look up table that has rules defining how install clients are installed based on their system attributes. It is already in the directory, you need to edit it and make sure it only contains the line "any - - any_machine -" and all other lines are commented out. After that, in the /jumpstart directory, run: # ./check Validating rules... Validating profile any_machine... The custom JumpStart configuration is ok. Now on to setting up the client. ------------------------------------------------------------------------------------ PART III: CLIENT SETUP & NFS Add the client to the hosts file. # echo "192.168.1.202 sparc" >> /etc/hosts # cd /export/home/installserver/Solaris_10/Tools We need to use the ./add_install_client to add clients to the jumpstart Here's the options: -e = mac address of client -s = ip/host:dir of server with installation image -c = ip/host:dir of jumpstart server configuration -p = ip/host:dir of sysidcfg file sparc = client name sun4u = platform group # ./add_install_client -e 8:0:20:b0:c5:b8 -s 192.168.1.201:/export/hom e/installserver -c 192.168.1.201:/jumpstart -p 192.168.1.201:/jumpstart sparc s un4u making /tftpboot updating /etc/bootparams copying inetboot to /tftpboot Now check to make sure NFS is sharing everything. For some reason when I did this last command it shared '/export/home/installserver/Solaris_10/Tools/Boot' which is wrong and my jumpstart failed, so then I modified /etc/dfs/dfstab and changed it to '/export/home/installserver' and then also you need to add share -F nfs -o ro,anon=0 /jumpstart to /etc/dfs/dfstab and: # unshareall # shareall To make sure they are both sharing: # dfshares RESOURCE SERVER ACCESS TRANSPORT beast:/export/home/installserver beast - - beast:/jumpstart beast - - ------------------------------------------------------------------------------------ PART IV: CLIENT BOOT After all is setup correctly, tell your client to boot off the network card and watch it go into the Solaris install process. # boot net - install ------------------------------------------------------------------------------------ PART V: PROBLEMS I RAN IN TO: On jumpstart install, it errored with: cat: cannot open /cdrom/.cdtoc cat: cannot open /cdrom/.cdtoc expr: syntax error This was because I had '/export/home/installserver/Solaris_10/Tools/Boot' shared which needed to be '/export/home/installserver'.