Example of Jumpstart installation

6

Click here to load reader

Transcript of Example of Jumpstart installation

Page 1: Example of Jumpstart installation

JUMPSTART (N/W)INSTALLATION

Login as a root to the machine where we have to dump the jumpstart installatin image

# mkdir /export/install in this dir copy the cd/dvd image . Command is…. #cd /cdrom/cdrom0/s0/Solaris_10/Tools #./setup_install_server /export/install

This will take min 1hr 30 min to copy the image from media. Then create the config dir under /export #mkdir /export/config

share the /export/install and /export/config #vi /etc/dfs/dfstab share –F nfs -o ro,anon=0 /export/install share –F nfs -o ro,anon=0 /export/config :wq start the nfs service. #/etc/init.d/nfs.d/nfs.server start check with the command #share or #exportfs it should show the /export/install and /export/config

if it is not showing , then stop the nfs service and start it again eg. #/etc/init.d/nfs.d/nfs.server stop #/etc/init.d/nfs.d/nfs.server start

# vi /export/config/sysidcfg

Page 2: Example of Jumpstart installation

network_interface=primary {protocol_ipv6=no,netmask=255.255.255.0, default_route=192.168.1.3 security_policy=name timezone=Singapore system_locale=eng_US timeserver=localhost root_password=encoded from /etc/shadow :wq above default_route= ip address of jumpstart server’s .

#vi /export/config/rules hostname t1000 – profile1 – :wq above hostname t1000 is the hostname of client machine.

#vi /export/config/profile1 install_type initial_install system_type standalone partitioning explicit filesys c0t0d0s0 10000 / filesys c0t0d0s1 8000 swap filesys c0t0d0s2 5000 /opt cluster SUNWCall :wq above no of partition can be increase or decrease depends upon the customer requirement. But entry format will be same. Eg. Filesys c0t0d0s3 5000 /var get the client machine’s HDD information eg. C0t0d0 or c0t1d0 etc.

# cd /export/install/Solaris_10/Misc/jumpstart_sample #cp check /export/config #cd /export/config #./check we should get jumpstart configuration ok. Message

Page 3: Example of Jumpstart installation

as well as ./check script will create rules.ok entry in /export/config

#vi /etc/hosts 192.168.1.2 serverhostname 192.168.1.3 clienthostname :wq #vi /etc/ethers 0:14:4f:2c:db:ae clienthostname :wq 0:14:4f:2c:db:ae is the client machine MAC address.

#cd /export/install/Solaris_10/Tool #./add_install_client –c serverthostname:/export/config –p serverhostname:/export/config clienthostname sun4v

note: sun4v is the type of architecture of the client machine it depends on the machine architecture.

Then go to ok promp on clinet machine and type Ok boot net And select the required option step by step

Page 4: Example of Jumpstart installation