This section contains the procedure you need 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.
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.
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.
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 |
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.
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 |
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 |
Run the command scstat -D to identify the primary for a particular disk device group.
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 |
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 |
You must configure the NetBackup master server before you remove and link /usr/openv/volmgr/vm.conf file.