C H A P T E R  2

SMS 1.4.1 Software Installation

This chapter contains instructions for reinstalling SMS 1.4.1 software under the Solaris operating environment or fresh installing Solaris 9 and SMS 1.4.1_s9 software. These instructions apply to Sun Fire high-end systems.

The SMS installation focuses on setting up group IDs used for credential checking, and setting up and running control scripts that start SMS when the Solaris operating environment boots.

This chapter includes:


Preparing to Perform a Reinstallation or Fresh OS/SMS Installation (Type 1)

The SMS 1.4.1 installation instructions in this section assume that you are fresh installing the Solaris 9 operating environment or your system is already running the Solaris 9 operating environment.

Performing a Type 1 Installation

To fresh install Solaris 9 and SMS 1.4.1_s9 software or reinstall the SMS 1.4.1_s9 software on your Sun Fire high-end system, you will need to perform the following procedures:

Diagram listing procedures to follow for a Type 1 installation, as described in the following sections.

To begin, proceed to Downloading SMS Software.

Downloading SMS Software

You can retrieve SMS 1.4.1 software from the web.


procedure icon  To Download Software From the Web

1. Using your web browser, go to http://www.sun.com/servers/sw/

2. Click the System Management Services (SMS) link.

3. Click the Click here to download link.

The file that is then downloaded is named sms_1_4_1_sparc.zip.

4. Log in to the SC as superuser.

5. Change directory to the location where you downloaded the software:

sc1:# cd /download_directory

6. Extract the downloaded file by typing:

sc1:# unzip sms_1_4_1_sparc.zip

The SMS 1.4.1 packages are located in /download_directory/sms_1_4_1sparc/System_Management_Services_1.4.1/Product.

7. Proceed to Backing Up Your SMS Environment.

Backing Up Your SMS Environment

If this SC has a working SMS environment, you should do the following before attempting to reinstall the SMS software:


procedure icon  To Back Up Your SMS Environment

On the main SC:

1. Make certain your configuration is stable.

Being stable means no commands are running and no hardware is changed during the reinstallation or upgrade process.

2. Log in to the main SC as a user with platadmn privileges.

3. Deactivate failover:

sc0:sms-user:> /opt/SUNWSMS/bin/setfailover off 

On the spare SC:

1. Log in to the spare as superuser.

2. Stop SMS on the spare SC (SC1):

sc1:# /etc/init.d/sms stop 

3. Backup the system on the spare SC.

Run smsbackup before proceeding or have the latest copy of the smsbackup file (sms_backup.X.X.cpio) accessible to the disk.



Note - The sms_backup.X.X.cpio file of one SC cannot be used by the other SC. They are SC specific files and non-interchangeable.



sc1:# /opt/SUNWSMS/bin/smsbackup directory_name 

where:

directory_name is the name of the directory in which the backup file is created. The directory_name requires the absolute path name for the file. This file can reside in any directory on the system, connected network or tape device to which you have read/write privileges. If no directory_name is specified, a backup file is created in /var/tmp.

The directory_name specified must be mounted on as a UFS file system. Specifying a TMPFS file system, such as /tmp, will cause smsbackup to fail. If you are not certain that your directory_name is mounted as a UFS file system, type:

sc1:# /usr/bin/df -F ufs directory_name

A UFS file system will return directory information. Any other type of file system will return a warning.

If you are fresh installing the Solaris 9 operating environment, proceed to Installing the Solaris Operating Environment.

If you are reinstalling SMS 1.4.1 software proceed to Installing SMS Packages.

Installing the Solaris Operating Environment



Note - Make sure you have the proper release of the Solaris operating environment, including patches (see SMS 1.4.1 Software Requirements). Without the proper version and patches, the availability daemons on the SC will not start, causing SMS daemon startup failures and an unusable SC.




procedure icon  To Install the Solaris Operating Environment

1. Install the Solaris 9 operating environment according to the Solaris installation instructions. Refer to the Solaris 9 Installation Guide for detailed installation instructions.

The instructions in the following sections assume that your system is running the Entire Distribution software group (or higher) of the Solaris 9 operating environment. SMS 1.4.1_s9 does not run under software releases earlier than Solaris 9 or software groups less than Entire Distribution. All patches should be applied according to each patch's instructions. Several Solaris patches are required for SMS to run properly. See Other Documentation and Requirements.



