HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014

The configuration file must be edited as indicated by the comments in that file. The package
name must be unique within the cluster.
For Example:
PACKAGE_NAME sybase
NODE_NAME node1
NODE_NAME node2
Set the TKIT_DIR variable as the path of <package_directory>. For example, TKIT_DIR
/etc/cmcluster/pkg/pkg01.
5. To check for the validity of the configuration specified, run the cmcheckconf command.
For Example:
#cmcheckconf -P pkg.conf
6. If the cmcheckconf command does not report any errors, use the cmapplyconf command
to add the package into Serviceguard environment.
For Example:
#cmapplyconf -P pkg.conf
Adding the Package to the Cluster
After the setup is complete, add the package to the Serviceguard cluster, and then start it up.
cmapplyconf -P SYBASE0
cmmodpkg -e -n <node1> -n <node2> SYBASE0
cmmodpkg -e SYBASE0
For more information on managing packages, see the latest Managing Serviceguard manual
available at http://www.hp.com/go/hpux-serviceguard-docs—>HP Serviceguard manual.
Node-specific Configuration
Ensure that all files that are required by Sybase ASE to start up cleanly are updated and present
on each node in the cluster or accessible through shared storage. You must replicate all files across
all nodes, when using local configuration.
Error-Handling
To start up the ASE server the IP/hostname that is mentioned in the interfaces file must be associated
with a node name for which it is configured to run. If you are unable to ping the IP address or if
the IP is not configured, the ASE instance might fail to come up. The corrective guidelines for this
error are specified in the next section.
Ensure that the setup is done for all nodes in the cluster (or on shared storage) as specified by
Sybase. Contact Sybase support for any issues.
Network configuration
Detailed instructions on how to configure the Sybase ASE for a Serviceguard cluster is not provided
in this document. However, this section provides the basic steps that user would require to setup
a single-instance of ASE for failover in a Serviceguard cluster. For more information on how to
setup ASE in a cluster, see the Consult Sybase ASE documentation.
Sybase ASE interfaces file
For setting up a single-instance of ASE in a Serviceguard cluster, the ASE instance must be available
at the same IP address across all nodes in the cluster. To achieve this, you must edit the interfaces
file of the ASE instance, available on the $SYBASE directory of that instance. For example, a
default setup of ASE has an interface entry for the dataserver as:
Adding the Package to the Cluster 71