After installing Veritas Storage Foundation for DB2 or Veritas Storage Foundation for Oracle, you must create and configure the repository database using the sfua_db_config
script.
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 sfua_db_config
script.
To create and configure the repository database
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 ....eth0
Enter the NIC for system host1 for HA Repository configuration: [eth0]
Discovering public NIC on host2 ....eth0
Enter the NIC for system host2 for HA Repository configuration: [eth0]
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
Public interface: host1 -> eth0,host2 -> eth0
Volume Name for mount point: dbed_rep
Diskgroup for mount point: sfua_rep
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:
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:
# /opt/VRTSdbcom/bin/sfua_db_config -o dbstatus
Database 'dbed_db' is alive and well on server 'VERITAS_DBMS3_host'.