Sun Management Center 4.0 Installation and Configuration Guide

ProcedureTo Prepare the Remote Machine

  1. Log in as root on the remote machine.

  2. Create the Sun Management Center database access group and user account.

    1. Use the groupadd command to create the access group smcdbg.


      remote# /usr/sbin/groupadd smcdbg
      
    2. Create the directory /var/opt/SUNWsymon.

      This directory is where the database user account will be located.


      remote# mkdir -p /var/opt/SUNWsymon
      
    3. Use the useradd command to create the database user account smcdbu, and then add the user account to the group smcdbg.


      remote# /usr/sbin/useradd \
      ...-d /var/opt/SUNWsymon/smcdbu \
         -m -g smcdbg -s /bin/sh smcdbu
      
  3. Stop the Network File System daemon mountd.


    remote# /etc/init.d/nfs.server stop
    
  4. Edit the /etc/dfs/dfstab file on the remote host.

    Add the following line:

    share —F nfs —o rw=admin-host,root=admin-host /

    where admin-host is the name of the machine from which you will install Sun Management Center onto the remote host.

    For example, if the remote host name is remote-server, and the name of the machine you will use to install Sun Management Center on remote-server is adminserver, then the entry in the remote-server /etc/dfs/dfstab file would be:

    share —F nfs —o rw=adminserver,root=adminserver

    This entry in the remote machine's dfstab file gives remote read and write permission only to the root user account logged on to the machine adminserver.

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

  6. Start the Network File System daemon mountd.


    remote# /etc/init.d/nfs.server start
    
  7. Determine the Solaris version running on the remote machine.


    remote# /usr/bin/uname -r
    

    When you install Sun Management Center on the remote host, the es-inst script will prompt you for the Solaris version running on the remote host.

  8. Determine the remote host machine type.

    When you install Sun Management Center on the remote host, the es-inst script will prompt you for the remote machine type.

    The information required by es-inst for the remote host machine is generated by the command:


    remote# /usr/platform/platform/sbin/prtdiag | /usr/bin/head -1 \
          | /usr/bin/cut -f2 -d:
    

    where platform is the output of the command uname -i.

    For example:


    remote# /usr/bin/uname -i
    SUNW,Ultra
    remote# /usr/platform/SUNW,Ultra/sbin/prtdiag 
      | /usr/bin/head -1 | /usr/bin/cut -f2 -d:
    Sun Microsystems  sun4u Sun Ultra UPA/PCI (UltraSPARC-IIi 333 MHz)

    Tip –

    Copy the remote host machine-type information to a temporary file on the local host. You can then paste the information when es-inst prompts you for the remote host machine type.


  9. Log off the remote machine.

    You can now install Sun Management Center on the remote host as described by the next procedure.