Let’s have look on New Features in Oracle 12c of ASMCMD. Below are the new features of Oracle 12c version.
1. Connecting to ASM instance of remote node:
Now we can connect to asmcmd prompt(asm instance) of remote node from local node.
SYNTAX – asmcmd –inst < REMOTE ASM INSTANCE NAME>
asmcmd --inst +ASM2
2.Move ASM password file using pwmove:
We can move the asm pwfile from one diskgroup to another diskgroup online using pwmove command.
Check the asm pwfile location
$ crsctl stat res ora.asm -p|grep PWFILE PWFILE=+MGMTDB/orapwASM $ crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online
Connect to asmcmd and run pwmove command
$echo $ORACLE_HOME $/crsapp/app/oracle/product/grid12c echo $ORACLE_SID +ASM1 $ asmcmd ASMCMD> pwmove --asm +MGMTDB/orapwASM +B2BWMDB/orapwASM moving +MGMTDB/orapwASM -> +B2BWMDB/orapwASM
Check the new location.
crsctl stat res ora.asm -p|grep PWFILE PWFILE=+B2BWMDB/orapwASM
Check the crs status:
$ crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online