Monday, November 10, 2008

Sun Solaris 10 Network Install (LAN)

My environment:
Sun Blade T6320, Platform Group: sun4v
Install Server: x86 with Sun Solaris 10
Install Server and Client (Target system for installation) sit on the same subnet

Sun Official Documentation:

Solaris 10 6/06 Installation Guide: Network-Based Installations

http://docs.sun.com/app/docs/doc/819-5776

Steps taken applicable to my environment:

1. Create install server
# mkdir -p install_dir_path ;Create a directory to save the image
# cd /cdrom/sol_10_1008_sparc/Solaris_10/Tools ;the keyword here is Tools folder
# ./setup_install_server install_dir_path ;execute the script, it might take some time here


2. Modify ur hosts file (/etc/inet/hosts)at your install server.
Example, if your new client (target system for installation) is named
hostname: newsol10
IP Address: 10.0.0.123
Your hosts file (/etc/inet/hosts) should have the following entry
10.0.0.123 newsol10


3. Create a file with the following path and name -- /etc/ethers and this file should have the following entry
0:14:fc:xx:yy:zz newsol10

You can obtain your machine MAC address by looking at the information while it is booting as below:

Sun Blade T6320 Server Module, No Keyboard
Copyright 2007 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.27.10, 32640 MB memory available, Serial #xxxxyyyy.
Ethernet address 0:14:4f:xx:yy:zz, Host ID: xxxxyyyy.


or

from ILOM, type show /HOST

-> show /HOST

/HOST
Targets:
bootmode
diag

Properties:
autorestart = reset
autorunonerror = false
hypervisor_version = Hypervisor 1.5.6 2007/11/30 08:29
macaddress = 00:14:4f:xx:yy:zz
obp_version = OBP 4.27.10 2007/12/07 10:45
post_version = POST 4.27.10 2007/12/07 11:14

send_break_action = (none)
status = Running
sysfw_version = Sun System Firmware 7.0.9.c 2008/01/14 21:47


Commands:
cd
set
show

->


4. Add system to be installed using add_install_client
# cd /install_dir_path/Solaris_10/Tools
# ./add_install_client newsol10 sun4v

bash-3.00# ./add_install_client newsol10 sun4v
saving original /etc/dfs/dfstab in /etc/dfs/dfstab.orig
Adding "share -F nfs -o ro,anon=0 /solaris10sparc" to /etc/dfs/dfstab
making /tftpboot
enabling tftp in /etc/inetd.conf
Converting /etc/inetd.conf
enabling network/rarp service
enabling network/rpc/bootparams service
updating /etc/bootparams
copying boot file to /tftpboot/inetboot.SUN4V.Solaris_10-1

5. Boot your client into OBP session (OK prompt) and at the ok prompt, type
ok boot net - nowin ;into console mode installation

* I encoutered "timed out waiting for tftp reply" after typing the command above,
i not sure why but after i restart the install server as well as my client, the error goes away.
Result from boot net - nowin

Boot device: /pci@0/pci@0/pci@c/network@0 File and args: - nowin
1000 Mbps full duplex Link up
Requesting Internet Address for 0:14:4f:c7:55:3e
Requesting Internet Address for 0:14:4f:c7:55:3e
1000 Mbps full duplex Link up
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface e1000g1...
Skipped interface e1000g1
Attempting to configure interface e1000g0...
Configured interface e1000g0
Reading ZFS config: done.
Setting up Java. Please wait...
Serial console, reverting to text install
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...

6. Once you reach the stage above, you have successfully completed the network boot and from here,
you can start doing the normal Solaris
installation
.

No comments: