Active-passive setup in Sun Cluster 3.0

A two node active-passive configuration is described in Figure 12-1.

In Sun Cluster 3.0, Adaptive Server runs as a data service and is managed by the Sun Cluster’s Resource Group Manager (RGM). Adaptive Server is associated with a resource group which contains the Adaptive Sever resource and all other resources it requires, such as the SUNW.HAStorage, SUNW.HAStoragePlus, and SUNW.LogicalHostname resources.

SY.ase is the resource type of the Adaptive Sever resource and it defines various extension properties for the resources of type SY.ase. See “Adaptive Server Resource extension properties” for more information. See Sun Cluster 3.0 documentation for more information on standard resource properties.

Figure 12-1: Active-passive setup in Sun Cluster 3.0 before failover

In Figure 12-1, the Adaptive Server MONEY is associated with the resource group, rg_MONEY, which consists of three resources: the Adaptive Server resource, ase_MONEY, of resource type SY.ase, the storage resource, has_MONEY, of resource type SUNW.HAStorage, and the logical host resource, lh_MONEY, of resource type SUNW.LogicalHostname. The storage resource has_MONEY manages the global file system /global/node1_share on the shared disk. The logical host resource is associated with the logical hostname or floating IP address loghost. The Adaptive Server resource ase_MONEY depends on has_MONEY and lh_MONEY.

Initially, the Adaptive Server resource group, rg_MONEY, is hosted by the primary node, node1, and Adaptive Server MONEY serves its clients through the logical hostname loghost associated with lh_MONEY.

When node1 crashes the resource group rg_MONEY along with all its resources is relocated and restarted on the secondary node as shown in Figure 12-2.

After failover, the Adaptive Server runs on node2 and continues to serve its clients using the same logical hostname loghost.

Figure 12-2: Active-passive setup on Sun Cluster 3.0 after failover

NoteThe resource group properties Pingpong_interval and Global_resources_used may affect the failover. For example, in Sun Cluster 3.0 update1, if the Adaptive Server resource group, rg_MONEY, is moving between the primary and secondary nodes too frequently (within about 300 seconds), the RGM may fail the failover of the Adaptive Server resource group with the following error:

608202 :scha_control: resource group ase_MONEY was frozen on Global_resources_used within the past 300 seconds; exiting

Refer to the Sun Cluster documentation for more details.