Note - You must select the English, `C,' locale when reinstalling the Solaris operating environment on a system controller. SMS does not support any Solaris locale other than English on the SC. Verify that Java 1.2.2 has been installed in the default directory.The default directory is /usr/java1.2/bin/java. If you are using the Sun Fire Interconnect and Java 1.2.2 is not installed in the default directory, SMS will not start.Stop and Restart SMS.See To Manually Stop and Restart SMS



4. Once your operating environment has been successfully installed proceed to Installing SMS Packages.

Installing SMS Packages

SMS provides a script, smsinstall(1M), to automate software installation. To install SMS software packages, follow the steps in the procedure To Install the SMS Software Packages Using smsinstall.


procedure icon  To Install the SMS Software Packages Using smsinstall

1. Log in to the spare SC as superuser.

Change directory to the location of smsinstall and type:

sc1:# cd /download_dir/sms_1_4_1_sparc/System_Management_Services_1.4.1/Tools



Note - smsinstall(1M) automatically installs the online System Management Services (SMS) Reference Manual (man) pages in /opt/SUNWSMS/man/sman1m. To avoid conflicts, do not change this location.



2. Install packages using the smsinstall(1M) command.

directory_name is the /Product directory from Downloading SMS Software. Here is an example:

sc1:# smsinstall directory_name
Installing SMS packages.  Please wait. . .
pkgadd -n -d "directory_name" -a
/tmp/smsinstall.admin.24501 SUNWSMSr SUNWSMSop SUNWSMSdf SUNWSMSjh SUNWSMSlp SUNWSMSmn SUNWSMSob SUNWSMSod SUNWSMSpd SUNWSMSpo SUNWSMSpp SUNWSMSsu SUNWscdvr.u SUNWufrx.u SUNWufu SUNWwccmn
Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
205 blocks

Installation of <SUNWSMSr> was successful...
Installation of <SUNWSMSop> was successful...
Installation of <SUNWSMSdf> was successful...
Installation of <SUNWSMSjh> was successful...
Installation of <SUNWSMSlp> was successful...
Installation of <SUNWSMSmn> was successful...
Installation of <SUNWSMSob> was successful...
Installation of <SUNWSMSod> was successful...
Installation of <SUNWSMSpd> was successful...
Installation of <SUNWSMSpo> was successful...
Installation of <SUNWSMSpp> was successful.
Installation of <SUNWSMSsu> was successful.
Installation of <SUNWscdvr> was successful...

Reboot client to install driver.
type=ddi_pseudo;name=flashprom  uflash\N0
Installation of <SUNWufrx> was successful.
Installation of <SUNWufu> was successful.
Installation of <SUNWwccmn> was successful.

Verifying that all SMS packages are installed.OKSetting up /etc/init.d/sms run control script for SMS 1.4.1New SMS version 1.4.1 is activeAttempting to start daemon picld/etc/init.d/picld startsmsupgrade complete.  
Log file is /var/sadm/system/logs/smsinstall.

3. Proceed to To Restore Your SMS Configuration.

Restoring Your SMS Configuration on the Spare SC


procedure icon  To Restore Your SMS Configuration

1. Restore your SMS configuration.

Run smsrestore to restore the smsbackup file.


Note - Once smsrestore completes you will see the following message: "Please set the desired SMS failover state." Ignore this message.



sc1:# /opt/SUNWSMS/bin/smsrestore filename

where:

filename is the absolute path to the backup file that was created by smsbackup(1M). The filename must contain the full path name for the file. This file can reside anywhere on the system, connected network or tape device. If no filename is specified, you will receive an error.

2. For a fresh install:

Proceed to To Configure the Management Network (MAN) Using the smsconfig(1M) Command.

For reinstallation:

During reinstallation the SMS group file was restored. Proceed to To Add Users to SMS Groups and Configure Directory Access only if you will be changing user group memberships. Otherwise, proceed to To Switch Control to the Spare SC.

Configuring the MAN Network on the Spare SC


procedure icon  To Configure the Management Network (MAN) Using the smsconfig(1M) Command

To correctly configure the management network, you need to do the following:

1. Be sure you have read and filled out the information in the Sun Fire 15K/12K System Site Planning Guide.


Note - A domain can be excluded from the I1 network configuration by using the word NONE as the net_id. This applies only to the I1 network.



2. Read the smsconfig(1M) man page.

3. Log into the spare SC as superuser.

4. To display, review, or change the Management Network settings, type:

sc1:# /opt/SUNWSMS/bin/smsconfig -m

5. Answer the questions based on the information gathered for your site in the Sun Fire 15K/12K System Site Planning Guide.

The following example shows IPv4 and accepts the default settings provided with the Solaris 9 Supplemental CD. An IPv6 network example differs slightly. There will be no prompts for netmasks and /etc/ipnodes will be modified in addition to /etc/hosts.



caution icon

Caution - The IP addresses shown in the following example are examples only. Refer to your Sun Fire 15K/12K System Site Planning Guide for valid IP addresses for your network. Using invalid network IP addresses could, under certain circumstances, render your system unbootable!





Note - The IP addresses on the external network for failover, eri0 and eri1 on each SC must be unique. The floating IP address is the same on both SCs.



For more information on smsconfig -m refer to the "MAN Configuration" section of the System Management Services (SMS) 1.4.1 Administrator Guide and the smsconfig man page.

sc1:# smsconfig -m

The platform name identifies the entire host machine to the SMS
 software. The platform name occupies a different name space than
 domain names (hostnames of bootable systems). 

What is the name of the platform this SMS will service [sun15]? sun15
Configuring the External Network for Community C1

Do you want to define this Community? [y,n] y
Two network interfaces controllers (NICs) are required for IPMP network failover.
Enter NICs associated with community C1 [eri0 eri1]: [Return]

Enter hostname for eri0 [sun15-sc1-eri0]:[Return]
Enter IP address for eri0: 10.1.1.52

Enter hostname for eri1 [sun15-sc1-eri1]:[Return]
Enter IP address for sun15-sc1-eri1: 10.1.1.53

The Logical/Floating IP hostname and address will "float" over towhichever system controller (SC0 or SC1) is acting as the main SC.

Enter Logical/Floating IP hostname for community C1 [sun15-sc-C1]:[Return]
Enter IP address for sun15-sc-C1:10.1.1.50
Enter Netmask for community C1: 255.255.255.0

Enter hostname for community C1 failover address [sun15-sc1-C1-failover]:[Return]
Enter IP address for sun15-sc1-C1-failover:10.1.1.51

Hostname                IP Address (platform=sun15)
--------                ----------
sun15-sc-C1             10.1.1.50
sun15-sc1-C1-failover   10.1.1.51
sun15-sc1-eri0          10.1.1.52
sun15-sc1-eri1          10.1.1.53

Do you want to accept these network settings? [y,n] y

Configuring the External Network for Community C2

Do you want to define this Community? [y,n] n

Configuring I1 Management Network - `I1' is the Domain to SC MAN.
MAN I1 Network Identification

