Sun Management Center 3.6.1 Installation and Configuration Guide

Installing on a Local Machine

This installation procedure assumes you are installing Sun Management Center from a image directory on your network. See Creating Installation DVD Images for further information. This procedure also assumes that you have not specified any of the es-inst parameters.

ProcedureTo Install Using the es-inst Script

Steps
  1. Log in as root on the machine where you want to install Sun Management Center.

  2. In the /etc/nsswitch.conf file, ensure that the group entry has files as the first token.


    group: files nis
  3. Review the README files.

    • /net/machine-name/imagedir/disk1/sbin/README.INSTALL

    • /net/machine-name/imagedir/disk1/sbin/INSTALL_README.HWDS

    where /net/machine-name/imagedir is the path to the network machine where you created the Sun Management Center installation image.

  4. Go to the Sun Management Center installation disk 1 sbin directory.

    • If you are installing from disk, and then go to the /<DiskMountDir>/sbin directory.

      During the installation process, you might be prompted to change the disks depending on your selections.

    • If you are installing from a image, go to the /image-dir/disk1/sbin directory, where image-dir is the directory either where you copied the installation images, or where you downloaded and untarred the installation image from the Web.

  5. Run the es-inst installation script:


    #./es-inst
    
    • If a prior version of Sun Management Center is not installed on the system, you are prompted for the target directory. Go to Step 8.

    • If Sun Management Center 2.x or 3.0 is installed on the system, you are asked whether you want to uninstall the previous Sun Management Center version.

  6. Uninstall the previous version.

    You are asked whether you want to uninstall the previous version. You cannot install Sun Management Center 3.6.1 until the previous version is uninstalled.

    • Type n or q if you do not want to uninstall the previous version. You are returned to the system prompt.

    • Type y to uninstall the previous version.

      You are asked whether you want to migrate the data from the previous installation of Sun Management Center.

  7. Migrate previous version data.

    The administrative domain configuration data, custom alarm settings, and scripts from your previous installation of Sun Management Center 2.x or 3.0 can be saved and applied to the new installation of Sun Management Center 3.6.1. The data is located in /var/opt/SUNWsymon.

    • Type y to save and migrate the data from the previous version of Sun Management Center.

      The installation process stops any Sun Management Center processes that are running. The data is saved to /var/opt/SUNWsymon.bak.

    • Type n to discard all data from the previous version of Sun Management Center.

      The installation script warns you to move any custom scripts that you want to save.


      Caution – Caution –

      If you have custom scripts stored in any directory under /var/opt/SUNWsymon that you want to use in Sun Management Center 3.6.1, move them to an alternate location before going to Step 6.


    The installation process then runs the previous Sun Management Center version's es-uninst script to uninstall the previous version.


    Note –

    The uninstall process can take anywhere from a few minutes to half an hour, depending on the products and add-ons installed in the previous version.

    During the uninstall process, you might see messages that state package removal failed. You can ignore these messages. Any package that is not removed at first is removed later by the uninstall process.


    When the uninstall process completes, you are prompted for the directory in which to install Sun Management Center.

  8. Type the name of the directory in which to install Sun Management Center

    The default location is /opt.

    Sun Management Center software can be installed in any location on your system where the minimum required disk space is available. Press Return to accept the default location /opt or, if you want to install to a directory other than /opt, type the directory name.


    Tip –

    The command df -ak lists the used space and free space for each file system on the machine.


    You are asked whether you want to install either the production environment or the developer environment.

  9. Select either the Production Environment or Developer Environment.


    Note –

    You should install and run the Sun Management Center developer and production environments on separate, dedicated servers.


    Type 1 to install the production environment, or type 2 to install the developer environment.

    • If you selected Developer Environment, all Sun Management Center base components are installed:

      • Server layer

      • Agent layer

      • Console

      The Server Layer Binary Code License is displayed. Go to Step 11.

    • If you selected Production Environment, you are prompted to select the Sun Management Center component layers that you want to install.

  10. Select the Sun Management Center component layers that you want to install.

    You are asked to reply y or n to each layer. For example:


        Select the Sun Management Center Architectural Component Layers:
        3 Layer(s) are available for your selection:
        Do you want to install Server Layer Components ? [y|n|q]  y 
            The Server Layer has been selected for install.
            The Sun Management Center Agent will be installed automatically.
        Do you want to install Console Layer Components ? [y|n|q]  y 
      
    

    Note –

    If you select Server, Agent is automatically selected.


    • If you selected Server, or selected Server, Agent, and Console, the Server Layer Binary Code License is displayed. Go to Step 11.

    • If you selected Console, or Agent and Console, the Select Language Support screen appears. Go to Step 12.

    • If you selected Agent only, the Select Add-on Products screen appears. Go to Step 13.

  11. Review the Server Layer Binary Code License.

    Read the Server Layer Binary Code License carefully. To continue the installation, you must agree to the terms of the license.

    Type y to agree to the license and continue, or type n to exit the installation.

    • If a valid JDK version is not installed, you are informed which version is needed. The installation process then exits to the system prompt.

    • If you accept the license, the installation process checks for a valid JDK version. If a valid JDK version is installed, you are prompted to select additional language support.


    Note –

    The Sun Management Center Web server and online help are installed with the server layer.


  12. If you want to install the product in additional languages, select the appropriate languages.

    • If you want to install additional language support, type y.

      You are asked to reply y or n to each language.

    • If you do not want to install additional language support, type n.

    When you have completed language selection, the install process checks for add-on products.

  13. Select the Sun Management Center add-on products.

    The install process lists each add-on product, and asks if you want to install the product. Type y to select the product for installation, or type n if you do not want to install the product.

    • Some add-ons are platform-specific. For information about each add-on, refer to the platform supplements provided with the Sun Management Center release kit, and to the Sun Management Center Web site at http://www.sun.com/sunmanagementcenter/.


      Note –

      If you want to use the Sun StorEdge A5x00 add-on product, see Sun StorEdge A5x00 Packages before continuing.


    • Some add-ons have optional components. If optional add-on components are available, the components are listed sequentially. Type y to select the optional component for installation, or type n if you do not want to install the optional component.

    If you did not select any add-on products, you are asked whether you want to proceed. Type y to continue. The install process checks disk space. Go to Step 16.

    If you selected any add-ons, your selections are listed.

  14. Review your selections.

    Type y to continue, or type n to repeat the selection process.

    • If you selected only the agent, or agent and console during component selection, and selected any add-on products, the installation process checks disk space. Go to Step 16.

    • If you selected the server during component selection, and selected any of the following add-on products, the Add-on Products Binary Code License is displayed. Go to Step 15.

      • Advanced System Monitoring

      • Performance Reporting Manager

      • Service Availability Manager

      • Solaris Container Manager

      • System Reliability Manager

    • If you did not select any of the above add-on products but did select other add-on products, the installation process checks disk space. Go to Step 16.

  15. Review the Add-on Products Binary License.

    Read the Add-on Products Binary Code License carefully. To continue the installation, you must agree to the terms of the license.

    Type y to agree to the license or n to exit the installation.

    If you typed y to agree to the license and did not select additional add-on components, the installation process checks disk space.

  16. Check disk space.

    The installation process checks whether there is enough disk space to install the products that you selected.

    • If there is enough disk space, the products that you selected are installed.


      Note –

      The installation process can take from a few minutes to half an hour or more, depending on the products selected.


      When the installation process completes, a list of installed products is displayed. You are asked whether you want to set up the Sun Management Center components. Go to Step 18.

    • If there is not enough disk space, you are asked to provide an alternate file system. The amount of space available and the amount of space that is needed are displayed.

  17. Provide the name of an alternate file system with enough disk space.

    At the prompt requesting a different file system, type the name of a file system and directory that has enough free space.


    Tip –

    In a terminal window on the machine where you are installing Sun Management Center, type df -ak to list the amount of used and free space for each file system on the machine.


    The installation process checks disk space again. If there is enough disk space, the products that you selected are installed.


    Note –

    The installation process can take from a few minutes to half an hour or more, depending on the products selected.


    When the installation process completes, a list of installed products is displayed. You are asked whether you want to set up the Sun Management Center components.

  18. Decide whether to set up the installed products.

    Type y to set up Sun Management Center and any add-on products that you selected, or type n to exit and run setup later.


    Caution – Caution –

    If you have used es-inst to install only add-on products, type n to exit the installation and setup process. You must set up the add-on products as described by To Set Up an Add-on Product Using es-setup. Otherwise, you will overwrite your security keys, and will then have to set up all of the agents on all of your machines for the agents to work properly.