Configuring Storage Foundation for Databases

This section describes the procedure to configure Storage Foundation for Databases, using the common product installer.

You can use this procedure to configure Veritas Storage Foundation for Oracle (SFORA), Veritas Storage Foundation for DB2 (SFDB2), or Veritas Storage Foundation for Sybase (SFSYB).

The example in this section shows a simple configuration on a single host. If you are installing a high availability product or installing on multiple hosts, there are additional configuration prompts.

See Configuring Storage Foundation and High Availability Solutions.

Some databases may require additional configuration steps. See the following sections for details.

See Creating and configuring the repository database for DB2 and Oracle.

To configure Storage Foundation product

  1. To invoke the common installer, run the installer command with the configure option, as shown in this example:

    # ./installer -configure
  2. When the list of available products is displayed, select the number correspnding to the product you want to configure, and press Return.

    You can use this procedure to configure Veritas Storage Foundation for Oracle (SFORA), Veritas Storage Foundation for DB2 (SFDB2), or Veritas Storage Foundation for Sybase (SFSYB).

    Select a product to configure:
  3. You are prompted to enter the system names (in the following example, "host1") on which the software is to be installed. Enter the system name or names and then press Return.

    Enter the system names separated by spaces on which to
    configure SF: host1
  4. During the initial system check, the installer checks that communication between systems has been set up.

    The installer requires that ssh commands used between systems execute without prompting for passwords or confirmations. If the installer hangs or asks for a login password, stop the installer and run it again with the ssh configured for password free logins, or configure rsh and use the -rsh option.

    See Configuring secure shell (ssh) or remote shell before installing products.

  5. The procedure checks system licensing, and you can enter additional licenses, if needed.

    Checking system licensing
    
    SF license registered on host1
    
    Do you want to enter another license key for host1? [y,n,q] (n) n
  6. When prompted to configure SMTP notification, enter n or y to configure. To configure SNMP notification, enter the following information. You can then confirm that it is correct, or enter it again.

    Do you want to configure SMTP notification? [y,n,q] (y) y
    Active NIC devices discovered on host1: bge0
    Enter the NIC for the SF Notifier to use on host1: [b,?] (bge0) bge0
    Is bge0 to be the public NIC used by all systems [y,n,q,b,?] (y) y
    Enter the domain-based hostname of the SMTP server
    (example: smtp.yourcompany.com): [b,?] smtp.mycompany.com
    Enter the full email address of the SMTP recipient
    (example: user@yourcompany.com): [b,?] user@mycompany.com
    Enter the minimum severity of events for which mail should be sent
    to user@163.com  [I=Information, W=Warning, E=Error,
    S=SevereError]: [b,?] E
  7. When prompted to configure SNMP notification, enter n or y to configure. To configure SNMP notification enter the following information. You can then confirm that it is correct, or enter it again.

    Do you want to configure SNMP notification? [y,n,q] (y) y
    Active NIC devices discovered on host1: bge0
    Enter the NIC for the SF Notifier to use on host1: [b,?] (bge0) bge0
    Is bge0 to be the public NIC used by all systems [y,n,q,b,?] (y) y
    Enter the SNMP trap daemon port: [b,?] (162) 162
    Enter the SNMP console system name: [b,?] host1
    Enter the minimum severity of events for which SNMP traps should
    be sent to host1  [I=Information, W=Warning, E=Error,
    S=SevereError]: [b,?] E
    Would you like to add another SNMP console? [y,n,q,b] (n) n
  8. If you are configuring Veritas Storage Foundation for Oracle or Veritas Storage Foundation for DB2, you are now prompted to configure permissions to allow database administrators (DBAs) access to the tools to support the Veritas Storage Foundation product. The default settings only allow access to the root user.

    Respond y to change permission for a DBA or a group of DBAs to access the support tools. When prompted, enter the login account or group name.

    For example, enter the following for a Veritas Storage Foundation for Oracle configuration:

    Do you want to add single user access on host1? [y,n,q,?] (y) y
    Enter login account name for DBA user: oracle
    Do you want to add group access on host1? [y,n,q,?] (y) y
    Enter group name for DBA users: oinstall
    Are you using the same DBA user/group for all systems? [y,n,q,?] (y) y
  9. The enclosure-based naming scheme (rather than disk device naming) is a feature of Veritas Volume Manager. You can reference disks using a symbolic name that is more meaningful than the operating system's normal device access name.

    See the Veritas Volume Manager Administrator's Guide

    Do you want to set up the enclosure-based naming scheme?
       [y,n,q,?] (n) n
  10. You are now given the option of specifying the default name of a disk group that is to be assumed by Veritas Volume Manager commands if a disk group is not otherwise specified.

    Enter n if you do not want to specify the name of the default disk group at this time. You can set the name of the default disk group after installation.

    See Setting the default disk group.

    If you specify the name of a default disk group, this step does not create the disk group. After installation, you can use the vxdiskadm command to create the disk group.

    Do you want to set up a default disk group for each system?
      [y,n,q,?] (y) y
  11. If you responded y, then enter the information for the default disk group name.

    Will you specify one disk group name for all eligible
    systems? [y,n,q,?] (y) y
    
    Specify a default disk group name for all systems. [?] dg001
  12. Validate the default disk group information, and press Return.

  13. You may be prompted to verify the fully qualified hostname of the systems. Press Return to continue.

  14. This product can be configured as a Storage Foundation Manager managed host or a stand-alone host.

    Several prerequisites are necessary to configure the system as a Storage Foundation Manager managed host.

    See the Veritas Storage Foundation Manager Installation Guide for more information.

    Enable Storage Foundation Management Server Management?
        [y,n,q] (y) n
  15. The Veritas Storage Foundation for databases software is verified and configured.

    You are prompted to start the Veritas Storage Foundation product processes.

    For example, when you configure Veritas Storage Foundation for Oracle, the following prompt displays:

    Do you want to start Veritas Storage Foundation for Oracle processes
    now? [y,n,q] (y) y
  16. The configuration and startup complete automatically.

    View the log file, if needed, to confirm the configuration.

    Configuration log files, summary file, and response file are saved at:
    
            /opt/VRTS/install/logs/installer-****
  17. The installation script prompts for a reboot if there are one or more errors. Reboot the system (or systems) if the install script prompts you to do so.

  18. If you installed Veritas Storage Foundation for DB2 or Veritas Storage Foundation for Oracle, create a new repository database.

    See Creating and configuring the repository database for DB2 and Oracle.