Enter the IP network number (base address) for the I1 network: 10.2.1.0
Enter the netmask for the I1 MAN network [255.255.255.224]:[Return]

Hostname        IP Address (platform=sun15)
--------        ----------
netmask-i1      255.255.255.224
sun15-sc-i1   10.2.1.1
sun15-a       10.2.1.2
sun15-b       10.2.1.3
sun15-c       10.2.1.4
sun15-d       10.2.1.5
sun15-e       10.2.1.6
sun15-f       10.2.1.7
sun15-g       10.2.1.8
sun15-h       10.2.1.9
sun15-i       10.2.1.10
sun15-j       10.2.1.11
sun15-k       10.2.1.12
sun15-l       10.2.1.13
sun15-m       10.2.1.14
sun15-n       10.2.1.15
sun15-o       10.2.1.16
sun15-p       10.2.1.17
sun15-q       10.2.1.18
sun15-r       10.2.1.19

Do you want to accept these network settings? [y,n] y

Configuring I2 Management Network - 'I2' is for SC to SC MAN.
MAN I2 Network Identification

Enter the IP network number (base address) for the I2 network: 10.3.1.0
Enter the netmask for the I2 MAN network [255.255.255.252]:[Return] 



Hostname           IP Address   (platform=sun15)
--------           ----------   
netmask-i2         255.255.255.252      
sun15-sc0-i2       10.3.1.1   
sun15-sc1-i2       10.3.1.2     

Do you want to accept these settings? [y,n] y
Creating /.rhosts to facilitate file propagation...done 
MAN Network configuration modified!
Changes will take effect on next reboot.
The following changes are about to be applied to the "/etc/hosts" hosts file.
----------------------
ADD: 10.2.1.2   sun15-a #smsconfig-entry#
ADD: 10.2.1.3   sun15-b #smsconfig-entry#
ADD: 10.2.1.4   sun15-c #smsconfig-entry#
ADD: 10.2.1.5   sun15-d #smsconfig-entry#
ADD: 10.2.1.6   sun15-e #smsconfig-entry#
ADD: 10.2.1.7   sun15-f #smsconfig-entry#
ADD: 10.2.1.8   sun15-g #smsconfig-entry#
ADD: 10.2.1.9   sun15-h #smsconfig-entry#
ADD: 10.2.1.10  sun15-i #smsconfig-entry#
ADD: 10.2.1.11  sun15-j #smsconfig-entry#
ADD: 10.2.1.12  sun15-k #smsconfig-entry#
ADD: 10.2.1.13  sun15-l #smsconfig-entry#
ADD: 10.2.1.14  sun15-m #smsconfig-entry#
ADD: 10.2.1.15  sun15-n #smsconfig-entry#
ADD: 10.2.1.16  sun15-o #smsconfig-entry#
ADD: 10.2.1.17  sun15-p #smsconfig-entry#
ADD: 10.2.1.18  sun15-q #smsconfig-entry#
ADD: 10.2.1.19  sun15-r #smsconfig-entry#
ADD: 10.2.1.1   sun15-sc-i1 #smsconfig-entry#
ADD: 10.1.1.50  sun15-sc-C1 #smsconfig-entry#
ADD: 10.1.1.51  sun15-sc1-C1-failover #smsconfig-entry#
ADD: 10.1.1.52  sun15-sc1-eri0 #smsconfig-entry#
ADD: 10.1.1.53  sun15-sc1-eri1 #smsconfig-entry#
ADD: 10.3.1.1   sun15-sc0-i2 #smsconfig-entry#
ADD: 10.3.1.2   sun15-sc1-i2 #smsconfig-entry#
----------------------
Update the hosts file, "/etc/hosts", with these changes? [y,n] y
Hosts file "/etc/hosts" has been updated.

