Automatic Storage Management Administrator's Guide
ContentsOpens a new window
Opens a new window
Page 76 of 609

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

To migrate Oracle ASM disk groups without Oracle Cluster Registry (OCR) or voting files to Oracle ASMFD:

  1. Log in as the Oracle Grid Infrastructure owner on any node to run the commands in this procedure.

  2. List the existing disk groups:

    $ $ORACLE_HOME/bin/asmcmd lsdg
    
    
  3. List the associated disks:

    $ $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. Label all existing disks in the disk group by running the following command for each disk on a Hub node:

    $ $ORACLE_HOME/bin/asmcmd afd_label label disk_path --migrate
    
    
  7. Scan the disks on all Hub nodes:

    $ $ORACLE_HOME/bin/asmcmd afd_scan 
    
    
  8. Start the databases and mount the disk group on all nodes:

    $ $ORACLE_HOME/bin/srvctl start diskgroup -diskgroup diskgroup