Sun Cluster 3.1 Data Service for Netbackup

Installing VERITAS Netbackup

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

How to Install VERITAS 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.

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

  2. Create a failover resource group to hold the network and application resources.

    You can optionally select the set of nodes that the data service can run on with the -h option, as follows.


    # scrgadm -a -g resource-group [-h nodelist]
    -g resource-group

    Specifies the name of the resource group.

    [-h nodelist]

    Specifies an optional comma-separated list of physical node names or IDs that identify potential masters. The order here determines the order in which the nodes are considered as primary during failover. If all of the nodes in the cluster are potential masters, you do not need to use the -h option.

  3. Verify that you have added all of your network resources to the name service database.

    You should have performed this verification during the Sun Cluster installation.


    Note –

    Ensure that all of the network resources are present in the server's and client's /etc/inet/hosts file to avoid any failures because of name service lookup.


  4. Enable the failover resource group and bring the resource group online.


    # scswitch -Z -g resource-group
    
    -g resource-group

    Specifies the name of the resource group.

    -Z

    Moves the resource group to the managed state, and brings the resource group online.

  5. Log on to the node that masters the logical host resource.

  6. Execute the install script to install the VERITAS Netbackup packages from the VERITAS product CD-ROM into the /usr/openv directory.


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

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

  8. 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
    
  9. Switch the Netbackup resource to the backup node, and repeat Step 5 through Step 9 until you install the Netbackup binaries on all the nodes that will run the Netbackup resource.

  10. 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.

  11. 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
  12. 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 -D 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 to verify register the Netbackup installation and configuration.