C H A P T E R  8

Installing the Software

This chapter gives instructions on installing the Solaris operating environment and the Netra CT server software on a Netra CT server. You will be installing software from the Solaris operating environment CDs or DVD.



Note - The Solaris operating environment is ordered and shipped separately from the Netra CT server.



If you have a Netra CT 810 server and you have a DVD-ROM drive installed in or connected to your server, you can install the software using the instructions in To Install the Solaris Operating Environment. You can also install the software onto a Netra CT 410 server using these instructions, but only if you have an external DVD-ROM drive connected to your server; there is no internal DVD-ROM drive available for the Netra CT 410 server.



Note - You must install the Solaris operating environment using the Solaris CDs or DVD; do not attempt to install the Solaris operating environment onto your Netra CT server using JumpStart.




procedure icon  To Install the Solaris Operating Environment

1. Power on the Netra CT server.

Refer to Powering On the Server for those instructions.

2. Make the necessary connections to the TTY A port on the host CPU or CPU transition card on your server.

Refer to Connecting a Terminal Console to the Server.



Note - Do not install the Solaris operating environment through the alarm card or alarm transition card.



3. Verify that you are at the OpenBoot (ok) prompt.

When the server is finished shutting down, the ok prompt is displayed.

4. Insert the Solaris operating environment DVD or CD 1 of 2 into the DVD-ROM drive.

5. At the ok prompt, enter the following command to boot from the Solaris operating environment CD:

ok boot cdrom

6. Through the TTY A port on the host CPU or CPU transition card, install the Solaris operating environment on every server in the chassis.

You must install the Solaris operating environment on every Netra CT server that you have installed in the chassis in order for that server to function. Refer to the documentation that you received with the Solaris operating environment for those installation instructions. If you are installing Solaris using the Solaris CDs, you may have to insert several CDs into the DVD-ROM drive in order to completely install the Solaris operating environment.

When installing the Solaris operating environment onto your Netra CT servers, you must keep the following things in mind:

1. At the beginning of the installation process, you will be asked if you want to go through a Default Install or a Custom Install. Choose Custom Install in this screen.

2. At the product selection portion of the installation process, you will see the following screen:

Select the products you would like to install.
 
 [ ]  0  Solaris 9 Documentation 1of2    0.0 MB
 [ ]  1  Solaris 9 Documentation 2of2    0.0 MB
 [ ]  2  Solaris 9 Extra Value Software    0.0 MB
 [ ]  3  Solaris 9 Software Supplement CD    0.0 MB
 [ ]  4  Solaris Software Companion CD    0.0 MB

Choose at least the Solaris 9 Software Supplement CD selection in this screen. You can choose any of the remaining selections in this screen as well, if you wish.

3. At the product component portion of the installation process, you will see the following screen:

Select which product components to install with the system. 
Components marked with an [X] will be installed.
 
 [ ]  3     Solaris 9 Software Supplement CD    0.0 MB
 [ ]  3.0   Java3D 1.2.1_04    18.3 MB
 [ ]  3.1   OpenGL 1.2.2    88.2 MB
 [ ]  3.2   PC launcher 1.0.1/PC file viewer 1.0.1    8.6 MB
 [ ]  3.3   RSC 2.2.1    8.8 MB
 [ ]  3.4   Solaris On Sun Hardware Documentation    70.8 MB
 [ ]  3.5   ShowMe TV 1.3    22.4 MB
 [ ]  3.6   SunATM 5.1    9.1 MB
 [ ]  3.7   SunFDDI PCI 3.0    1.4 MB
 [ ]  3.8   SunFDDI SBus 7.0    1.5 MB
 [ ]  3.9   Sun Fire 880 FC-AL Backplane Firmware 1.0    0.6 MB
 [ ]  3.10  System Management Services 1.2    45.0 MB
 [ ]  3.11  SunForum 3.1    19.2 MB
 [ ]  3.12  SunHSI PCI 3.0    0.5 MB
 [ ]  3.13  SunHSI SBus 3.0    0.5 MB
 [ ]  3.14  SunVTS 5.0    59.3 MB
 [ ]  3.15  SSP 3.5    32.5 MB
 [ ]  3.16  Capacity on Demand 1.0    1.1 MB
 [ ]  3.17  Netra ct Platform 1.0    4.1 MB
 [ ]  3.18  Lights Out Management 2.0    0.7 MB
 [ ]  3.19  Netra t11xx Alarms 2.0    0.3 MB
 
   Enter the number corresponding to a component to view its information.
   Enter n when finished [n] 

