Sun Cluster 3.1 Data Service for NetBackup Guide

How to Enable NetBackup to Run on a Cluster

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

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


      Note –

      Use this client name to back up files in the cluster running Sun Cluster HA for NetBackup.


    • 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
    
  3. 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
      
    2. If the directory /usr/openv/db/var and the file /usr/openv/volmgr/vm.conf exist on the node, move them to the disk that is part of the failover disk device group.

      You must configure the NetBackup master server before you move and link /usr/openv/volmgr/vm.conf file.


      # mv /usr/openv/db/var /global/netbackup/nbdb
      # mv /usr/openv/volmgr/vm.conf /global/netbackup
      # ln -s /global/netbackup/nbdb /usr/openv/db/var 
      # ln -s /global/netbackup/vm.conf /usr/openv/volmgr/vm.conf
      

      Note –

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


    3. Run the following commands from all of the other nodes that will run the NetBackup resource.


      # 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
      
    4. On all of the other nodes that will run the NetBackup resource, if the directory /usr/openv/db/var and the file /usr/openv/volmgr/vm.conf exist on the node, run the following commands:


      # rm -rf /usr/openv/db/var
      # rm -rf /usr/openv/volmgr/vm.conf
      # ln -s /global/netbackup/nbdb /usr/openv/db/var
      # ln -s /global/netbackup/vm.conf /usr/openv/volmgr/vm.conf
      

      Note –

      You must configure the NetBackup master server before you remove and link /usr/openv/volmgr/vm.conf file.


Where to Go From Here

See Verifying the NetBackup Installation and Configuration to verify the NetBackup installation and configuration.