Stanley,
ORA-27206 errors are mostly seen when these three references for the client's hostname do not match:
1. The client name in the Oracle policy
2. The CLIENT_NAME parameter in the client's "/usr/openv/netbackup/bp.conf" file
3. The $NB_ORA_CLIENT environmental variable
All three references must match each other. Examples of these differences include:
* Short name and fully qualified long name (i.e. "hostname" and "hostname.veritas.com")
* Case distinction between the hostnames (i.e. "hostname" and "HOSTNAME")
* Discontinued SERVER entries in the "/usr/openv/netbackup/bp.conf" files
* A hostname missing from the /etc/hosts file, or DNS
* If running multiple NICs, needing a REQUIRED_INTERFACE setting (page 158 of the NetBackup 5.1 System Administrator's Guide, Volume II for UNIX, available at "http://support.veritas.com/docs/268091")
* Using an IP address instead of a client's hostname
Sometimes explicitly specifying the policy, server and client in the RMAN script similar to the following has been known to fix the problem:
run {
allocate channel t1 type 'sbt_tape'
parms="ENV=(NB_ORA_POLICY= policy_name, NB_ORA_SERV= server_name, NB_ORA_CLIENT = client_name)";
allocate channel t2 type 'sbt_tape'
parms="ENV=( NB_ORA_POLICY= policy_name, NB_ORA_SERV= server_name, NB_ORA_CLIENT = client_name)";
backup
(database format 'bk_%s_%p_%t');
}
With VCS clustered clients, there may be the need to add some altname references for each client. For example, given two nodes in a VCS cluster ("node1", "node2") and a virtual name ("virt_name"):
1. In the Oracle policy specify the virtual name in the in the "clients" tab
2. Specify "CLIENT_NAME = virt_name" in the /usr/openv/netbackup/bp.conf file on the client.
3. On the master server:
mkdir /usr/openv/netbackup/db/alnames
echo "virt_name" > /usr/openv/netbackup/db/altnames/node1
echo "virt_name" > /usr/openv/netbackup/db/altnames/node2
The following bpclntcmd commands can help you confirm your server names. Please refer to page 37-39 of the NetBackup 5.1 Troubleshooting Guide at "http://support.veritas.com/docs/268196" for more information:
/usr/openv/netbackup/bin/bpclntcmd -pn
/usr/openv/netbackup/bin/bpclntcmd -hn
/usr/openv/netbackup/bin/bpclntcmd -ip
/usr/openv/netbackup/bin/bpclntcmd -hn
/usr/openv/netbackup/bin/bpclntcmd -ip < IP address of client>
Below is further information that may assist:
http://support.veritas.com/docs/233512
http://support.veritas.com/docs/252339
Hope this helps. Good luck.
Brice Avila