Migrating Oracle ASM Disk Groups Including OCR 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 existing disk groups.
    $ $ORACLE_HOME/bin/asmcmd lsdg
  3. List the disks associated with each disk group.
    $ $ORACLE_HOME/bin/asmcmd lsdsk -G diskgroup
  4. Check if Oracle ASM is active.
    $ $ORACLE_HOME/bin/srvctl status asm
  5. Stop the databases and dismount the disk group on all nodes.
    $ $ORACLE_HOME/bin/srvctl stop diskgroup -diskgroup diskgroup -f
  6. Scan the disks on all cluster nodes.
    $ $ORACLE_HOME/bin/asmcmd afd_scan
  7. Start the databases and mount the disk group on all nodes.
    $ $ORACLE_HOME/bin/srvctl start diskgroup -diskgroup diskgroup