You can perform the migration in one of the following ways:
Run the script with command line options
Run the script with a configuration file
Perform the following steps to migrate Oracle database instances from Oracle ASM disks to VxFS.
To migrate Oracle databases from Oracle ASM to VxFS
Using script options on the command line:
# asm2vxfs.pl -o oracle_base -s source_db -t target_db \ -n source_host -m mount_point -r recovery_file_destination \ -u username -p password
For example:
# asm2vxfs.pl -o /u01/app/oracle -s primarydb -t standbydb \ -n example.com -m /mount -r /mount/oracle/ \ -u user1 -p root123
Using the configuration file:
# asm2vxfs.pl -f config_file_name
For example:
# asm2vxfs.pl -f /root/config_file
Using script options on the command line:
# switchover.pl -s source_db -t target_db -n source_host \ -u username -p password
For example:
# switchover.pl -s primarydb -t standbydb -n example.com \ -u user1 -p root123
Using the configuration file:
# switchover.pl -f config_file_name
For example:
# switchover.pl -f /root/config_file
Do you want to unlink the original primary? <y/n>