The following information is about to be applied to the "/etc/netmasks" file.
----------------------
ADD network: 10.1.1.50, mask: 255.255.255.0
ADD network: 10.2.1.0, mask: 255.255.255.224
ADD network: 10.3.1.0, mask: 255.255.255.224
----------------------
Update the netmasks file, "/etc/netmasks", with these changes? [y,n] y
Netmasks files "etc/netmasks" has been updated.
smsconfig complete. Log file is /var/sadm/system/logs/smsconfig
sc1:#



Note - Any changes made to the network configuration on one SC using smsconfig -m must be made to the other SC as well. Network configuration is not automatically propagated.



6. Configure the Name Services for SMS

7. Log in to the SC as superuser.

8. Edit the /etc/nsswitch.conf file.

    a. The first entry for password, group, hosts, netmasks and ethers should be files. List other naming services in use, such as nis or DNS, next.

    The following example shows the correct partial contents of an /etc/nsswitch.conf file on the spare SC. The look-up order for the database entries is first files then naming services.

    sc1: # vi /etc/nsswitch.conf
    
    ...
    
    passwd:      files nis
    
    group:       files nis
    
    ...
    
    hosts:       files nis
    
    ...
    
    netmasks:    files nis
    
    ...
    
    ethers:      files nis
    
    ...
    



    Note - smsconfig automatically updates the /etc/netmasks and the /etc/inet/hosts file with all the private host names and logical addresses for the SC.



9. Update your Solaris Naming software (NIS, NIS+, DNS, etc), as appropriate.

10. Configure SMS groups. See To Add Users to SMS Groups and Configure Directory Access.

During reinstallation this file was restored. Proceed with this step only if you will be changing user group memberships or you have performed a fresh installation.

11. After adding users to your SMS Groups:

Proceed to To Switch Control to the Spare SC.

Switching Control to the Spare SC


procedure icon  To Switch Control to the Spare SC

1. Log in to the main SC (SC0) as superuser.

2. Stop SMS on the main SC:

sc0:# /etc/init.d/sms stop 

3. Log in to the spare SC (SC1) and drop to the OpenBoot PROM prompt.

sc1:# shutdown -y -g0 -i0
...[system message]
ok

4. Boot the spare SC.

ok boot -rv

You must reboot the SC in order for the changes to take effect. Once you have rebooted the system, network configuration is complete and SMS will start and SC1 will become the main SC.

5. Next:

For reinstallation of SMS 1.4.1, proceed to To Reinstall the Former Main SC.

If you are fresh installing a system which previously ran SMS 1.3,

proceed to To Update the Flash PROMs.

Updating the Flash PROMs on the SC and the System Boards


procedure icon  To Update the Flash PROMs

When you fresh install SMS 1.4.1 on system previously running SMS 1.3 or SMS 1.4, you must update the flash PROMs on:

The main SC

The spare SC

Each system board

You cannot update the flash PROM on one SC from the other. You must be logged on to the SC whose prom you want to update.

You must have platform privileges to run the flashupdate(1M) command. For more information on flashupdate(1M) refer to the System Management Services (SMS) 1.4.1 Reference Manual or the flashupdate man page.



Note - In order to update your SC PROMs you must have access to the following drivers:

sc#:# ls -l /dev/uflash* lrwxrwxrwx 1 root other 62 Oct 12 20:30 /dev/uflash0 -> ../devices/pci@1f,0/pci@1,1/ebus@1/flashprom@10,400000:uflash0 lrwxrwxrwx 1 root other 62 Oct 12 20:30 /dev/uflash1 -> ../devices/pci@1f,0/pci@1,1/ebus@1/flashprom@10,800000:uflash1





Note - If the drivers are not available you must run the following command as superuser on each SC:

sc#:# /usr/sbin/devfsadm -i uflash



1. Log in to one SC as a user with platadmn privileges.

2. Upgrade the fp0 Flash PROM.

Use flashupdate. This example updates the fp0 prom on sc0:

sc0:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/SCOBPimg.di sc0/fp0

3. Upgrade the fp1 Flash PROM, using the appropriate image for the type of board.

For the CP1500 board, use flashupdate with the nSSCPOST.di image. For example:

sc0:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/nSSCPOST.di sc0/fp1

For the CP2140 board, use flashupdate with the oSSCPOST.di image:

sc0:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/oSSCPOST.di sc0/fp1

4.

Repeat steps 1-3 for the other SC.

Here's an example for a CP2140-based SC:


(log in to other SC)sc1:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/SCOBPing.di sc0/fp0
sc1:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/oSSCPOST.di sc0/fp1

Upgrade the CPU Flash PROMs on each system board.

Use flashupdate.

sc1:sms-user:> flashupdate -f /opt/SUNWSMS/hostobjs/sgcpu.flash location

where:

location is the FPROM location.

The FPROM location consists of board_loc/FPROM_id, separated by a forward slash.

The FPROM_id is specified only when you want to update a particular FPROM (FP0 or FP1) on a CPU board and the system controller (SC).

For example, the location, SB4/FP0, indicates the FPROM 0 on the CPU board in slot 4.

