Veritas Storage Foundation 5.1 SP1: Storage and Availability Management for Oracle (5900-1504, April 2011)
5
Run the SFDB commands as needed for your tasks.
6
After finishing your SFDB tasks:
■ Shut down the database.
■ Unmount the volumes.
7
Resume VVR replication.
Adding a virtual hostname after a DR failover
After a DR failover, you will need to add a virtual hostname to the SFDB repository.
■ As Oracle DBA, copy the repository from the primary host to the secondary
host.
For example, if your repository resides in /oradata, copy all the files in the
directory /oradata/.sfdb_rept from the primary host to the secondary host
with the same directory path.
■ As Oracle DBA, create a repository directory and create a symlink for the
repository.
For example:
$ mkdir /etc/vx/vxdba/$PRIMARY_DB_ORACLE_SID
$ ln -s /oradata/.sfdb_rept \
/etc/vx/vxdba/$PRIMARY_DB_ORACLE_SID/.sfdb_rept
The SFDB tools command dbed_update has two command line options:
-o list
-o rename,old_node=<old_name>,new_node=<new_name>
The command dbed_update -o listdisplays all the host names registered in the
repository.
For example:
$ dbed_update -S $ORACLE_SID -H $ORACLE_HOME -o list
dblxxeon04 1
The command dbed_update -o
rename,old_node=<old_name>,new_node=<new_name> is used to rename the
hostname from the old_name to the new_name.
For example:
285Deploying Storage Foundation for Databases (SFDB) tools in a replicated environment
Using Storage Foundation for Databases (SFDB) tools in a VVR environment