Migrating Oracle ASM Disk Groups with Oracle Cluster Registry or Voting Files

Follow this procedure to migrate Oracle ASM disk groups with Oracle Cluster Registry (OCR) or voting files to Oracle ASMFD.

  1. As the root user, list the disk groups with OCR and voting files on one node.
    # $ORACLE_HOME/bin/ocrcheck -config
    # $ORACLE_HOME/bin/crsctl query css votedisk
  2. As the grid user, list the disks associated with each disk group.
    $ $ORACLE_HOME/bin/asmcmd lsdsk -G diskgroup
  3. Check if Oracle ASM is active.
    $ $ORACLE_HOME/bin/srvctl status asm
  4. As the root user, stop the databases and Oracle Clusterware on all nodes.
    # $ORACLE_HOME/bin/crsctl stop cluster -all
  5. As the grid user, label all existing disks in the disk group by running the following command for each disk on one node.
    $ $ORACLE_HOME/bin/asmcmd afd_label label disk_path --migrate
    
  6. Scan the disks on all cluster nodes.
    $ $ORACLE_HOME/bin/asmcmd afd_scan
  7. As the root user, start the Oracle Clusterware stack on all nodes and mount the OCR and voting files disk groups and databases.
    # $ORACLE_HOME/bin/crsctl start cluster -all