DevTech101

DevTech101

Server Config

mkdir /jumpstart/sol10-0106; mount /jumpstart
mount /cdromt (sol10) ; cd /cdrom/sol_10_106_sparc/s0/Solaris_10/Tools
./setup_install_server /jumpstart/sol10-0106
mkdir /jumpstart/sol10-0106/Patches
  1. copy Solaris latest cluster files to /jumpstart/sol10-0106/Patches; unzip it
  2. add to /etc/dfs/dfstab share -F nfs -o ro,anon=0 -d “Jumpstart” /jumpstart
  3. run shareall (run share to make sure)
  4. on solarisk10 svcsadm tftpd start
  5. make sure rarp is running if not start it with /usr/sbin/in.rarpd -a

Cleint Config

  1. Create directory /jumpstart/installs/sol10-0910/conf
  2. Crate files in /jumpstart/installs/sol10-0910/conf — rules sysidcfg t1000_profile1

cat rules

hostname client1 - t1000_profile1 install_patches.sh

cat sysidcfg

name_service=NONE
root_password=Ow.BlB0E5quv2
system_locale=en_US
timeserver=localhost
terminal=vt100
security_policy=NONE
network_interface=PRIMARY {netmask=255.255.255.0 protocol_ipv6=no default_route=10.10.10.1}
timezone=US/Eastern

cat t1000_profile1

install_type initial_install
system_type server
cluster SUNWCall
partitioning explicit
filesys rootdisk.s0 2048 /
filesys rootdisk.s1 10240 /var
filesys rootdisk.s3 8192 swap
filesys rootdisk.s4 4 unnamed
filesys rootdisk.s5 8192 /opt
filesys rootdisk.s6 free /usr

ZFS boot

install_type initial_install
cluster SUNWCall
pool rpool auto 8g auto mirror any any
bootenv installbe bename solaris10_u6 dataset /var
  1. Add to /etc/hosts entry for client
    1. Example grep client /etc/hosts
    2. 10.10.10.11 client1 client1.domain.com
  2. cp /jumpstart/installs/sol10-0910/Solaris_10/Misc/jumpstart_sample/check /jumpstart/installs/sol10-0910/conf/.
    1. Note: Only for new jumpstart installs
  3. run ./check (shuld bulid a rules.ok file)

Note: In my config I had to copy the rules.ok and sysidcfg to /jumpstart/.

  1. On the new client run banner at the ok prompt to get the MAC address t1000 config (up to data)
/jumpstart/installs/sol10-0910/Solaris_10/Tools/add_install_client -e 0:14:4f:2a:82:3c \
-c jumpstart:/jumpstart/installs/sol10-0910/conf \
-s jumpstart:/jumpstart/installs/sol10-0910 \
-p jumpstart:/jumpstart/installs/sol10-0910/conf vista1 sun4v

v210 config (up to data)

/jumpstart/installs/sol10-0910/Solaris_10/Tools/add_install_client -e 0:3:ba:3b:ed:a7 \
-c jumpstart:/jumpstart/installs/sol10-0910/conf \
-s jumpstart:/jumpstart/installs/sol10-0910 \
-p jumpstart:/jumpstart/installs/sol10-0910/conf dns2 sun4u
  1. on the cleint run boot net – install

Solaris Wan Boot

Install the wanboot jumpstart server

lofiad -a sola10_sparc_u9.iso
mount -F hsfs /dev/lofi/1 /mnt
mkdir -p /waninstall /wanboot/sol10-1009
cd /mnt/Solaris_10/Tools

First install directory – Second wanboot directory

[root@jumpstart] /mnt/Solaris_10/Tools # ./setup_install_server -w /waninstall /wanboot/sol10-1009
Verifying target directory...
Calculating the required disk space for the Solaris_10 product
Calculating space required for the installation boot image
Copying the CD image to disk...
Copying Install Boot Image hierarchy...
Copying /boot netboot hierarchy...
Installing /mnt/boot/sparc.miniroot as /waninstall/miniroot
WAN boot Image creation complete
 
        The WAN boot Image file has been placed in
                /waninstall/miniroot
 
        Ensure that you move this file to a location
        accessible to the web server, and that the
        WAN boot configuration file wanboot.conf(4)
        for each WAN boot client contains the entries:
 
                root_server=
                        where  is an HTTP or HTTPS URL
                        scheme pointing to the location of the
                        WAN boot CGI program
 
                root_file=
                        where  is the path and file
                        name, relative to the web server
                        document directory, of 'miniroot'
 
        You should also make sure you have initialized
        the key generation process by issuing (once):
 
                # /usr/sbin/wanbootutil keygen -m
 
Install Server setup complete

If you’re stuck on a network that has no DHCP but you do have a Jumpstart server, you can still successfully install your OS.

The easiest way is to boot your server off a Solaris CD or DVD and make the necessary changes to GRUB on the fly. Choose any of the GRUB boot options and edit it to look like the following:

min_mem64 1024
ifconfig --address=client_address --gateway=client_gateway --mask=client_netmask --server=boot_server_address
root (nd)
kernel$ /I86PC.Solaris_10-1/multiboot kernel/unix -B install_media=boot_server_address:/export/install/media/sol10u9_x86,install_boot=boot_server_address:/export/install/media/sol10u9_x86/boot - nowin install
module$ /I86PC.Solaris_10-1/x86.miniroot

References
Soalris 11 jumpstar

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: