After installing Veritas Storage Foundation for DB2 or Veritas Storage Foundation for Oracle, you must create and configure the repository database using the
The script detects whether your system is running in a stand-alone or HA configuration and then automatically configures the repository database.
Before running the script, review the following requirements:
sfua_db_config options indicates the options available for the
To create and configure the repository database
sfua_db_configscript as follows:
The following is an example of configuring Veritas Storage Foundation for Oracle:
Welcome to the SFORA configuration script.
This script creates repository for standalone and HA
Please create a Veritas File System on a Veritas Volume
and mount it, before starting configuration using this script.
This mount point will be used to store repository.
The following is required to configure SFORA repository for HA solution:
* A mount point of already mounted Veritas Volume on a shared
storage, with Veritas File system.
* A public NIC used by each system in the cluster.
* A Virtual IP address and netmask.
Are you ready to configure SFORA repository (y/n/q) [y]?
filesystem mount point for SFORA repository: /sfua_rep
Discovering public NIC on host1 ....bge0
Enter the NIC for system host1 for HA Repository configuration: [bge0]
Discovering public NIC on host2 ....bge0
Enter the NIC for system host2 for HA Repository configuration: [bge0]
Enter the Virtual IP address for repository failover: xx.xxx.xxx.xxx
Enter the netmask for public NIC interface: [xxx.xxx.xxx.x]
Following information will be used for SFORA HA configuration:
Public IP address: xx.xxx.xxx.xxx
Subnet mask: xxx.xxx.xxx.x
Public interface: host1 -> bge0,host2 -> bge0
Mount point: /sfua_rep
Volume Name for mount point: dbed_rep
Diskgroup for mount point: sfua_rep
Is this correct (y/n/q) [y]?
Adding repository information in VCS (HA) configuration...
Added repository information successfully in VCS (HA) configuration.
Repository configuration completed successfully for HA environment.
If you are installing in a high availability configuration:
#Group Attribute System Value
Sfua_Base State guan |ONLINE|
Sfua_Base State plover |OFFLINE|
Note: Sfua_Base group should be online on one node in the cluster.
If you are installing in a stand-alone configuration:
#Database 'dbed_db' is alive and well on server 'VERITAS_DBMS3_host'.
/opt/VRTSdbcom/bin/sfua_db_config -o dbstatus