HP Serviceguard Extended Distance Cluster for Linux A.11.20.10 Deployment Guide, December 2012
# Legal values for service_restart: none, unlimited, (value > 0).
# Legal values for service_fail_fast_enabled: yes, no.
# Legal values for service_halt_timeout: (value >= 0).
service_name raid.monitor
service_cmd "$SGSBIN/raid_monitor $SG_PACKAGE"
service_restart 3
service_fail_fast_enabled yes
service_halt_timeout 300
Editing Parameters in the Configuration File
Use the information on the Package Configuration worksheet to complete the file. You can also
refer to the comments in the configuration template for additional explanation of each parameter.
You can include the following information:
• xdc/xdc/rpo_target
This parameter specifies the Recovery Point Objective Target. This refers to the maximum time
window allowed after which the raid system will be disabled to prevent large data loss,
resulting in the package not being able to start. By default, this parameter is set to 0. The
value set for this parameter must be more than the value set for the
xdc/xdc/raid_monitor_interval parameter.
Possible values are:
◦ -1 — To ignore the rpo_target check during startup.
◦ Any positive integer including zero.
• xdc/xdc/raid_monitor_interval
This parameter defines the time interval, in seconds, the raid monitor script waits between
each check to verify the accessibility of the component mirror disks. By default, this parameter
is set to 30 seconds.
• xdc/xdc/raid_device
Specifies the mirror devices that are used by this package. The value for this parameter is the
name of the MD device. For more information on MD device, see the md(4) Linux manpage.
• xdc/xdc/device_0
Specifies the first mirror half of the MD device defined in the xdc/xdc/raid_device
parameter. The value for this parameter is the name of the first mirror half of the MD device
defined in the xdc/xdc/raid_device parameter.
• xdc/xdc/device_1
Specifies the second mirror half of the MD device defined in the xdc/xdc/raid_device
parameter. The value for this parameter is the name of the second mirror half of the MD device
defined in the xdc/xdc/raid_device parameter.
Specifying Node Order
Edit the node_name parameter in the package configuration file to specify the node order or
priority.
While specifying the order of nodes in the package configuration file, ensure that every node in
one site is followed by a node of the other site. In other words, you must ensure that the first node
and the second adoptive node for a package are in different sites. Similarly, the second node and
the third adoptive node must be in different sites. The third and the fourth adoptive nodes must
also be in different sites. With this configuration, if a packages fails on a node in one site, it is
targeted to startup on a node in a different site. Figure 5 (page 33) and Table 3 (page 33) elaborate
this configuration order.
32 Configuring Packages for Extended Distance Cluster Software