Sun Fire 15K/E25K, Sun Fire 12K/E20K

SB(0...17), SB(0...8)

IO(0...17), IO(0...8)

SC(0|1), SC(0|1)

The following FPROM_id forms are accepted:

FP(0|1), FP(0|1)

6. Drop to the OpenBoot PROM prompt.

sc1:sms-user:> su - 
password: [superuser passwd]
sc1:# shutdown -y -g0 -i0
...[system message]
ok

7. Reboot the SC. Type:

ok boot -rv

8. Proceed to To Reinstall the Former Main SC.

Reinstalling the Former Main SC


procedure icon  To Reinstall the Former Main SC

1. Log in to the former main as superuser.

2. Backup the system on the former main SC (SC0).

Run smsbackup before proceeding or have the latest copy of the smsbackup file (sms_backup.X.X.cpio) accessible to the disk.



Note - The sms_backup.X.X.cpio file of one SC cannot be used by the other SC. They are SC specific files and non-interchangeable.



sc0:# /opt/SUNWSMS/bin/smsbackup directory_name 

where:

directory_name is the name of the directory in which the backup file is created. The directory_name requires the absolute path name for the file. This file can reside in any directory on the system, connected network or tape device to which you have read/write privileges. If no directory_name is specified, a backup file is created in /var/tmp.

The directory_name specified must be mounted on as a UFS file system. Specifying a TMPFS file system, such as /tmp, will cause smsbackup to fail. If you are not certain that your directory_name is mounted as a UFS file system, type:

sc0:# /usr/bin/df -F ufs directory_name

A UFS file system will return directory information. Any other type of file system will return a warning.

3. Next:

To fresh install the Solaris 9 operating environment, proceed to Installation of the Solaris Operating Environment on the Former Main SC.

To reinstall SMS 1.4.1, proceed to Installing SMS 1.4.1 Software on the Former Main SC.

Installation of the Solaris Operating Environment on the Former Main SC



Note - Make sure you have the proper release of the Solaris operating environment, including patches (see SMS 1.4.1 Software Requirements). Without the proper version and patches, the availability daemons on the SC will not start, causing SMS daemon startup failures and an unusable SC.




procedure icon  To Install the Solaris Operating Environment

1. Install the Solaris 9 operating environment according to the Solaris installation instructions. Refer to the Solaris 9 Installation Guide for detailed installation instructions.

The instructions in the following sections assume that your system is running the Entire Distribution software group (or higher) of the Solaris 9 operating environment. SMS 1.4.1 does not run under software releases earlier than Solaris 9 or software groups less than Entire Distribution. All patches should be applied according to each patch's instructions. Several Solaris patches are required for SMS to run properly. See Other Documentation and Requirements.



