Database Reference
In-Depth Information
ASMCMD Command-line interface: asmcmd provides an option to convert a standard ASM to a Flex ASM.
The syntax of this conversion command is as follows:
$asmca -silent -convertToFlexASM
-asmNetworks interface_name/subnet, interface_name/subnet...
-asmListenerPort ASM_listener_port_numbe
For example, we can convert a standard ASM cluster to a Flex ASM with the following command:
$asmca -silent -convertToFlexASM
-asmNetworks eth1/192.168.9.0, eth2/192.168.9.0
-asmListenerPort 1521
Then you also need to execute the converttoFlexASM.sh script as the root user on all the nodes, one node
at a time. This command completes the conversion by restarting the ASM cluster to enable the Flex ASM. This
converttoFlexASM.sh script is located in the directory of $ORACLE_BASE/cfgtoollogs/asmca/scripts.
Managing Flex ASM
Once you initially configure a Flex ASM instance through OUI or through the conversion method, there is not much
specific work you need to do for this Flex ASM feature. You can do all the administrative work on a Flex ASM instance
in the same way that you do for a standard ASM instance. There is not any specific instance parameter designed
for the Flex ASM instance, and all the instance parameters for a Flex ASM instance are same as for a standard ASM
instance.
You can check whether or not Oracle ASM is enabled in your cluster environment using the asmcmd command:
$asmcmd showclustermode
ASM cluster : Flex mode enabled
The SRVCTL status command shows the cluster nodes where ASM instances run:
$ srvctl status asm -detail
ASM is running on knewracn2,knewracn1,knewracn4
ASM is enabled.
And the SRVCTL config command shows more details about the Flex ASM configurations:
$ srvctl config asm
ASM home: /u01/app/12.1.0/grid
Password file: +DATA1/orapwASM
ASM listener: LISTENER
ASM instance count: 3
Cluster ASM listener: ASMNET1LSNR_ASM
Notice that the ASM password is stored in ASM diskgroup, which is also an Oracle 12c ASM new feature.
 
Search WWH ::




Custom Search