You do not need any of the remaining product components for the Netra CT server, but you can choose any of the remaining components, if you wish.

4. At the available Solaris software groups portion of the installation process, you will see the following screen:

Available Solaris Software groups:
 
1. Entire Group Plus OEM (1251.5 MB)
2. Entire Group (1214.6 MB)
3. Developer Group (1058.2 MB)
4. End User Group (674.0 MB)
5. Core Group (200.0 MB)
 
   Select the number corresponding to the desired Solaris software group [2]:

Choose the first selection (Entire Group plus OEM) in this screen.

5. After you choose the Entire Group plus OEM selection, you will see the following screen:

The Entire Solaris Software Group Plus OEM Support consists of the Entire
Solaris Software Group plus additional hardware drivers, including drivers for
hardware not present at the time of installation.
 
Please indicate if you want the Default Packages for the Entire Group Plus OEM
or if you want to select Custom Packages. Selecting Custom Packages allows you
to add or remove packages from the selected Solaris Software Group. When
selecting which packages to add or remove, you will need to know about software
dependencies and how Solaris software is packaged.
 
1. Default Packages
2. Custom Packages
 
   Default Packages or Custom Packages [1] 

Choose the first selection (Default Packages) in this screen.

7. Download and install additional patches.

Refer to the Netra CT Server Release Notes (817-0939-xx) for the latest information on the patches available for the Netra CT server. The document can be downloaded from the following web site:

http://www.sun.com/products-n-solutions/hardware/docs/Servers/

Follow the instructions in the "Applying Patches to a Boot Disk" section of the Netra CT Server Release Notes to download and install the patches.



Note - You must install the patches listed in the most recent version of the Netra CT Server Release Notes document. The "Applying Patches to a Boot Disk" section in the release notes lists the latest ID numbers of the required patches needed. Since the release of this installation document, new patches might have been added and existing patches might have been revised.




Preparing Network Installations of the Solaris Operating Environment

The following procedures describe how to create a network installation server.



