HP Serviceguard Metrocluster with EMC SRDF for Linux B.01.00.00
3. All devices from RDF (RA) groups configuration are added to the composite group for
SRDF/Asynchronous MSC operation. For example, the RDF groups 6 and 7 are added to the
composite group for SRDF/Asynchronous MSC operation.
# symcg -cg <Multi-session Consistency Group Name> -rdfg 6 addall
pd
# symcg -cg <Multi-session Consistency Group Name> –rdfg 7 addall
pd
4. Repeat the steps 1-3 on each host that must run Serviceguard packages.
5. Query the composite group to display the R1-to-R2 setup and the state of the
SRDF/Asynchronous device pairs.
# symrdf -cg <Multi-session Consistency Group Name> query -rdfa
6. Set the composite group to Asynchronous mode.
# symrdf -cg <Multi-session Consistency Group Name> set mode async
7. Enable consistency protection to ensure data consistency on R2 side for the SRDF/Asynchronous
devices in the composite group.
# symrdf -cg <Multi-session Consistency Group Name> enable
8. If the SRDF pairs are not in a consistent state at this point, synchronize the data on the R2 side
from the R1 side using the following command. The device state will be SyncInProg until it
reaches the consistent status.
# symrdf -cg <Multi-session Consistency Group Name> establish
# symrdf -cg <Multi-session Consistency Group Name> query -rdfa
Setting up the RDF daemon
The cycle switch process required for SRDF/Asynchronous MSC is provided by the Solutions Enabler
software executing an RDF daemon that implements the MSC functionality. You can enable or
disable the RDF daemon on each host using the SYMAPI_USE_RDFD option in the SYMAPI file.
The default value of the SYMAPI_USE_RDFD option is DISABLE. To enable the RDF daemon, set
the SYMAPI_USE_RDFD to ENABLE. Setting this option to ENABLE activates the RDF daemon for
SRDF/Asynchronous MSC. HP recommends that you enable the RDF daemon on multiple hosts.
Starting and stopping the daemon
There are multiple ways in which you can start the RDF daemon. You must start the daemon on all
the nodes in the cluster. If you have enabled the RDF daemon, the Solutions Enabler software
automatically starts the daemon. Alternatively, you can manually start the daemon using the
stordaemon command:
# stordaemon start storrdfd [-wait Seconds]
By default, the stordaemon command waits 30 seconds to verify that the daemon is running. To
override this default value, use the -wait option.
In addition, you can set the RDF daemon to start automatically every time the local host is started.
You can set this condition for the daemon using the following command:
# stordaemon install storrdfd -autostart
To stop the RDF daemon, run the following command:
# stordaemon stop storrdfd [-wait Seconds]
Creating the cluster
The file /etc/cmcluster.conf contains the mappings that resolve symbolic references to
$SGCONF, $SGROOT, $SGLBIN, etc. used in the path names in the following subsections. If the
22 Configuring an application in a Metrocluster solution