Sun Management Center 3.6.1 Installation and Configuration Guide

Chapter 4 Preparing Systems for Sun Management Center Upgrade and Installation

This chapter provides procedures for preparing your Solaris and Microsoft Windows systems for Sun Management Center 3.6.1 installation.

This chapter discusses the following topics:

Compatibility With Other Software and Earlier Versions of the Product

Sun Management Center 3.6.1 software is compatible with the following software:

Sun Management Center software does not offer the following features:

Preinstallation Checklist

The following list describes the tasks that you need to perform before you can install Sun Management Center 3.6.1, or upgrade an existing Sun Management Center installation to Sun Management Center 3.6.1.

Prerequisite Packages

The following Solaris operating environment packages are required by the Sun Management Center 3.6.1 server layer, and are included as part of the Solaris development environment installation.

Solaris Systems With More Than 4 Gbytes RAM

The SUNWscpux 64–bit source compatibility package must be installed on systems that have more than 4 Gbytes of RAM before you can install Sun Management Center 3.6.1. If the package is not installed, the command-line installation process will report the following messages and fail.


ps: read() on /proc/551/as: Value too large for defined data type
ps: read() on /proc/542/as: Value too large for defined data type

The SUNWscpux package is installed automatically during Solaris installation when any of the following Solaris environments are selected.

To determine if the package is installed on the system, type the command pkginfo SUNWscpux in a terminal window.

Java Environment Variables and Path

The JAVA_HOME and PATH environment variable must be set on Solaris systems in order for the Sun Management Center 3.6.1 installation wizards, the setup wizards and the Java console to function properly. Similarly, the Microsoft Windows %PATH% must be modified to include the path to the JDK software for the Sun Management Center Java console to work properly on Microsoft Windows.

If the environment variables and path are not set properly, installation and setup of Sun Management Center 3.6.1 can fail.

ProcedureTo Set JAVA_HOME and PATH on the Solaris Platform

If JDK 1.3.1 or JDK 1.4 software has been installed in the default location:

Steps
  1. Log in as root by typing su - root.

  2. Set JAVA_HOME to /usr/j2se.

    • In a C shell environment:


      # setenv JAVA_HOME /usr/j2se
      
    • In a Bourne or Korn shell environment:


      # JAVA_HOME=/usr/j2se
      # export JAVA_HOME
      

    Tip –

    Add the appropriate statement to your .login or .cshrc file.


  3. Add /usr/j2se/bin to your system path.

  4. Place /usr/j2se/bin in your PATH before /usr/bin.

  5. Place /usr/bin in your PATH before /usr/ucb.

ProcedureTo Set PATH on Microsoft Windows NT or Microsoft Windows 2000

Steps
  1. Choose Start -> Settings -> Control Panel.

  2. Double-click System.

  3. On Microsoft Windows NT, select the Environment tab. On Microsoft Windows 2000, select the Advanced tab and then Environment Variables.

    The Environment Variables window is displayed.

  4. Click Path in the User Variables and System Variables.

  5. Click Edit.

    The Edit System Variable window is displayed.


    Note –

    The Edit System Variable window shows the Microsoft Windows root directory using the environment variable %SystemRoot%.


  6. Add the location of the JDK bin directory to the PATH statement.

    For example, if the PATH statement shown in the Edit System Variable window is %SystemRoot%\system32;%SystemRoot%, the new path statement would then be %SystemRoot%\system32;%SystemRoot%;c:\j2version-number\bin where version-number is the JDK version.

    For example:

    %SystemRoot%\system32;%SystemRoot%;c:\j2sdk1.4\bin

    Separate each directory in the PATH statement with a semicolon as shown.

  7. Click OK to successively close each window.

ProcedureTo Set PATH on Linux

Steps
  1. Change to your home directory.

    cd $HOME

  2. Open the .bashrc file.

  3. Add the following line to the file. Replace the JDK directory with the name of your java installation directory.

    export PATH=/usr/java/<JDK Directory>/bin:$PATH

  4. Save the file and exit.

    Use the source command to force Linux to reload the .bashrc file which normally is read only when you log in each time.

    source .bashrc


    Note –

    Note that if you wish to set the PATH for all users, you need to log in as root in the bash shell and perform the above steps on the .profile file in the etc directory and not the .bashrc file in the home directory.


Sun StorEdge A5x00 Packages

If you want to use the Sun StorEdge A5x00 module, you must install either the SUNWluxop or the SUNWluxox packages on the system where you install the Monitoring and Management of A5x00 and T3 Devices add-on product. If you load the A5x00 module and the packages are not installed on the system, the Sun Management Center agent cannot run. .

To check whether the packages are installed, type the following command:


# pkginfo SUNWluxop SUNWluxox

If the packages are installed, the following lines are displayed:


system  SUNWluxop  Sun Enterprise Network Array firmware and utilities
system  SUNWluxox  Sun Enterprise Network Array libraries (64-bit)

If you need either package, you can download the package from http://sunsolve.sun.com. Make sure that you download the latest revision. Use the pkgadd(1M) command to install the packages.

