Veritas 5.0.1 Installation Guide HP-UX 11i v3 (5900-2464, September 2012)

or after the installation. The configuration procedure for Storage Management for Oracle provides
an option to enable DBAs to access tools support for the Storage Management for Oracle product.
By default, only the superuser can access the /opt/VRTSdbed directory after the installation. For
information on configuring the Storage Management for Oracle, see “Configuring Storage
Management for Oracle (page 64).
The following examples show how you can provide a user and a group of users to access the
/opt/VRTSdbed directory:
To allow the user oracle to access the /opt/VRTSdbed directory, use the chown and
chmod commands, as follows:
# chown oracle /opt/VRTSdbed
# chmod 500 /opt/VRTSdbed
To allow users in the group dba to access the /opt/VRTSdbed directory, use the chgrp
and chmod commands, as follows:
# chgrp dba /opt/VRTSdbed
# chmod 550 /opt/VRTSdbed
Upgrading to the New Repository Database for DB2 and Oracle
If you are installing or upgrading Storage Foundation for DB2 or Storage Management for Oracle,
you need to either create a new repository database or migrate your old repository database to
the new version of Storage Management for Oracle. You can use the db2ed_update or
dbed_update commands to migrate your old repository database to the new version. To use the
db2ed_update or dbed_update command, you must be the instance owner or the database
administrator.
To upgrade your repository database, complete the following steps:
1. Create and configure the new repository database:
# /opt/VRTSdbcom/bin/sfua_db_config
2. Migrate your old repository information into the new repository database.
3. If you are upgrading Storage Foundation for DB2 in a single-host environment, run the
db2ed_update command:
$ /opt/VRTS/bin/db2ed_update -D DB2DATABASE
If you are upgrading Storage Foundation for DB2 in a high availability (HA) environment, run
the db2ed_update command with the -G option:
$ /opt/VRTS/bin/db2ed_update -D DB2DATABASE -G service_group
If you are upgrading Storage Management for Oracle in a single-host environment, run the
dbed_update command:
$ /opt/VRTS/bin/dbed_update -S $ORACLE_SID -H $ORACLE_HOME
If you are upgrading Storage Management for Oracle for Oracle in a high availability (HA)
environment, run the dbed_update command with the -G option:
$ /opt/VRTS/bin/dbed_update -S $ORACLE_SID -H $ORACLE_HOME \ -G
service_group
4. After the upgrade, the old repository database is marked with a hidden file name, such as
/etc/vx/vxdba/.instance_name, to prevent further updates. If you need to perform an
additional upgrade, you must remove the file.
Changing Permissions for Storage Management for Oracle
After installing the Storage Management for Oracle 5.0.1 patches, complete these post-installation
steps to ensure that the Storage Management for Oracle and Storage Foundation for DB2 commands
work correctly.
Upgrading to the New Repository Database for DB2 and Oracle 69