NetBackup 7.0.1 and Oracle with FailOver
Hi all,
I am trying to get configured a couple of RMAN scripts and NetBackup to run backups on my Databases.
The main problem I find is that NetBackup seems to rely on hostnames (or whatever you put in CLIENT_NAME in client's bp.conf).
The thing is that I have 2 servers, each one of them with one database, In case of a problem any of those DBs will failover to the other node. So the VIP or Virtual IP differs from the actual IP / hostname convination.
How should I configure Client / Server / Backup to be able to run the backups as expected? Remember I need to run other backup jobs on those nodes (for example OS file backups) and I cant configure the CLIENT_NAME as the VIP name.
I hope I made myself clear with the problem.
Thanks a lot in advance!
Keep local hostname in CLIENT_NAME entry in main bp.conf (/usr/openv/netbackup/bp.conf).
Create bp.conf file in the Oracle user's home directory
e.g:
SERVER = <master> CLIENT_NAME = <virtual-name>
See http://www.symantec.com/docs/HOWTO69052
Another option is to hard-code virtual name in the script with NB_ORA_CLIENT parameter in the script, e.g.ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_CLIENT=<virtual-name>)';ALLOCATE CHANNEL ch01 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_CLIENT=<virtual-name>)';or
ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
SEND 'NB_ORA_CLIENT=<virtual-name>';