T3 Storage Devices

This section provides the procedures for preparing T3 devices for Sun Management Center 3.6.1, and procedures for removing T3 device configuration data from existing Sun Management Center 3.x installations.


Note –

T3 device configuration data must be removed from existing Sun Management Center installations before you can upgrade to Sun Management Center 3.6.1.


Preparing a T3 Storage Device

Before you install and set up the Sun Management Center T3 Add-on, you must modify the /etc/hosts and /etc/ethers files on the system where the Sun Management Center add-on Monitoring and Management of A5x00 and T3 Devices is to be installed.

The following procedure assumes that you have installed and configured the T3 storage device as described by the Sun StorEdge T3 Disk Tray Installation, Operation, and Service Manual.

When the /etc/hosts and /etc/ethers files have been updated on the machine where the Sun Management Center add-on Monitoring and Management of A5X00 and T3 Devices will be installed, you can proceed with installing and setting up the T3 add-on.

ProcedureTo Prepare a T3 Storage Device

Steps
  1. Determine the IP address and Ethernet address for each T3 storage device.

    Open a terminal window and type the command arp t3-device-name where t3-device-name is the name of the T3 storage device. For example:


    # arp T3-001
    T3-001 (10.100.20.300) at 1:2:30:ab:ba:45 permanent published

    In the above example, 10.100.20.300 is the IP address, and 1:2:30:ab:ba:45 is the Ethernet address of the T3 storage device T3-001.

  2. Repeat Step 1 for each T3 device on your network.

    When you have recorded the IP address, Ethernet address, and name for each T3, go to the next step.

  3. Log in as root on the machine where you will install the Sun Management Center add-on Monitoring and Management of A5X00 and T3 Devices.

    This machine can be either the machine where you install the Sun Management Center server or the machine that you have allocated as dedicated platform agent server.

  4. Record each T3 IP address and name in the /etc/hosts file.

    For example, assume that three T3 devices are attached to your network. Assume that you used the arp command to determine the IP address, and Ethernet address of each T3 device, and recorded the information as follows:

    storage-t3–1 

    172.16.100.10 

    0:20:f2:0:59:48 

    storage-t3–2 

    172.16.100.11 

    0:20:f2:0:5f:40 

    storage-t3–3 

    172.16.100.12 

    0:20:f2:0:7f:a8 

    The entries in the server /etc/hosts file would then be as follows:

    172.16.100.10   storage-t3–1
    172.16.100.11   storage-t3–2
    172.16.100.12  storage-t3–3
  5. Record each T3 storage device Ethernet address and name in the /etc/ethers file.

    Create the /etc/ethers file if the file does not already exist.

    Using the example given in Step 4, the entries in the server /etc/ethers file would then be as follows:

    0:20:f2:0:59:48   storage-t3–1
    0:20:f2:0:5f:40   storage-t3–2
    0:20:f2:0:7f:a8  storage-t3–3

    Caution – Caution –

    If you include the domain name as part of the T3 device name, make sure the domain name is identical in both the /etc/hosts and /etc/ethers files. The entries are case sensitive.


    For example, assume that the /etc/hosts file contains:

    0:20:f2:0:59:48   storage-t3–1.sun.com

    Also assume that the /etc/ethers files contains

    0:20:f2:0:59:48   storage-t3–1.Sun.Com

    In this example, the T3 storage device cannot be set up using the Sun Management Center setup tools because the domain name case is different.

Removing T3 Device Configuration If Present

Uninstalling T3 Storage Devices

If you are running Sun Management Center, you must remove the T3 device configuration from Sun Management Center if you are going to perform any of the following functions:


Note –

If you uninstall the Monitoring and Management of A5x00 and T3 Devices add-on product without first removing the T3 device configuration, you can remove the T3 device configuration as described in the following procedure.


The corrected procedure is as follows:

ProcedureTo Remove T3 Device Configuration

Steps
  1. Log in as root on the machine where the Monitoring and Management of A5x00 and T3 Devices add-on product is installed.

  2. Type the following command to stop the Sun Management Center agent.


    #/opt/SUNWsymon/es-stop -a
    
  3. Run the pre-uninstall script to remove T3 device configuration information.

    1. Type the command /opt/SUNWsymon/addons/storage/sbin/pre-uninst.sh.

    2. When asked whether you want to stop the T3 from sending syslog messages, type y.

      You are then prompted for the root password for the T3 device.

    3. Type the password.

      You are notified that the T3 device has been removed from the T3 module.

  4. Uninstall the add-on product.

Determining the Installation Source

You can install, set up, and configure Sun Management Center 3.6.1 using either the Sun Management Center installation DVDs or a Sun Management Center installation image located on your network. DVD images eliminate the need to install Sun Management Center on each machine from the DVDs.

This section provides the procedures for creating Sun Management Center installation images.

There are two methods for capturing an installation image. You can copy Sun Management Center installation DVDs to a location on your network. You can also download and unpack the Sun Management Center installation image from the Sun Management Center Web site.


Note –

