Failing over to an alternate server
Use the following procedure to enable automatic failover to an alternate server.
To enable automatic failover to an alternate server
- When automatic failover is necessary for a given server, NetBackup searches through the relevant FAILOVER_RESTORE_MEDIA_SERVERS list. NetBackup looks from left to right for the first server that is eligible to perform the restore.
Modify the NetBackup configuration on the primary server are as follows:
By using the NetBackup web UI:
On the left pane select Hosts > Host properties. Select the primary server and select Edit primary server. Open the Restore failover host properties.
Select Add. Add entries for the media server and the failover restore servers and select Add. Then select Save.
By modifying the bp.conf file on a UNIX NetBackup server:
As root, add the following entry to the
/usr/openv/netbackup/bp.conf file:FAILOVER_RESTORE_MEDIA_SERVERS = failed_host host1 host2 ... hostN
Where:
The failed_host is the server that is not operational.
The host1 ... hostN are the servers that provide failover capabilities.
There can be multiple FAILOVER_RESTORE_MEDIA_SERVERS entries and each entry can have multiple servers. However, a NetBackup server can be a failed_host in only one entry.
- Stop and restart the NetBackup Request daemon on the primary server.