Sun Cluster Data Service for Oracle Guide for Solaris OS

Sample Configurations for ASM with Sun Cluster HA for Oracle

This appendix contains diagrams that explain various sample configurations of ASM with Sun Cluster HA for Oracle. The diagrams in this section help you to choose the appropriate ASM instance and provides information about the dependencies between Sun Cluster HA for Oracle resources and new ASM services.

Choosing the Appropriate ASM Instance

Once you decide to use ASM with Oracle, you should choose the appropriate ASM instance. You can use the following diagram to find out if you require single instance ASM or clustered instance ASM.

Figure 1 Choosing the Appropriate ASM Instance

Diagram showing how to choose the appropriate ASM instance

Single Instance ASM with Separate Disk Groups

This section contains two sample configuration diagrams for single instance Oracle databases with single instance ASM and single instance ASM disk groups. The second diagram is a continuation of the first diagram.

The following diagram represents a single instance ASM that serves two single instance Oracle databases DB1 and DB2 on a node Node1. The database DB1 exclusively uses an ASM disk group DG1 and the database DB2 exclusively uses an ASM disk group DG2. The upper part of the diagram shows the relationships that the Oracle database instances with the single ASM instances on Node1 and Node2. The single instance ASM manages two ASM disk groups DG1 and DG2 on Node1. The lower part of the diagram represents the existing Sun Cluster resource group and resources for single instance Oracle databases and their functional requirements for single instance ASM services.

In the diagram the dotted boxes represent existing Sun Cluster HA for Oracle resources with new ASM services. Inside the nodes, new dependencies between Sun Cluster HA for Oracle resources and single instance ASM services are represented using arrows.

Figure 2 Single Instance ASM with Separate Disk Groups [1]

Diagram showing single instance ASM with separate disk
groups 1

The following diagram is a continuation of the previous diagram in this section. In this diagram, the single instance Oracle database DB2 that exclusively uses ASM disk group DG2 is running on Node2 after a failover of resource group DB2–rg to Node2. The upper part of the diagram shows the relationships of the Oracle database instances with the single ASM instances on Node1 and Node2. The ASM disk group DG2 is now served from the single instance ASM on Node2 while ASM disk group DG1 is served by the single instance ASM on Node1.

The lower part of the diagram represents the existing Sun Cluster resource groups and resources for single instance Oracle databases and their requirement for single instance ASM services.

Figure 3 Single Instance ASM with Separate Disk Groups[2]

Diagram showing single instance ASM with separate disk
groups 2

Clustered ASM with Clustered Diskgroups

This section contains sample configurations of single instance Oracle databases with clustered ASM instances and clustered ASM disk groups. There are two diagrams and the second diagram is a continuation of the first diagram.

The following diagram represents clustered ASM instances that serves two single instance Oracle databases, DB1 and DB2 on Node1. The databases DB1 or DB2 can use either one of the ASM disk groups DG1 and DG2 or both the disk groups as these are clustered ASM disk groups. The upper part of the diagram shows the relationships of the Oracle database instances with the clustered ASM instances on Node1 and Node2. The clustered ASM instances manage two ASM disk groups on both nodes at the same time. The lower part of the diagram represents the existing Sun Cluster resource group and resources for single instance Oracle databases and their requirement for clustered ASM services.

The dotted box represents existing Sun Cluster HA for Oracle resources with the new ASM resources. The arrows represent new dependencies between Sun Cluster HA for Oracle and clustered ASM services.

Figure 4 Clustered ASM with Clustered Disk Groups[1]

Diagram showing clustered ASM with clustered disk groups
1

In the following diagram, a single instance Oracle database DB2 that shares ASM disk groups DG1 and DG2 is now running on Node2 after a failover of resource groups DB2-rg to Node2. The upper part of the diagram shows the relationships of the Oracle database instances with the clustered ASM instances on Node1 and Node2. The clustered ASM instances manage two ASM disk groups on both nodes at the same time. The lower part of the diagram represents the existing Sun Cluster resource group and resources for single instance Oracle databases and their requirement for clustered ASM services. If the storage type is hardware RAID, the resource types SUNW.ScaleDeviceGroup, SUNW.rac_svm and SUNW.rac_cvm is not required.

Figure 5 Clustered ASM with Clustered Disk Groups [2]

Diagram showing clustered ASM with clustered disk groups
2

Single Instance ASM with Separate Disk Groups in a Non-Global Zone

This section provides information on the dependency requirements for single instance ASM with single instance Oracle databases and single instance ASM disk groups in non-global zones. There are two diagrams, where the second diagram is a continuation of the first diagram.

The following diagram represents a single instance ASM that serves two single instance Oracle databases DB1 and DB2 running within a non-global zone ZoneA on Node1. The database DB1 exclusively uses ASM disk group DG1 and database DB2 exclusively uses ASM disk group DG2.

The upper part of the diagram shows the relationships of the Oracle database instances with the clustered ASM instances on Node1 and Node2. The single instance ASM manages two disk groups DG1 and DG2 on Node1. The lower part of the diagram represents the existing Sun Cluster resource groups and resources to independently failover DB1, DG1 or DB2, DG2 to ZoneA on Node2.

In the diagram the dotted boxes represent existing Sun Cluster HA for Oracle resources with new ASM resources. Inside the nodes, new dependencies between Sun Cluster HA for Oracle resources and single instance ASM resources are represented using arrows.

Figure 6 Single Instance ASM with Separate Disk Groups in a Non-Global Zone [1]

Diagram showing single instance ASM with separate disk
groups in a non-global zone 1

The following diagram is a continuation of the previous diagram. In this diagram, the single instance Oracle database DB2 that exclusively uses ASM disk group DG2 is running on Node2 after a failover of resource group DB2–rg to Node2. The upper part of the diagram within the non-global zone shows the relationships of the Oracle database instances with the single instance ASM instances on Node1 and Node2. The ASM disk group DG2 is now served from the single instance ASM in ZoneA on Node2 while ASM disk group DG1 is served by the single instance ASM in ZoneA on Node1.

The lower part of the diagram represents the existing Sun Cluster resource groups and resources to independently failover DB1, DG1 or DB2, DG2 to ZoneA on Node2.

Figure 7 Single Instance ASM with Separate Disk Groups in a Non-Global Zone [2]

Diagram showing single instance ASM with separate disk
groups in a non-global zone 2