Solaris 10 x86 jumpstart

This entry was posted in Unix and tagged on June 17, 2012, by

Step by step information for creating jumpstart server is as shown below.

1. Create the jumpstart install server

# mkdir /export/install

Insert the solaris 10 dvd into dvd drive of server

# cd /cdrom/cdrom0/Solaris_10/Tools

#./setup_install_server /export/install

Verify the install directory

# du -sk /export/install

Remove the dvd

# cd

# eject

2. Next step is to create Client’s configuration files.

Create the configuration directory

# mkdir /export/config

Create sysidcfg file.

This file should be correctly configure otherwise the jumpstart will abort.

# cd /export/config

# vi sysidcfg

system_locale=en_US

timeserver=localhost

name_service=none

root_password=

network_interface=primary { hostname= clientname

netmask = 255.255.255.0

protocol_ipv6=no

default_route=192.168.9.1 }

:wq

Create the rule file:

This is the file which creates the rules for each client

# cd /export/config

# vi rules

hostname clientname – profile1 –

Save and quit :wq

Create profile file

This is the file that defines how solaris OS is install on client.

# cd /export/config

# vi profile1

install_type                     initial_install

Cluster                           SUNWCXall

format all solaris all

system_type                    standalone

partioning                       explict

filesys                           rootdisk.s0   7000 /

filesys                           rootdisk.s1   1024 swap

Save and quit the file wq.

Run the check script

# cd /export/config

# cp /export/install/Solaris10/Misc/jumpstart_sample/check .

# ./check

If no error rules.ok file is generated.

 

3 . Share the installation and configuration file in /etc/dfs/dfstab

# vi /etc/dfs/dfstab

share -F nfs -o ro /export/config

share -F nfs -o ro /export/config

Save and quit

Start the nfs service

# /etc/init.d/nfs.server start

# shareall

# share

4.Create the client tftp boot file

# cd /export/install/Solaris_10/Tools

# ./add_install_client -d -e -s :/export/install -c :/export/config -p :/export/config/sysidcfg i86pc

After running this command , it will give this following message.

{ ” enabling tftpboot in /etc/inetd.conf

converting /etc/inetd.conf

Enabling tftp in udp6 service

copy boot file to /tftpboot/pxegrub.I86PC.Solaris_10.1

If not already configured, enable PXE boot by creating a macro named xxxxxxxxxxxxxxxx with:

Boot Server IP (Boot SrvA): IP address of server

Boot File (boot file): xxxxxxxxxxxxxxxx  ” }

5. Configure dhcp manager

# /usr/sadm/admin/bin/dhcpmgr

Configure the dhcp server. With dhcpmgr still running create Macros

Click Macros->edit->create

Add bootsrv and bootfile options.

Finish and do exit.

6. When you run add_install_client a script creates menu.1st(file name)

open /tftpboot/menu.1st<bootfile : name> file

and add “-install dhcp” after kernel unix.

7 . Final step is to go on the client system .Change the boot setting.Make it to boot from NIC PXE.

Client will then look for ip address and image and jumptstart will start.

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2017 ©Aceadmins. All rights reserved.