Solstice Enterprise Manager 4.1 HA Installation Guide | ![]() ![]() ![]() ![]() ![]() |
Installing SEM-HA
This chapter provides instructions for installing High Availability for Solstice EM (SEM-HA).
The chapter describes the following topics:
- Section 2.1 Summary of Installation Procedure
- Section 2.2 Choosing a Directory for SEM-HA Installation
- Section 2.3 Configuring Cluster for SEM-HA
- Section 2.4 Installing SEM-HA
- Section 2.5 Post-Installation Procedure
- Section 2.6 What to do Next
2.1 Summary of Installation Procedure
- Reading and understanding the contents of this chapter.
- Planning your installation layout based on your administrative needs.
- Filling up the Installation Checklist.
- Running the installation program from the product CD-ROM.
- Responding correctly to the prompts displayed by the install program.
- Running the post-installation procedures, see Post-Installation Procedure.
2.2 Choosing a Directory for SEM-HA Installation
While installing SEM-HA you will be prompted to choose a default/non-default location for the software. The choice of default or non-default is an individual judgement based on the administrative needs of your system.
2.2.1 Installing to a Default Location
If you choose to locate the software in the default location, install will place all the software files in a location on the global file system that you specify. The advantage of choosing the default location is that all the files used by Solstice EM will be on the highly available global system. Should any node crash, the files on the global file system are still available since they are on the shared multihosted disks. If you have chosen to mirror the disks on the multihosted disks, the files will also be protected against individual failures of the multihosted disks.
Note To find out how to use disk-mirroring in the multihosted disks, refer the Volume Manager documentation for the volume manager that has been installed in your Cluster.
Another advantage of placing all the files in the global file system is that there will be only one copy of the files, making administration easier.
Note There are some files that cannot be placed on the global file system. These will always be installed on the local disk.
If you choose to use the default install location, there are some issues that you should consider.
- While installing SEM-HA, the install program will set up links from the location on the shared disk that you chose, to the directories where Solstice EM expects to find the files (on local disk). You should be aware that some of Sun's unbundled products cannot be installed in this fashion. In these cases, install will install these products on the local disk only.
- If you need to install any patches on an existing installation of SEM-HA, these patches must be installed on each node, in order to update the respective patch database. However while installing on the second and subsequent nodes, you may get an error from the patchadd(1M) utility indicating that checksum validation has failed. This is because the relevant files have already been modified on the global disk. To avoid this use patchadd -u to unconditionally install the patch on all the remaining nodes.
2.2.2 Installing to a Non-default Location
If you choose a non-default location you have the option of specifying the location, either on local disk or on the global file system. If you choose the global file system, make sure that the directory that you specify exists on the global file system. The SEM-HA install program will not create it for you.
Note There are some files that cannot be placed on the global file system. These will always be installed on the local disk.
Note Runtime data will always be stored on the global file system. This is because this data will be used and modified by Solstice EM when it is running on any of the cluster nodes, and hence should be in a common location. Because of this you will have to specify a location on the global file system for this data.
If you choose to install on the local disk of each node, the installation program will create separate copies of the executable files on the local disk of each node.
Note You cannot install SEM-HA on different directories for each node on the global file system.
2.3 Configuring Cluster for SEM-HA
To configure cluster you will have to perform the following steps:
1. Make sure Sun Cluster 3.0 is installed correctly with Solstice DiskSuite or Veritas Volume Manager2. Identify Shared File System
- Obtain the directory/path where the shared file system resides (typically, /global/disk set/application). The Solstice EM 4.1 platform for HA will be installed there.
- The HA specific packages will be installed on the local disks for each node.
3. Identify Cluster Resources
- Decide which resource group should contain the SEM-HA data service (em_services) resource.
- Obtain the host name and IP address for SEM-HA to use as logical host (exclusively used for SEM-HA).
- Decide on a name for the logical hostname resource
- There should be exactly one logical host resource in the group that contains em_services
- The name of the resource should be unique to the cluster
- The logical host resource should be configured exactly with one host name only and not with multihomed host.
- You can configure the logical host yourself before installing SEM-HA using the relevant Sun Cluster commands or let the install program do it for you.
2.4 Installing SEM-HA
Perform the following steps to install SEM-HA.
1. Begin by installing SEM-HA on the primary cluster node.
- For installing, follow the installation procedure as instructed in the Solstice EM 4.1 Installation Guide.
2. Choose Yes when asked by the install program Would you like to install EM for High Availability, and follow the steps as instructed on the screen.
Note If you are not asked Would you like to install HA, then check your Sun Cluster installation.
Note Do not use the pkgadd utility to install SEM-HA.
3. Run the install program on each secondary node successively.
Note Do not run the install program simultaneously on more than one node.
4. Perform the Post-Installation procedure.2.5 Post-Installation Procedure
Note SEM-HA should have been successfully installed on all nodes before you can execute the following steps.
After SEM-HA has been installed successfully without errors on all the cluster nodes, on the primary node do the following:
1. Run the scstat(1M) cluster command and make sure that:
- The group containing em_services is online,
- The logical host resource is online, and
- The em_services data service resource is offline.
- If the status of the resource group and the resources are not as above, then use the scswitch(1M) cluster command to change the on/offline status.
2. If the status of the resource group and the resources are as specified above, execute the command:
/opt/SUNWconn/em/bin/get_local_host
- If you have chosen to install in a non-default directory, then this command must be perpended by the appropriate path.
- Make sure that the get_local_host command returns the name of the logical host and not the actual physical hostname.
3. Run the command:
em_services -reload
- This will install the databases.
Note If you have to load large amounts of configuration information, you may want to add -nomonit option to disable the monitor.
4. After the reload is successfully completed, and the platform comes up, stop the platform by executing:
em_services -stop5. Now, on a secondary node, repeat steps 1-4 above.
Note Make sure that the em_services data service is always offline.
6. Repeat the above step on every secondary node.7. On the primary node bring the group containing em_services online, by executing:
swswitch -z -g <groupname> -h <primary node name>8. Check that the platform comes up successfully.2.6 What to do Next
After completing the installation, continue with the registering and running SEM-HA. Chapter 3 includes instructions for registering and running the Solstice EM with the high availability option.
Sun Microsystems, Inc. Copyright information. All rights reserved. |
Doc Set | Contents | Previous | Next | Index |