Note - If you are planning to use the network installation server as a boot server for diskless clients, make sure that you have allocated enough space for the diskless server and clients. As a general rule, you need roughly 1.7 GBytes of space for the diskless server and around 300 MBytes for each diskless client in the directory where the diskless clients will be installed (by convention, this directory is in the server's /export directory.)





Note - The following procedures assume that your system will mount the DVD and CD media using the Solaris Volume Manager software. If you have disabled the Volume Manager software, you will need to mount the media using the mount(1M) command. Refer to the Solaris documentation for more information.




procedure icon  To Create a Network Installation Image Using the Solaris 9 DVD

1. Become superuser.

2. Insert the Solaris 9 DVD in a DVD-ROM drive accessible to the installation server.

3. Change directories to the Tools directory on the Solaris 9 DVD.

# cd /cdrom/cdrom0/s0/Solaris_9/Tools

4. Run the setup_install_server script to create an install image on the server:

# ./setup_install_server image_directory

Replace image_directory with the directory on the server where you want to create the Solaris 9 installation image.

5. Change directories to the root directory.

# cd /

6. Eject the Solaris 9 DVD.

7. Continue to perform the standard Solaris network installation procedure.



Note - If you will be installing diskless clients, follow the procedures in Installing Diskless Clients to set up the boot server and to add diskless clients.



For more information, see the "Preparing to Install Solaris Software Over the Network" chapter in the Solaris Advanced Installation Guide, which is included in the Solaris Media Kit and can be viewed on the Solaris documentation web site:

http://docs.sun.com

procedure icon  To Create a Network Installation Image Using the Solaris 9 CDs

1. Become superuser.

2. Insert the Solaris 9 Software 1 of 2 CD in a CD-ROM or DVD-ROM drive accessible to the installation server.

3. Change directories to the Tools directory on the Solaris 9 CD 1 of 2.

# cd /cdrom/cdrom0/s0/Solaris_9/Tools

4. Run the setup_install_server script to create an install image on the server:

# ./setup_install_server image_directory

Replace image_directory with the directory on the server where you want to create the Solaris 9 installation image.

5. Change directories to the root directory.

# cd /

6. Eject the Solaris 9 Software 1 of 2 CD.

# eject cdrom

7. Insert the Solaris 9 Software 2 of 2 CD in a CD-ROM or DVD-ROM drive accessible to the installation server.

8. Change directories to the Tools directory on the Solaris 9 CD 2 of 2.

# cd /cdrom/cdrom0/s0/Solaris_9/Tools

9. Run the add_to_install_server script to add the Solaris 9 Software 2 of 2 CD software to the install image:

# ./add_to_install_server image_directory

Replace image_directory with the Solaris 9 install image directory.

10. Change directories to the root directory of the CD.

# cd /

11. Eject the Solaris 9 Software 2 of 2 CD.

# eject cdrom

12. Continue to perform the standard Solaris network installation procedure.


Installing Diskless Clients

The following procedures describes how to create a boot server for diskless clients and how to add new diskless clients to the patched boot server. For additional instructions on installing diskless clients, refer to the Solaris 9 documentation, which you can find on the http://docs.sun.com web site.



Note - You must have a root password on your diskless server to perform the following tasks.




procedure icon  To Create a Boot Server For Diskless Clients



Note - This procedure will set up a boot server by starting the operating systems services required for diskless clients. Once you have set up the boot server, see To Add a Diskless Client for instructions on adding diskless clients to the boot server.



1. Prepare a patched network installation server using the Solaris 9 Media Kit software.

Follow the procedures in Preparing Network Installations of the Solaris Operating Environment to create a patched network installation server.



Note - When setting up the boot server for diskless clients, make sure that you have allocated enough space for the diskless clients. You need roughly 1.7 GBytes of space for the diskless server and around 300 MBytes for each diskless client in the directory where the diskless clients will be installed (by convention, this directory is in the server's /export directory.)



2. Log into the network server as superuser and change directories to the /usr/sadm/bin directory.

# cd /usr/sadm/bin

3. Use the smosservice command to add boot services to the installation server.



Note - The following command is a single long entry. Do not press the Return key until you have typed the entire text string shown in the following command.



# ./smosservice add -u root -p root_password -- -x mediapath=image_directory -x platform=sparc.sun4u.Solaris_9 -x cluster=SUNWCXall -x locale=locale 

Where:

Refer to the smosservice(1M) man page for more information and options.

For example, if the following entries were used for each variable, the command would appear as follows.

4. Place the Solaris Supplement CD in the DVD-ROM drive again.

5. Create the file /tmp/usr_admin with the following contents for the usr space package:

mail=
instance=unique
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=/usr_sparc.all

6. Enter the following command to add the usr space package to the usr area of the boot service.



Note - The following command is a single long entry. Do not press the Return key until you have typed the entire text string shown in the following command.



# /usr/sbin/pkgadd -S -M -R /export/Solaris_9 -d /cdrom/cdrom0/s0/SW_Supp_CD/Netra_ct_Platform_1.0/Product -a /tmp/usr_admin -n SUNWctac

7. Create the file /tmp/root_admin with the following contents for the root space packages:

mail=
instance=unique
partial=nocheck
runlevel=nocheck
idepend=nocheck
rdepend=nocheck
space=nocheck
setuid=nocheck
conflict=nocheck
action=nocheck
basedir=/opt

8. Enter the following commands to add the root space packages to the clone area:



Note - The two commands beginning with tar cvf are both single long entries. Do not press the Return key until you have typed the entire text string shown in both commands.



# mkdir '/export/root/templates/Solaris_9/SUNWctmgx_1.0,REV=2000.11.22.10.47_sparc.all'
# mkdir '/export/root/templates/Solaris_9/SUNW2jdrt_4.1_all'
# cd /cdrom/cdrom0/s0/SW_Supp_CD/Netra_ct_Platform_1.0/Product
# tar cvf - ./SUNW2jdrt | ( cd '/export/root/templates/Solaris_9/SUNW2jdrt_4.1_all' ; tar xvf - )
# tar cvf - ./SUNWctmgx | ( cd '/export/root/templates/Solaris_9/SUNWctmgx_1.0,REV=2000.11.22.10.47_sparc.all' ; tar xvf - )

9. Apply the root space packages to the clone area:



Note - The two commands beginning with /usr/sbin/pkgadd are both single long entries. Do not press the Return key until you have typed the entire text string shown in both commands.



# /usr/sbin/pkgadd -S -n -a /tmp/root_admin -R /export/root/clone/Solaris_9/sun4u -d /cdrom/cdrom0/s0/SW_Supp_CD/Netra_ct_Platform_1.0/Product SUNW2jdrt
# /usr/sbin/pkgadd -S -n -a /tmp/root_admin -R /export/root/clone/Solaris_9/sun4u -d /cdrom/cdrom0/s0/SW_Supp_CD/Netra_ct_Platform_1.0/Product SUNWctmgx

10. Download and install additional patches.

Refer to the Netra CT Server Release Notes (817-0939-xx) for the latest information on the patches available for the Netra CT server. The document can be downloaded from the following web site:

http://www.sun.com/products-n-solutions/hardware/docs/Servers

Follow the instructions in the "Applying Patches to a Diskless Service" section of the Netra CT Server Release Notes (817-0939-xx) to download and install the patches.

11. After the patches are installed, follow the procedure in To Add a Diskless Client.


procedure icon  To Add a Diskless Client

1. Prepare a boot server for the diskless clients.

If you have not yet created a boot server for the diskless clients, follow the steps in To Create a Boot Server For Diskless Clients before continuing with this procedure.

2. Log into the patched boot server as superuser.

3. Verify that the IP addresses for all other network interfaces on the boot server have corresponding hostnames in the hosts database.

The smdiskless command will fail if IP addresses of any network interfaces on the boot server do not have a corresponding hostname in the hosts databases.

4. Collect the following information for the diskless client you are adding:

5. Change directories to the /usr/sadm/bin directory.

# cd /usr/sadm/bin

6. Set up the diskless clients.

For each diskless client, type the following command as superuser (root):

# ./smdiskless add -- -i ip_address -e ethernet_address -n host_name -x os=sparc.sun4u.Solaris_8 -x root=/export/root/host_name -x swap=/export/swap/host_name -x swapsize=swap_size -x tz=time_zone -x locale=locale -x ns=name_service -x nameserver=name_server

Where:

Refer to the smdiskless(1m) man page for more information and options.

For example, if the following entries were used for each variable, the command would appear as follows.

You have to type your superuser password again after typing this command. The installation process should take roughly 5 minutes per client and about 15-30 minutes for the operating environment service to install; however, no progress is displayed on screen while the process is running. Do not cancel or kill the process until the process has successfully completed.

You should see messages similar to the following after a few moments, confirming that the command went through successfully the second time:

Login to client_host as user root was successful.
Download of com.sun.admin.osservermgr.cli.OsServerMgrCli from client_host was 
successful.

7. Boot the diskless client.


procedure icon  To Install Additional Software

1. If you installed I/O cards, perform any card-specific software configuration procedures, if necessary.

Refer to the documentation that came with your I/O card for more information.

2. Install and configure any additional disk management software, if necessary.

Refer to the documentation that came with your disk management software for more information.