3.If the RESTORE_ROLE package attribute is set to [yes], the original primary package performs a role switch to resume its role as the primary database. This automatically enables the original standby database to resume as the standby database.
4.If the RESTORE_ROLE package attribute is set to [no], the original primary (which is now standby), continues to run as standby.
When primary and standby packages are in different clusters
Figure 13 Primary and Standby Packages in Different Clusters
In this configuration, Figure 13 (page 38), two Serviceguard clusters, SG Cluster1 is configured for the primary package and SG Cluster2 is configured for the standby package. Node1 and Node2 shares the volume group on which the primary database is configured, primary package can run on both the nodes. Similarly, the standby database is configured on the volume group that is shared between Node3 and Node4. Standby package can run on both the nodes.
NOTE: For more information, see When Primary and Standby packages are in the same cluster for all the events listed.
38 Serviceguard toolkit for DB2 High Availability Disaster Recovery