Sun Cluster 2.2 Software Installation Guide

Installing VERITAS NetBackup

After you have installed and configured the Sun Cluster product, install and configure the VERITAS NetBackup product, using the following procedure and your VERITAS documentation.

How to Install VERITAS NetBackup

  1. Start Sun Cluster.

  2. Install the VERITAS NetBackup packages from the VERITAS product CD-ROM into the /opt/openv directories on all nodes.

    The VERITAS NetBackup product is contained in two packages, SUNWmmgr and SUNWnetbp, available from your VERITAS product CD-ROM.


    Note -

    On all nodes, install the SUNWmmgr package first and the SUNWnetbp package second. This ordering is necessary because of package dependencies.


    During package installation, links are created automatically between /usr/openv and /opt/openv.


    # pkgadd -d . SUNWmmgr SUNWnetbp
    

  3. Select a logical host to be the NetBackup master server.

    In the examples throughout this procedure, the name nb-master refers to the logical host mastering NetBackup, and slave-1 refers to the slave server.

  4. Run the VERITAS NetBackup post-install script on all cluster nodes.

    1. Switch the NetBackup logical host you selected in Step 3 to its default master, and run the VERITAS NetBackup post-install script from the default master.

      The post-install script is contained in the SUNWnetbp package. When the script prompts you for the name of the master server, you must specify the logical host name rather than the default. No cluster-specific requirements exist for the slave servers--set them up as required for your configuration.


      phys-hahost1# haswitch phys-hahost1 nb-master
      phys-hahost1# /usr/openv/netbackup/bin/install_bp
      ...
      Would you like to use "phys-hahost1.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
      ...

    2. Switch the NetBackup logical host to another node, and run the post-install script on that node. Repeat as necessary until you have run the post-install script on all nodes.

      When the script prompts you for the name of the master server, specify the logical host name rather than the defaults, and set up the slave servers as required for your configuration.


      phys-hahost2# haswitch phys-hahost2 nb-master
      phys-hahost2# /usr/openv/netbackup/bin/install_bp
      ...
      Would you like to use "phys-hahost1.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
      ...

    3. Switch the NetBackup logical host back to its default master.


      phys-hahost1# haswitch phys-hahost1 nb-master
      
  5. On only the default master, modify the file /usr/openv/netbackup/bp.conf to specify that all requests to the backup server originate from the logical host.

  6. Modify the file to specify the logical host as the CLIENT_NAME, and add a new line to specify the logical host as the REQUIRED_INTERFACE. The resulting file should resemble this example, where nb-master is the name of the logical host:


    SERVER = nb-master
    SERVER = slave-1
    CLIENT_NAME = nb-master
    REQUIRED_INTERFACE = nb-master

  7. Move the NetBackup configuration files to the shared disk.

    In this example, diska is the mount point for the shared disk for the logical host nb-master. Run the following commands from the default master of the logical host, nb-master.


    # /usr/openv/netbackup/bin/goodies/K77netbackup
    # mkdir /diska/netbackup
    # mv /usr/openv/netbackup/bp.conf /diska/netbackup
    # mv /usr/openv/netbackup/db /diska/netbackup
    # mv /usr/openv/volmgr/database /diska/netbackup
    # ln -s /diska/netbackup/bp.conf /usr/openv/netbackup/bp.conf
    # ln -s /diska/netbackup/db /usr/openv/netbackup/db
    # ln -s /diska/netbackup/database /usr/openv/volmgr/database
    

    Then run the following commands from all other nodes.


    # /usr/openv/netbackup/bin/goodies/K77netbackup
    # rm -rf /usr/openv/netbackup/bp.conf
    # rm -rf /usr/openv/netbackup/db
    # rm -rf /usr/openv/volmgr/database
    # ln -s /diska/netbackup/bp.conf /usr/openv/netbackup/bp.conf
    # ln -s /diska/netbackup/db /usr/openv/netbackup/db
    # ln -s /diska/netbackup/database /usr/openv/volmgr/database
    

VERITAS NetBackup is now installed. Proceed to "Installing and Configuring Sun Cluster HA for NetBackup".