Modular Package Support in Serviceguard for Linux and ECM Toolkit
10
Cross Subnet configuration
All the ECM toolkits and SG/LX toolkits support cross subnet environment. For more information on
cross subnet configuration, refer the manual “Managing Serviceguard” at
http://docs.hp.com/en/ha.html. For Linux, refer to the manual “Managing HP Serviceguard for Linux”
at http://docs.hp.com/en/ha.html.
IPv6 Support
All the Linux and HP-UX toolkits are IPv6 complaint. However, IPv6 support is only possible if the
application provides it internally. Currently, only Apache, Tomcat, Sendmail and PostgreSQL
applications support IPv6.
For information on how to configure IPv6, refer the manual “Managing Serviceguard” at
http://docs.hp.com/en/ha.html. For Linux, refer to the manual “Managing HP Serviceguard for Linux”
at http://docs.hp.com/en/ha.html.
Guest Application Monitoring
Legacy format of the toolkits can be used for starting/stopping/monitoring applications on guests in
an hpvm setup with Serviceguard installed on hosts. Oracle toolkit has been considered as an
example here. Please note that the same approach can be applied to any application migrating
from physical hosts to virtual nodes with existing toolkit application scripts.
Before setting up a package with guest application monitoring, it has to be ensured that the toolkit
is installed and configured on the guest to run the application installed and configured on it.
To start the Oracle database in the guest, edit the customer_defined_run_cmds function in the
host VM package (or the equivalent external script in the case of a modular UPCC VM package).
In the example below, the line is added. v-smp1 is the name of the guest (virtual node) wherein the
application is intended to be started/stopped/monitored.
/usr/lbin/cmappmgr –node v-smp1 –service
“/etc/cmcluster/pkg/ORACLE_TEST0/toolkit.sh start" –cmappserver_timeout
152
Similarly, edit the customer_defined_halt_cmds function in the host VM package (or the
equivalent external script in the case of a modular UPCC VM package) to stop the Oracle
database in the guest. In the example below, the line is added
/usr/lbin/cmappmgr –node v-smp1 –service
“/etc/cmcluster/pkg/ORACLE_TEST0/toolkit.sh stop"
The existing Oracle toolkit monitor scripts can be utilized for the guest oracle service in the VM
package to monitor the Oracle database running in the VM guest. For example, additional
services can be added to the VM package as follows.