03-08-2013 01:02 AM
Hi All,
I have a customer who has Multiple databases running on different hosts.
They have a seperate RMAN server where from they are able to take database backups on disks, even though the databases are hosted on different physical hosts.
I tried to take the backup onto tapes using netbackp when initiated from RMAN server, but they fail with below errors.
========================================
C:\oracle\Backup_Scripts\old>rman target system/uib@uib nocatalog @C:\oracle\Backup_Scripts\old\uib_tape.sql
Recovery Manager: Release 10.2.0.5.0 - Production on Mon Mar 4 15:27:24 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: UIB (DBID=1310865849)
using target database control file instead of recovery catalog
RMAN> run
2> {
3> Allocate channel ch1 device type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLIENT=BTH-MES-RMAN01,NB_ORA_POLICY=Test_oracle_mes1,NB_ORA_SERV=HMEL-BKP1)';
4> backup current controlfile tag "test";
5> release channel ch1;
6> }
7> exit
allocated channel: ch1
channel ch1: sid=740 devtype=SBT_TAPE
channel ch1: Veritas NetBackup for Oracle - Release 7.1 (20110203)
Starting backup at 04-MAR-13
channel ch1: starting full datafile backupset
channel ch1: specifying datafile(s) in backupset
including current control file in backupset
channel ch1: starting piece 1 at 04-MAR-13
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch1 channel at 03/04/2013 15:42:45
ORA-19506: failed to create sequential file, name="1ko3mi70_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
VxBSACreateObject: Failed with error:
Server Status: Communication with the server has not been initiated or the server status has not been retrieved from the serveC:\oracle\Backup_Scripts\old>rman target system/uib@uib nocatalog @C:\oracle\Backup_Scripts\old\uib_tape.sql
Recovery Manager: Release 10.2.0.5.0 - Production on Mon Mar 4 15:27:24 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: UIB (DBID=1310865849)
using target database control file instead of recovery catalog
RMAN> run
2> {
3> Allocate channel ch1 device type 'SBT_TAPE' parms 'ENV=(NB_ORA_CLIENT=BTH-MES-RMAN01,NB_ORA_POLICY=Test_oracle_mes1,NB_ORA_SERV=HMEL-BKP1)';
4> backup current controlfile tag "test";
5> release channel ch1;
6> }
7> exit
allocated channel: ch1
channel ch1: sid=740 devtype=SBT_TAPE
channel ch1: Veritas NetBackup for Oracle - Release 7.1 (20110203)
Starting backup at 04-MAR-13
channel ch1: starting full datafile backupset
channel ch1: specifying datafile(s) in backupset
including current control file in backupset
channel ch1: starting piece 1 at 04-MAR-13
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ch1 channel at 03/04/2013 15:42:45
ORA-19506: failed to create sequential file, name="1ko3mi70_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
VxBSACreateObject: Failed with error:
Server Status: Communication with the server has not been initiated or the server status has not been retrieved from the serve
+++++++++++++++++++++++++++++++++++++++++
Need help if someone has configured RMAN server with Netbackup
Regards
Mudasir
03-08-2013 01:39 AM
Server Status: Communication with the server has not been initiated or the server status has not been retrieved
The above error says that the client is trying to connect to the NBU master and is not getting any reponse.
2 things to check:
Not sure if you know about the NBU for Oracle Guide? http://www.symantec.com/docs/DOC3672
Look at the Toubleshooting section and ensure that all of the following logs exist:
On master: bprd (restart NBU for log to take effect)
On media server: bptm and bpbrm
On client: bpcd and dbclient
We will need logs to troubleshoot if failure is still seen after checking above 2 points.
04-11-2013 11:24 PM
Also check the size of nblog.conf file on client machine .
if its 0 kb or corrupt then also backup will fail.