custom jumpstart on solaris x86 machine - an overview

Download CUSTOM JUMPSTART ON SOLARIS x86 MACHINE - AN OVERVIEW

If you can't read please download the document

Upload: anilshenoy

Post on 23-Nov-2014

243 views

Category:

Documents


2 download

DESCRIPTION

This ppt will just give you an idea of what actually JUPSTART installation is...

TRANSCRIPT

JUMPSTART INSTALLATION ON SOLARIS x86 MACHINE

- Anil Shenoy

INDEX

Introduction Jumpstart scenario Installation steps Configuring DHCP manager Task map before going to Jumpstart installation Precautions to be taken before installation

INTRODUCTIONWhat is it? - a custom mode during installation of Solaris Where is it used? - on servers Why? - automated installation on many computers at the same time An example? - installation of Solaris on 100 systems, 70 are SPARC for engineering group and 30 are x86 for marketing group

JUMPSTART INSTALLATION SCENARIO

1.Create a jumpstart installation serverCreate an installation directory on the serverbash-3.00# mkdir -p /export/install

run setup_install_server command - populate the installation directory with solaris_10 toolsbash-3.00# cd /cdrom/cdrom0/Solaris_10/Tools bash-3.00# ./setup_install_server /export/installVerifying 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... Install Server setup complete

2.Create the client configuration files

Create sysidcfg file Create rules file Create a begin script Create a profile file Create a finish file Run the check script and validate the rules and

profile

sysidcfg file[root@server/export/config/sysidcfg]#vi sysidcfgsystem_locale=en_US.UTF-8 timezone=ASIA/Calcutta timeserver=localhost terminal=xterm name_service=NONE security_policy=NONE root_password=FbAMj6Sb9pxx network_interface=ife0 {hostname=client netmask=255.255.255.0 protocol_ipv6=no default_route=192.168.1.0}

Rules and profile file[root@server/export/config/]#vi rulesarch i386 begin profile finish

[root@server/export/config/]#vi profileinstall_type cluster initial_install SUNWCXall

fdisk all solaris all partitioning filesys filesys filesys explicit rootdisk.s0 rootdisk.s1 rootdisk.s7 6144 1024 / swap

10240 /state/partition1

system_type standalone

Verifying the files and scripts[root@server /]# cd /export/config [root@server/export/config/]# cp /export/install/Solaris_10/Misc/jumpstart_sample/check . [root@server/export/config/]# ./checkValidating rules... Validating profile profile1... Validating profile profile2... The custom JumpStart configuration is ok.

3.Share the installation and configuration directoriesEdit the dfstab fileshare -F nfs -o ro,anon=0 /export/install share -F nfs -o ro,anon=0 /export/config

Start the nfs server[root@server /]# /etc/init.d/nfs.server start OR [root@server /]#svcadm enable svc:/network/nfs/server:default

Share the directories[root@server /]#shareall

Verify file sharing[root@server /]#showmount -e localhost

4.Create the client tftpboot filesUsing add_install_client command[root@server/]# /cdrom/cdrom0/Solaris_10/Tools]# ./add_install_client \ -d \ -e 00:0a:e4:37:16:4d \ -s 192.168.1.24:/export/install \ -c 192.168.1.24:/export/config \ -p 192.168.1.24:/export/config/sysidcfg1 i86pcenabling tftp in /etc/inetd.conf copying boot file to /tftpboot/pxegrub.I86PC.Solaris_10-1 If not already configured, enable PXE boot by creating a macro named 01000AE429C1FD with: Boot server IP (BootSrvA) : 192.168.1.24

Boot file(BootFile) : 01000AE429C1FD

5.Configure and Run the DHCP Server- Network address(base add.) - Server name - Server IP - Ethernet addresses of the client (from BIOS mode or OS) - Bootfile name - GUI=/usr/sadm/admin/bin/dhcpmgr

a.Rundhcpmgr: Select Configureasa DHCPServer andclickOK.

b.TheDHCP ConfigurationWizard appears: c.SelectTextFiles andclickNext

d.Verifythe storagepathand clickNext

.e.Selecta nameserviceand clickNext

f.Verifythe lease informationand clickNext.

g.VerifytheDNS domain informationand clickNext.

ADDRESS->EDIT->ADDRRESS WIZARD

Final clean up

In /tftpboot/menu.lst = - install dhcp

Important Factors responsible for the boot upBootSrvA - the IP address of the boot (TFTP) server Trival FTP - /tftpboot BootFile - the filename of the NBP executable located on the boot server,downloaded via TFTP, and executed by PXE. PXE is an envi' to boot computers using n/w interface independent of data storage devices or existing OS

Task map before going for a hands-off Jumpstart installation

PrecautionsDetermine if you need to preserve an existing operating system and user data. Check if the system has enough disk space for the Solaris software. Prepare the system for custom JumpStart installation -sysidcfg,rules,profile Prepare optional custom JumpStart featuresbegin,finish scripts or files Prepare to install the Solaris software from the network boot and set priority to ethernet Perform an installation or upgrade

Post InstallationThe following are the log files for the JumpStart installation: /var/sadm/system/logs/ - install_log - begin_log - finish_log - sysidtool.log

THANK YOU