The AboutOracleASMInstancesAboutOracleASMDiskGroupsAboutMirroringandFailureGroupsAboutOracleASMDisksAboutOracleASMFilesAboutOracleA SMInstancesOracleASM instance is built based on the same technology as the OracleDatabase instance. OracleASMinstan
About Oracle ASM Instances About Oracle ASM Disk Groups About aging and Failure Groups About Oracle ASM Disks About Oracle ASM Files About Oracle ASM Instances are built based on the same technology as Oracle Database Instances. Oracle ASM instan
-
About Oracle ASM Instances
-
About Oracle ASM Disk Groups
-
About grouping and Failure Groups
-
About Oracle ASM Disks
-
About Oracle ASM Files
About Oracle ASM Instances
The Oracle ASM instance is built based on the same technology as the Oracle Database instance. Oracle ASM instance has a System Global Area (SGA) and background process similar to the Oracle database instance. However, Oracle ASM runs fewer tasks than database instances, and Oracle asm sga is much smaller than SGA of database instances. In addition, Oracle ASM has little impact on server performance. The Oracle ASM instance is responsible for mounting the disk group so that the Oracle ASM file is available to the database instance. The Oracle ASM instance does not mount the database.
Oracle ASM is installed in Oracle Grid Infrastructure home, while Oracle Database is installed in a separate Oracle home. Both Oracle ASM and database instances need to share and access disks in the disk group. The Oracle ASM instance is responsible for managing the metadata of the disk group and providing the file layout information for the database instance.
Oracle ASM uses Oracle ASM metadata to control disk groups. The Oracle ASM metadata is located in the disk group and contains the following information:
-
Ing between a disk and Its disk group
-
Size of available space on the disk
-
File Name on the disk
-
Location of the extent of the data file in the disk group
-
Redo log that records information about automatically changing metadata Blocks
-
Oracle ADVM volume information
Oracle ASM can be clustered using Oracle Clusterware software. Each cluster node has one Oracle ASM instance. If multiple synchronized database instances exist on the same node, these database instances share an Oracle ASM instance on the node.
If an Oracle ASM instance on a node fails, all database instances on the Node also fail. Unlike the file system drive, an Oracle ASM instance does not need to be restarted if it fails. In the Oracle RAC environment, the Oracle ASM instances and database instances on the surviving nodes are automatically restored from the Oracle ASM instances on the failed nodes.
Figure 1-1 shows the configuration of a Single-node Oracle ASM instance serving multiple database instances. The Oracle ASM instance manages metadata and does not provide space allocation for the Oracle ASM file. When a database instance creates or opens an Oracle ASM file, the database instance first sends a request to the Oracle ASM instance. Then, Oracle ASM will respond and provide the extent bitmap information for the database instance.
In Figure 1-1, there are two disk groups: one disk group has four disks and the other has two disks. The database can access these two disk groups. Figure 1-1 shows that only one Oracle ASM instance can provide service configurations for multiple database instances.
Figure 1-1 Oracle ASM for Single-Instance Oracle Databases
Figure 1-2 shows an Oracle ASM cluster in the Oracle RAC environment. Oracle ASM provides a cluster-based storage pool. Each node has an Oracle ASM instance, and multiple Oracle RAC databases or single-instance databases in the cluster provide services. All databases are integrated and share two Oracle ASM disk groups.
Figure 1-2 Oracle ASM Cluster Configuration with Oracle RAC
As shown in figure 1-3, a cluster storage pool can be shared by multiple single-instance Oracle databases. In this case, multiple databases share the shared disk group. The shared Oracle ASM storage pool can be implemented through Oracle Clusterware. Note that Oracle RAC license is not required in such environments.
Whether or not you want to install Oracle RAC on a node, to share a disk group on multiple nodes, you must install Oracle Clusterware on all nodes to be shared. The Oracle ASM instance on a single node does not need to be part of the Oracle ASM cluster. However, if the Oracle ASM instance does not belong to an Oracle ASM cluster, nodes cannot communicate with each other. Multiple nodes that do not belong to an Oracle ASM cluster cannot share the Oracle ASM disk group.
Figure 1-3 Oracle ASM Cluster with Single-Instance Oracle Databases