Figure 12 Resources managed by SGeRAC and Oracle Clusterware and their dependencies

Startup and shutdown of the combined Oracle RAC-SGeRAC stack

The combined stack is brought up in proper order by cmrunnode or cmruncl as follows.

1.SGeRAC starts up.

2.The SGeRAC package manager starts up Oracle Clusterware via the Oracle Clusterware MNP, ensuring that the storage needed is made available first. This requires prior startup of disk group and mount point MNPs in the case of the storage needed by Oracle Clusterware being managed by CFS.

3.On startup, Oracle Clusterware brings up the resources that it manages, that have been set to auto-start within the Oracle Clusterware registry. It brings up the node applications (this is an Oracle Clusterware term indicating resources configured per cluster node, such as the Virtual Internet Protocol address (VIP), Oracle listener, etc.) and the ASM instance if configured. Oracle Clusterware does not automatically bring up the RAC database instances (and the Oracle services dependent on them) since we have turned off auto-start for the instances.

4.After the start of CRS, SGeRAC mounts the ASM disk groups which are configured for RAC databases via ASMDG MNP packages.

5.Lastly, SGeRAC starts up the RAC database instance via the RAC database instance MNP, ensuring that the storage needed by it is made available first (this requires prior startup of disk group and mount point MNPs or ASM DG MNPs depending the kind of storage configured for RAC databases, either CFS or ASM disk groups respectively). It can do this since the SGeRAC dependency on the Oracle Clusterware MNP being up is met. So now the RAC database instances and dependent Oracle services start up.

The combined stack is brought down in proper order by cmhaltnode or cmhaltcl as follows.

First, SGeRAC shuts down the RAC database via the RAC database instance MNP, followed by shutdown of the storage needed by it. This requires subsequent shutdown of mount point and disk group MNPs or ASMDG MNPs that are dependent on the particular RAC MNP in the case of the storage needed by the RAC database being managed by CFS or ASM disk groups respectively.

Serviceguard Extension for RAC Toolkit operation 85

Page 85
Image 85
HP Serviceguard Extension for RAC (SGeRAC) manual Startup and shutdown of the combined Oracle RAC-SGeRAC stack