Migrating Symantec Veritas Cluster Server to HP Serviceguard for Linux

Technical white paper | Migrating Symantec Veritas Cluster Server to HP Serviceguard for Linux
SG/LX toolkits
The SG/LX toolkits enable easy integration of applications with SG/LX to provide HA. SG/LX provides separate toolkits for
supported applications to create application specific Serviceguard package. The SG/LX toolkit starts, monitors, and stops the
application. SG/LX provides the following toolkits:
Oracle database (DB) toolkit: The Serviceguard Oracle DB toolkit manages Oracle DB. It starts, monitors, and stops
Oracle DB instance. This toolkit is priced.
NFS toolkit: The Serviceguard NFS toolkit manages NFS server. It starts, monitors, and stops the NFS Server. This toolkit
can be downloaded for free from software.hp.com
.
SGeSAP toolkit: The Serviceguard extension for SAP toolkit manages SAP instance. It starts, monitors, and stops the SAP
instance. This toolkit is priced.
HP Serviceguard Contributed Toolkits: The Contributed Toolkit is a collection of toolkits that integrate popular
applications with SG/LX. Following are the names of Contributed Toolkits. These toolkits can be downloaded for free
from software.hp.com
.
Apache toolkit
MySQL toolkit
PostgresSQL toolkit
Samba toolkit
Sendmail toolkit
Tomcat toolkit
Serviceguard Developers Toolbox: Serviceguard Developers Toolbox enables users to write a toolkit themselves.
Typically, users write toolkits using Serviceguard Developers Toolbox for that application whose toolkit is not available.
The Developers Toolbox can also be downloaded from software.hp.com for free.
Mapping VCS service group attributes to SG/LX package attributes
This section compares VCS service group with SG/LX package and describes the possible mapping of attributes.
VCS enables users to specify all hardware and software resources in a single service group. VCS defines resource type for
each resource it manages. For example, the IP resource type can be used to manage IP address resource. VCS provides
corresponding agent for each resource type. A single resource agent manages all resources of that type. For example, the IP
resource agent manages all IP resources.
Like VCS, SG/LX also enables users to specify the hardware and software resources in a single unit. That single unit is called
package in a SG/LX cluster. Users can specify services, disk volume, IP addresses, generic resources, etc., in a single
package. SG/LX also provides separate script to manage each resource. These separate scripts are called modules, and
these can be specified while creating a package. Examples of some modules are filesystem, volume group, and package_ip.
Mapping VCS service group dependency to Serviceguard package dependency
A VCS service group can be dependent on another service group. Same service group may act as both parent and child in a
dependency tree. In VCS, a dependency tree may be up to five levels deep. The dependency relationship between a parent
and a child service group can be characterized by the dependency category, the location of the service groups, and the
rigidity of dependency.
Similarly, an SG/LX package can be also dependent on another package. The same package can act as both parent and child
in a dependency tree. The SG/LX dependency relationship between a parent and a child can be characterized by the
dependency name, condition, and location of the package.
Following are the possible values for dependency categories in VCS:
Online group dependency: The parent service group must wait for the child service group to be brought online before it
can start.
Offline group dependency: The parent service group can be started only if the child service group is offline and
vice versa.
Following are the corresponding possible values for the dependency conditions in SG/LX:
up: The dependent successor package must wait for the predecessor package to be brought online before it can start.
down: The dependent successor package can be started only if the predecessor package is offline and vice versa.
11