To install, set up, and configure , you must be logged in as root on Solaris machines, and as administrator on Microsoft Windows.


Creating Installation DVD Images

To create the Sun Management Center DVD images, you create a directory to contain the images, copy the DVD to the directory, and then share the directory using network file system mounting.

ProcedureTo Create DVD Images

Steps
  1. In a terminal window, log in as root by typing su - root.

  2. Create a directory to which you will copy the DVD.

    For example:


    # mkdir /SunManagementCenter
    
  3. Change to the directory you created for the DVD images.

    For example:


    # cd /SunManagementCenter
    
  4. Create a diskn directory for each DVD, where n is the sequence number of the disk.

    For example:


    /SunManagementCenter# mkdir disk1 disk2
    
  5. Make sure the vold daemon is running.


    /SunManagementCenter# ps -eaf | grep vold
    root 19033 19000  0 08:37:55 pts/9    0:00 vold
    /SunManagementCenter#

    If the grep command returns only the system prompt, then the vold daemon is not running, and must be started as follows:


    /SunManagementCenter# /usr/sbin/vold &
    
  6. Insert Sun Management Center 3.6.1 DVD in your DVD drive.

  7. List the contents of the Sun Management Center 3.6.1 installation DVD. Then copy the contents to the disk1 subdirectory.

    When the copy completes, list the contents of the DVD and the directory to verify the contents of the disk image.

    For example:


    /SunManagementCenter# cp -r /<DiskMountDir>/.* disk1
    /sunmanagementcenter > ls -acp /<DiskMountDir>/.*
    .          .CD        Copyright  image/      lib/
    ..         .CD01      classes/    install/    sbin/
    /sunmanagementcenter > ls -acp disk1
    .          .CD        Copyright  image/      lib/
    ..         .CD01      classes/    install/    sbin/

    Caution – Caution –

    <DiskMountDir> is a symbolic link. Copy only the Sun Management Center directory as shown in the above example.


  8. Make the Sun Management Center 3.6.1 DVD image directory NFS-shared.

    Using NFS to share the DVD image directory enables you to install Sun Management Center 3.6.1 from other machines by using the DVD installation images instead of manually installing from the DVDs.

    1. Stop the Network File System daemon mountd:


      /SunManagementCenter# /etc/init.d/nfs.server stop
      
    2. Add the following line to the /etc/dfs/dfstab file.

      share -F nfs -o ro image-dir

      where image-dir is the Sun Management Center 3.6.1 image directory that you created in Java Environment Variables and Path.

      For example: share -F nfs -o ro /SunManagementCenter

    3. Save and close /etc/dfs/dfstab.

    4. Start the Network File System daemon mountd:


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

      The Sun Management Center 3.6.1 image directory is now accessible from other machines.

    You can now use the Sun Management Center DVD images to install Sun Management Center 3.6.1, or to upgrade previous versions of Sun Management Center as described in the following chapters.

Creating Images From the Download Tar File

You can download the Sun Management Center Sun Management Center compressed tar file from the Web to a Solaris machine on your network. You then decompress and untar the tar file to a image directory.

To download Sun Management Center, you must be registered with Sun as a Sun Web site user, and log in using your registered user ID. The download software Web page provides a link for registration.


Caution – Caution –

Before you download the tar file, ensure that you have at least 1.6 Gigabytes of free disk space for the tar file and for the image files that are created when you uncompress and unpack the tar file.


ProcedureTo Download the Tar File From the Web Site

Steps
  1. In a terminal window, log in as root on the system where you want to create the Sun Management Center installation image.

  2. Go to the Sun Management Center Web site at http://www.sun.com/sunmanagementcenter/.

  3. Click Get the Software.

  4. Click Sun Management Center 3.6.1.

    Follow the instructions and download the Sun Management Center 3.6.1 tar file to a location that is accessible by root.

  5. Go to the location where the tar file has been downloaded:


    # cd /download-directory
    
  6. Extract the Sun Management Center packages:


    # zcat downloaded-filename | tar xvf -
    

    The image source directory is created, containing the subdirectories disk1 and disk2.

  7. Make the Sun Management Center 3.6.1 image directory NFS-shared.

    Using NFS to share the image directory enables you to install Sun Management Center 3.6.1 from other machines by using the installation images instead of manually installing from the DVDs.

    For example, if you extracted the images to the directory SunManagementCenter, you would make the directory NFS-shared as follows.

    1. Stop the Network File System daemon mountd:


      /SunManagementCenter# /etc/init.d/nfs.server stop
      
    2. Edit the /etc/dfs/dfstab file.

      Add the following line:

      share -F nfs -o ro image-dir

      where image-dir is the Sun Management Center 3.6.1 image directory.

      For example: share -F nfs -o ro /SunManagementCenter

    3. Save and close /etc/dfs/dfstab.

    4. Start the Network File System daemon mountd:


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

      The Sun Management Center 3.6.1 image directory is now accessible from other machines.

    You can now use the Sun Management Center images to install Sun Management Center 3.6.1, or to upgrade previous versions of Sun Management Center as described in the following chapters.