Note - You must select the English, `C,' locale when reinstalling the Solaris operating environment on a system controller. SMS does not support any Solaris locale other than English on the SC.


Note - 2. Verify that Java 1.2.2 has been installed in the default directory.The default directory is /usr/java1.2/bin/java. If you are using the Sun Fire Interconnect and Java 1.2.2 is not installed in the default directory, SMS will not start.Stop and Restart SMS.See To Manually Stop and Restart SMS.



4. Once your operating environment has been successfully installed proceed to Installing SMS 1.4.1 Software on the Former Main SC.

Installing SMS 1.4.1 Software on the Former Main SC

To install SMS software packages, perform the steps in the following procedure.


procedure icon  To Install the SMS Software Packages Using smsinstall

1. Log in to the former main SC as superuser.

2. Change directory to the location of smsinstall:

Type:

sc0:# cd /download_dir/sms_1_4_1_sparc/System_Management_Services_1.4.1/Tools



Note - smsinstall(1M) command automatically installs the online System Management Services (SMS) Reference Manual (man) pages in /opt/SUNWSMS/man/sman1m. To avoid conflicts, do not change this location.



3. Install packages using the smsinstall(1M) command.

directory_name is the /Product directory location of the SMS packages from Downloading SMS Software. Here is an example.

sc0:# smsinstall directory_name
Installing SMS packages.  Please wait. . .
pkgadd -n -d "directory_name" -a
/tmp/smsinstall.admin.24501 SUNWSMSr SUNWSMSop SUNWSMSdf SUNWSMSjh SUNWSMSlpUNWSMSmn SUNWSMSob SUNWSMSod SUNWSMSpd SUNWSMSpo SUNWSMSpp SUNWSMSsuUNWscdvr.u SUNWufrx.u SUNWufu SUNWwccmn
Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
205 blocks

Installation of <SUNWSMSr> was successful...
Installation of <SUNWSMSop> was successful...
Installation of <SUNWSMSdf> was successful...
Installation of <SUNWSMSjh> was successful...
Installation of <SUNWSMSlp> was successful...
Installation of <SUNWSMSmn> was successful...
Installation of <SUNWSMSob> was successful...
Installation of <SUNWSMSod> was successful...
Installation of <SUNWSMSpd> was successful...
Installation of <SUNWSMSpo> was successful...
Installation of <SUNWSMSpp> was successful.
Installation of <SUNWSMSsu> was successful.
Installation of <SUNWscdvr> was successful...

Reboot client to install driver.
type=ddi_pseudo;name=flashprom  uflash\N0
Installation of <SUNWufrx> was successful.
Installation of <SUNWufu> was successful.
Installation of <SUNWwccmn> was successful.

Verifying that all SMS packages are installed.OKSetting up /etc/init.d/sms run control script for SMS 1.4.1New SMS version 1.4.1 is activeAttempting to start daemon picld/etc/init.d/picld startsmsupgrade complete.  
Log file is /var/sadm/system/logs/smsinstall.

4. Proceed to To Restore Your SMS Configuration.

Restoring Your SMS Configuration on the Former Main SC


procedure icon  To Restore Your SMS Configuration

1. Restore your SMS configuration on the former main SC.

Run smsrestore.


Note - Once smsrestore completes you will see the following message: "Please set the desired SMS failover state." Ignore this message.



sc0:# /opt/SUNWSMS/bin/smsrestore filename 

where:

filename is the absolute path to the backup file that was created by smsbackup(1M). The filename must contain the full path name for the file. This file can reside anywhere on the system, connected network or tape device. If no filename is specified, you will receive an error.

2. For a fresh install:

Proceed to To Configure the Management Network (MAN) Using the smsconfig(1M) Command.

For reinstallation:

During reinstallation the SMS group file was restored. Proceed to To Add Users to SMS Groups and Configure Directory Access only if you will be changing user group memberships. Otherwise, proceed to To Reboot the Former Main SC.

Configuring the MAN Network on the Former Main SC


procedure icon  To Configure the Management Network (MAN) Using the smsconfig(1M) Command

To correctly configure the management network, you need to do the following:

  • Run smsconfig -m

  • Edit the /etc/nsswitch.conf

  • Edit your Solaris Naming software.

  • Reboot the SC.

1. Be sure you have read and filled out the information in the Sun Fire 15K/12K System Site Planning Guide.


Note - A domain can be excluded from the I1 network configuration by using the word NONE as the net_id. This applies only to the I1 network.



2. Read the smsconfig(1M) man page.

3. Log into the former main SC as superuser.

4. To display, review, or change the Management Network settings, type:

sc0:# /opt/SUNWSMS/bin/smsconfig -m

5. Answer the questions based on the information gathered for your site in the Sun Fire 15K/12K System Site Planning Guide.

The following example shows IPv4 and accepts the default settings provided with the Solaris 9 Supplemental CD. An IPv6 network example differs slightly. There will be no prompts for netmasks and /etc/ipnodes will be modified in addition to /etc/hosts.



caution icon

Caution - The IP addresses shown in the following example are examples only. Refer to your Sun Fire 15K/12K System Site Planning Guide for valid IP addresses for your network. Using invalid network IP addresses could, under certain circumstances, render your system unbootable!





Note - The IP addresses on the external network for failover, eri0 and eri1 on each SC must be unique. The floating IP address is the same on both SCs.



For more information on smsconfig -m refer to "MAN Configuration" section of the System Management Services (SMS) 1.4.1 Administrator Guide and the smsconfig man page.

sc0:# smsconfig -m

The platform name identifies the entire host machine to the SMS
 software. The platform name occupies a different name space than
 domain names (hostnames of bootable systems). 

What is the name of the platform this SMS will service [sun15]? sun15
Configuring the External Network for Community C1

Do you want to define this Community? [y,n] y
Two network interfaces controllers (NICs) are required for IPMP network failover.
Enter NICs associated with community C1 [eri0 eri1]: [Return]

Enter hostname for eri0 [sun15-sc0-eri0]:[Return]
Enter IP address for eri0: 10.1.1.52

Enter hostname for eri1 [sun15-sc0-eri1]:[Return]
Enter IP address for sun15-sc0-eri1: 10.1.1.53

The Logical/Floating IP hostname and address will "float" over towhichever system controller (SC0 or SC1) is acting as the main SC.

Enter Logical/Floating IP hostname for community C1 [sun15-sc-C1]:[Return]
Enter IP address for sun15-sc-C1:10.1.1.50
Enter Netmask for community C1: 255.255.255.0

Enter hostname for community C1 failover address [sun15-sc0-C1-failover]:[Return]
Enter IP address for sun15-sc0-C1-failover:10.1.1.51

Hostname                IP Address (platform=sun15)
--------                ----------
sun15-sc-C1             10.1.1.50
sun15-sc0-C1-failover   10.1.1.51
sun15-sc0-eri0          10.1.1.52
sun15-sc0-eri1          10.1.1.53

Do you want to accept these network settings? [y,n] y

Configuring the External Network for Community C2

Do you want to define this Community? [y,n] n

Configuring I1 Management Network - `I1' is the Domain to SC MAN.
MAN I1 Network Identification

Enter the IP network number (base address) for the I1 network: 10.2.1.0
Enter the netmask for the I1 MAN network [255.255.255.224]:[Return]

