Sun Cluster 3.0 12/01 Data Services Installation and Configuration Guide

Installing VERITAS NetBackup

After you install and configure Sun Cluster 3.0, use the following procedure and your VERITAS documentation to install and configure VERITAS NetBackup.

How to Install VERITAS NetBackup

  1. Ensure that Sun Cluster is running on all of the nodes.

  2. Bring the logical hostname resource online on the node on which you plan to install NetBackup.

    In the examples throughout this procedure, the name nb-master refers to the cluster node that masters NetBackup, and slave-1 refers to the media server.

  3. Execute the install script to install the VERITAS NetBackup packages from the VERITAS product CD-ROM into the /usr/openv directories on all of the nodes.


    phys-schost-1# ./install
    
  4. When the menu displays, choose Option 1 (NetBackup).

    This option installs both the Media Manager and the NetBackup software on the server.

  5. Follow the prompts in the installation script.

    The installation script adds entries to the /etc/services and /etc/inetd.conf files.


    phys-schost-1# ./install
    ...
    Would you like to use "phys-schost-1.somedomain.com" as the 
    configured name of the NetBackup server? (y/n) [y] n
    ...
    Enter the name of the NetBackup server: nb-master
    ...
    Is nb-master the master server? (y/n) [y] y
    ...
    Enter the fully qualified name of a media (slave) server (q to quit)? slave-1
    
  6. Remove the /etc/rc2.d/S77netbackup and /etc/rc0.d/K77netbackup files from each cluster node on which Sun Cluster HA for NetBackup is installed.

    If you remove these files, you prevent NetBackup from starting at boot time.

  7. On one node, modify the /usr/openv/netbackup/bp.conf file to specify the following information.

    • SERVER = logical-hostname-resource

      All requests to the backup server originate from the primary node. The server name equals the logical hostname resource.

    • CLIENT_NAME = logical-hostname-resource

      On a cluster that runs Sun Cluster HA for NetBackup, the CLIENT_NAME equals nb-master.

    • REQUIRED_INTERFACE = logical-hostname-resource

      This entry indicates the logical interface that the NetBackup application is to use.

    The resulting file should resemble the following example.


    SERVER = nb-master
    SERVER = slave-1
    CLIENT_NAME = nb-master
    REQUIRED_INTERFACE = nb-master
  8. From one node, put the NetBackup configuration files on a multihost disk.

    Place the files on a disk that is part of a failover disk device group that NetBackup is to use.

    1. Run the following commands from the primary node of the failover disk device group. In this example, the failover disk device group is global.


      # mkdir /global/netbackup
      # mv /usr/openv/netbackup/bp.conf /global/netbackup
      # mv /usr/openv/netbackup/db /global/netbackup
      # mv /usr/openv/volmgr/database /global/netbackup
      # ln -s /global/netbackup/bp.conf /usr/openv/netbackup/bp.conf
      # ln -s /global/netbackup/db /usr/openv/netbackup/db
      # ln -s /global/netbackup/database /usr/openv/volmgr/database
      

      Note -

      Run the command scstat -p to identify the primary for a particular disk device group.


    2. Run the following commands from all of the other nodes.


      # rm -rf /usr/openv/netbackup/bp.conf
      # rm -rf /usr/openv/netbackup/db
      # rm -rf /usr/openv/volmgr/database
      # ln -s /global/netbackup/bp.conf /usr/openv/netbackup/bp.conf
      # ln -s /global/netbackup/db /usr/openv/netbackup/db
      # ln -s /global/netbackup/database /usr/openv/volmgr/database
      

Where to Go From Here

See "Installing Sun Cluster HA for NetBackup Packages" to register Sun Cluster HA for NetBackup and configure the cluster for the data service.