Tuesday, March 13, 2012

Jumstart server configuration

Easy way to set up a jumpstart server

share -F nfs -o ro,anon=0 /export/install

1. Setting up a install server

#cd /cdrom/cdrom0/s0/Solaris_2.7/Tools
#./setup_install_server /export/install

2. Setting up a boot server

# ./setup_install_server -b /export/install sun4u

3. Create the rule files

Create a directory which will holds the rules file

#mkdir /jumpstart

Copy the sample configuration files to /jumpstart directory

#cp –r /cdrom/Solaris_2.7/Misc/* /jumpstart

Edit the rule files

There are various rules are available, below is the example of simple rules

any – - any_machine -

The above rules matches any machine and redirect the install request to a profile called any_machine
ceck the rules using the check script

#/check - which will create rules.ok file


4. Create a profile file which contains the configuration information for the client

In the previous section of creating rules, i mentioned the profile name as any_machine so create a file of same name


#vi any_machine

install_type initial_install

system_type server

partitioning explicit

filesys c0t0d0s0 500 /

filesys c0t0d0s1 1000 swap

filesys c0t0d0s3 1000 /usr

filesys c0t0d0s4 1000 /var

filesys c0t0d0s5 1000 /opt

cluster SUNWCall add

5. Create sysidcfg file which contains basic system idenfication information which you need to provide while booting the machine for the first time after installation
. So create this file to avoid the installation goes into interactive mode

# vi sysidcfg

system_locale=en_US

install_locale=en_US

timeserver=localhost

timezone=US/Pacific

network_interface=hme0 {netmask=255.255.255.0}

name_service=NONE

6. Update the /etc/ethers file with the MAC address followed by hostname

#vi /etc/ethers

8:00:50:44:88:12 mercury

Note : Get the MAC address by running banner command at the OK prompt

7. Adding Client
#cd /export/install/Solaris_2.7/Tools
#./add_install_client -e 8:00:50:44:88:12 -s jupiter:/export/install -c jupiter:/jumpstart -p jupiter:/jumpstart mercury sun4u

-e specify the ethernet address of client -s option specify the location of boot image ( As given in setup_install_server)

-c option specify the jumpstart directory path.

-p option specify the sysidcfg file location

jupiter is your jumpstart server

mercury is jumpstart client to be installed.

sun4u is the architecture of client

You need to enter the client through above command at the boot server also

8. Starting the client installation

ok>boot net – install












No comments: