Examples of Using the Command Line Interface
This section provides examples for using the VERITAS Storage Foundation for Oracle command line interface to perform administrative operations. For more detailed information about the commands and their syntax and available options, see the individual manual pages.
Creating or Updating the VxDBA Repository Using dbed_update
You can use the VERITAS Storage Foundation for Oracle dbed_update command to create or update the repository for VxDBA.
Any time you change the structure of the database (for example, by adding or deleting datafiles, converting PFILE to SPFILE, or converting SPFILE to PFILE), you must run dbed_update.
Prerequisites
- You must be logged on as the database administrator (typically, the user ID oracle).
Usage Notes
- The dbed_update command creates a repository in the /etc/vx/vxdba/$ORACLE_SID directory where information used by VERITAS Storage Foundation for Oracle is kept. If the repository already exists, the command will refresh the information.
- The database must be up and running, and the ORACLE_SID and the ORACLE_HOME variable arguments must be specified with the -S and -H options, respectively.
- See the dbed_update(1M) manual page for more information.
To update the VxDBA repository
Use the dbed_update command as follows:
$ /opt/VRTS/bin/dbed_update -S PROD -H /oracle/product/9i
To view the status of the VxDBA repository
Use the dbed_update command with the -n option as follows:
$ /opt/VRTS/bin/dbed_update -S PROD -H /oracle/product/9i -n
VxDBA repository is up to date.
|