Hostname        IP Address (platform=sun15)
--------        ----------
netmask-i1      255.255.255.224
sun15-sc-i1   10.2.1.1
sun15-a       10.2.1.2
sun15-b       10.2.1.3
sun15-c       10.2.1.4
sun15-d       10.2.1.5
sun15-e       10.2.1.6
sun15-f       10.2.1.7
sun15-g       10.2.1.8
sun15-h       10.2.1.9
sun15-i       10.2.1.10
sun15-j       10.2.1.11
sun15-k       10.2.1.12
sun15-l       10.2.1.13
sun15-m       10.2.1.14
sun15-n       10.2.1.15
sun15-o       10.2.1.16
sun15-p       10.2.1.17
sun15-q       10.2.1.18
sun15-r       10.2.1.19

Do you want to accept these network settings? [y,n] y

Configuring I2 Management Network - 'I2' is for SC to SC MAN.
MAN I2 Network Identification

Enter the IP network number (base address) for the I2 network: 10.3.1.0
Enter the netmask for the I2 MAN network [255.255.255.252]:[Return] 

Hostname           IP Address   (platform=sun15)
--------           ----------   
netmask-i2         255.255.255.252      
sun15-sc0-i2       10.3.1.1   
sun15-sc1-i2       10.3.1.2     

Do you want to accept these settings? [y,n] y
Creating /.rhosts to facilitate file propagation...done 
MAN Network configuration modified!
Changes will take effect on next reboot.
The following changes are about to be applied to the "/etc/hosts" hosts file.
----------------------
ADD: 10.2.1.2   sun15-a #smsconfig-entry#
ADD: 10.2.1.3   sun15-b #smsconfig-entry#
ADD: 10.2.1.4   sun15-c #smsconfig-entry#
ADD: 10.2.1.5   sun15-d #smsconfig-entry#
ADD: 10.2.1.6   sun15-e #smsconfig-entry#
ADD: 10.2.1.7   sun15-f #smsconfig-entry#
ADD: 10.2.1.8   sun15-g #smsconfig-entry#
ADD: 10.2.1.9   sun15-h #smsconfig-entry#
ADD: 10.2.1.10  sun15-i #smsconfig-entry#
ADD: 10.2.1.11  sun15-j #smsconfig-entry#
ADD: 10.2.1.12  sun15-k #smsconfig-entry#
ADD: 10.2.1.13  sun15-l #smsconfig-entry#
ADD: 10.2.1.14  sun15-m #smsconfig-entry#
ADD: 10.2.1.15  sun15-n #smsconfig-entry#
ADD: 10.2.1.16  sun15-o #smsconfig-entry#
ADD: 10.2.1.17  sun15-p #smsconfig-entry#
ADD: 10.2.1.18  sun15-q #smsconfig-entry#
ADD: 10.2.1.19  sun15-r #smsconfig-entry#
ADD: 10.2.1.1   sun15-sc-i1 #smsconfig-entry#
ADD: 10.1.1.50  sun15-sc-C1 #smsconfig-entry#
ADD: 10.1.1.51  sun15-sc0-C1-failover #smsconfig-entry#
ADD: 10.1.1.52  sun15-sc0-eri0 #smsconfig-entry#
ADD: 10.1.1.53  sun15-sc0-eri1 #smsconfig-entry#
ADD: 10.3.1.1   sun15-sc0-i2 #smsconfig-entry#
ADD: 10.3.1.2   sun15-sc1-i2 #smsconfig-entry#
----------------------
Update the hosts file, "/etc/hosts", with these changes? [y,n] y
Hosts file "/etc/hosts" has been updated.

The following information is about to be applied to the "/etc/netmasks" file.
----------------------
ADD network: 10.1.1.50, mask: 255.255.255.0
ADD network: 10.2.1.0, mask: 255.255.255.224
ADD network: 10.3.1.0, mask: 255.255.255.224
----------------------
Update the netmasks file, "/etc/netmasks", with these changes? [y,n] y
Netmasks files "etc/netmasks" has been updated.
smsconfig complete. Log file is /var/sadm/system/logs/smsconfig
sc0:#

6. Configure the Name Services for SMS.

7. Log in to the SC as superuser.

8. Edit the /etc/nsswitch.conf file.

    a. The first entry for password, group, hosts, netmasks and ethers should be files. List other naming services in use, such as nis or DNS, next.

    The following example shows the correct partial contents of an /etc/nsswitch.conf file on the spare SC. The look-up order for the database entries is first files then naming services.

    sc0:# vi /etc/nsswitch.conf
    
    ...
    
    passwd:      files nis
    
    group:       files nis
    
    ...
    
    hosts:       files nis
    
    ...
    
    netmasks:    files nis
    
    ...
    
    ethers:      files nis
    
    ...
    



    Note - smsconfig automatically updates the /etc/netmasks and the /etc/inet/hosts file with all the private host names and logical addresses for the SC.



9. Update your Solaris Naming software (NIS, NIS+, DNS, etc), as appropriate.

10. Configure SMS groups. See To Add Users to SMS Groups and Configure Directory Access.

