This section provides the procedure for installing Sun Management Center 3.6 on a Network File System accessible (NFS-mounted) remote machine using the es-inst command. The procedure assumes that you are installing Sun Management Center from a cd-image directory on your network. See Creating Installation CD Images for further information.
To install Sun Management Center on a remote machine, you have to prepare the remote machine before you install the software. Also, if the local machine is running Solaris 2.6, Solaris 7, or Solaris 8 software, you must install a patch as described in To Install Patches for pkgadd.
The following machine names are used as examples in the procedures in this section:
admin-host is the local machine used to perform the installation on the remote machine.
remote is the remote machine on which you want to install Sun Management Center.
Remote installation is not supported if the remote machine is a Solaris 10 machine.
If the local machine is running Solaris 2.6, Solaris 7, or Solaris 8 software, a patch for pkgadd specific to the operating system version must be installed on the local machine. You must install this patch before you can use the local machine to install Sun Management Center 3.6 on the remote machine.
If the local machine is running the Solaris 9 release, you do not need to install any patches. Go to To Prepare the Remote Machine.
Log in as root on the local machine.
Ensure that the OS patch level is current.
To determine whether the patch is already installed, use the command showrev -p | grep patchnum, where patchnum is the required OS patch as follows:
Solaris 2.6 release: 106292
Solaris 7 release: 107443
Solaris 8 release: 110934
For example, if the local machine is running Solaris 8 release, you would type:
admin-host# showrev -p | grep 110934 admin-host# |
In the above example, the patch is not installed. The patch must be downloaded and installed as directed by Step 3.
If the patch is installed, a listing similar to the following is displayed.
admin-host# showrev -p | grep 110934 admin-host# Patch: 110934-13 Obsoletes: Requires: Incompatibles: Packages: pkgtrans, pkgadd, pkgchk |
If the patch that is required by the local machine Solaris version is installed, go to To Prepare the Remote Machine.
Install the OS patch if needed.
Log in as root on the remote machine.
Create the Sun Management Center database access group and user account.
Use the groupadd command to create the access group smcorag.
remote# /usr/sbin/groupadd smcorag |
Create the directory /var/opt/SUNWsymon.
This directory is where the database user account will be located.
remote# mkdir -p /var/opt/SUNWsymon |
Use the useradd command to create the database user account smcorau, and then add the user account to the group smcorag.
remote# /usr/sbin/useradd \ ...-d /var/opt/SUNWsymon/smcorau \ -m -g smcorag -s /bin/sh smcorau |
Stop the Network File System daemon mountd.
remote# /etc/init.d/nfs.server stop |
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.
Save and close /etc/dfs/dfstab.
Start the Network File System daemon mountd.
remote# /etc/init.d/nfs.server start |
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.
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) |
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.
Log off the remote machine.
You can now install Sun Management Center on the remote host as described by the next procedure.
Log in as root on the local machine.
Change to the Sun Management Center installation disk 1 sbin directory.
If you are installing from disk, then Change to the /c<DiskMountDir>/sbin directory.
During the installation process, you might be prompted to change CD disks depending on your selections.
If you are installing from a CD image, Change to the /cd-image-dir/disk1/sbin directory, where cd-image-dir is the directory either where you copied the installation CDs, or where you downloaded the installation image from the Web.
Run the es-inst installation script, and specify the remote host machine using the -R path/remote parameter.
#./es-inst -R path/remote |
where path/remote is the full path to the remote machine. For example, if the remote host path and name is /net/remote-server, you would type:
local-machine# ./es-inst -R /net/remote-server |
You are prompted for the Solaris version running on the remote machine.
Type the Solaris version running on the remote machine.
See To Prepare the Remote Machine, Step 7.
You are prompted for the remote host machine type.
Provide the remote host machine type.
Type the machine type string that you generated in To Prepare the Remote Machine, Step 8. Alternately, if you copied the generated text to a file on the local host, you can paste the machine-type string in answer to the prompt.
The steps that are required to complete installation of Sun Management Center on a remote host are the same steps that are required for the default Sun Management Center install.
Complete the installation.
If Sun Management Center 2.x or 3.0 is installed on the system, you are asked whether you want to migrate the data from the previous Sun Management Center version. Go to To Install Using the es-inst Script, Step 7.
If a prior version of Sun Management Center is not installed on the system, you are prompted for the target directory. Go to To Install Using the es-inst Script, Step 8.
Remote installation on to a Solaris 10 system is supported only from another Solaris 10 system.