During reinstallation this file was restored. Proceed with this step only if you will be changing user group memberships or you have done a fresh install of the Solaris operating environment. Otherwise proceed to To Reboot the Former Main SC.

11. After adding users to your SMS Groups:

Proceed to To Reboot the Former Main SC.

Rebooting the Former Main SC


procedure icon  To Reboot the Former Main SC

1. Log in to the former main SC (SC0) as superuser and drop to the OpenBoot PROM prompt.

sc0:# shutdown -y -g0 -i0
...[system message]
ok

2. Boot the former main SC.

ok boot -rv 

You must reboot the SC in order for the changes to take effect. Once you have rebooted the system, network configuration is complete.

3. Next:

For reinstallation of SMS 1.4.1, proceed to To Enable Failover.

If you are fresh installing a system that was previously running SMS 1.3 or SMS 1.4 software, proceed to To Update the Flash PROMs.

Updating the Flash PROMs on the Former Main SC


procedure icon  To Update the Flash PROMs

When you fresh install SMS 1.4.1 on a system that was previously running SMS 1.3 or SMS 1.4 software you must update the flash PROMs on:

The main SC

The spare SC



Note - You do not need to update the CPU flash PROMs. This was done earlier and is not repeated.



You cannot update the flash PROM on one SC from the other. You must be logged on to the SC whose prom you want to update.

You must have platform privileges to run the flashupdate(1M) command. For more information on flashupdate(1M) refer to the System Management Services (SMS) 1.4.1 Reference Manual or the flashupdate man page.



Note - In order to update your SC PROMs you must have access to the following drivers:

sc#:# ls -l /dev/uflash* lrwxrwxrwx 1 root other 62 Oct 12 20:30 /dev/uflash0 -> ../devices/pci@1f,0/pci@1,1/ebus@1/flashprom@10,400000:uflash0 lrwxrwxrwx 1 root other 62 Oct 12 20:30 /dev/uflash1 -> ../devices/pci@1f,0/pci@1,1/ebus@1/flashprom@10,800000:uflash1





Note - If the drivers are not available you must run the following command as superuser on each SC:

sc#:# /usr/sbin/devfsadm -i uflash



1. Log in to one SC as a user with platadmn privileges.

2. Upgrade the fp0 Flash PROM.

Use flashupdate. This example updates the fp0 prom on sc0:

sc0:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/SCOBPimg.di sc0/fp0

3. Upgrade the fp1 Flash PROM, using the appropriate image for the type of board.

For the CP1500 board, use flashupdate with the nSSCPOST.di image. For example:

sc0:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/nSSCPOST.di sc0/fp1

For the CP2140 board, use flashupdate with the oSSCPOST.di image:

sc0:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/oSSCPOST.di sc0/fp1

Repeat steps 1-3 for the other SC.

Here's an example for a CP2140-based SC:


(log in to other SC)sc1:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/SCOBPing.di sc0/fp0
sc1:sms-user:> flashupdate -f /opt/SUNWSMS/firmware/oSSCPOST.di sc0/fp1

5. Drop to the OpenBoot PROM prompt.

sc0:sms-user:> su - 
password: [superuser passwd]
sc0:# shutdown -y -g0 -i0
...[system message]
ok

6. Reboot the main SC (SC0). Type:

ok boot -rv

7. Proceed to To Enable Failover.

Verifying the Chassis Serial Number

The chassis serial number is a unique alphanumeric text string, up to 20 characters in length, that identifies a Sun Fire high-end system. This serial number is displayed on a label located on the front of the system chassis, near the bottom center.

Verify that the chassis serial number has been recorded, as explained in the following procedure.


procedure icon  To Verify the Chassis Serial Number

1. Make sure the centerplane is powered on.

If it is not powered on, run poweron cp0.

2. Login to the new main SC (SC1) as a user with platform admin privileges.

3. Run the showplatform -p csn command and review the output to determine whether a chassis serial number was assigned to your Sun Fire high-end system.

If a chassis serial number was previously recorded, the chassis serial number will be displayed in the output. For example:

sc1:sms-user:> /opt/SUNWSMS/bin/showplatform -p csn

CSN:
====
Chassis Serial Number: 353A00053


Proceed to Enabling Failover on the Main SC (SC1). If the chassis serial number is not displayed, proceed to Step 4.

4. Record the chassis serial number.

sc1:sms-user:> /opt/SUNWSMS/bin/setcsn -c chassis_serial_number

where the chassis_serial_number is the number that identifies your Sun Fire high-end system. You obtain the chassis serial number from a label on the front of the system chassis, near the bottom center.

5.

Proceed to Enabling Failover on the Main SC (SC1).

Enabling Failover on the Main SC (SC1)


procedure icon  To Enable Failover

1. Login in the new main SC (SC1) as a user with platadmn privileges.

2. Turn on failover.

sc1:sms-user:> /opt/SUNWSMS/bin/setfailover on

Your reinstallation or upgrade is now complete! If you want to secure the SCs, proceed to SMS 1.4.1 Security Options. Otherwise, proceed to Creating a Domain.