Video Screencast Help

RMAN server integration with Netbackup 7.1.0.3

Created: 08 Mar 2013 | 2 comments

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

Operating Systems:

Comments 2 CommentsJump to latest comment

Marianne's picture
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:

  1. Forward and reverse hostname lookup between client and master server. 
    Master must be able to resolve Client's IP address to the exact same hostname that is in Client tab of Oracle policy.
    Check connectivity from client to master with this command on client:
    bpclntcmd -pn
    Check that client resolves own hostname with same name as in the Oracle policy:
    bpclntcmd -self
    You can use bpclntcmd to verify forward and reverse lookup from master and client side.  See http://www.symantec.com/docs/TECH50198 and http://www.symantec.com/docs/TECH141117  
  2. Port connectivity between client and master. 
    Check that port 1556 is open in both directions between server and client.
    Check that Windows firewall is disabled on Oracle client.

 

 

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.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Abhishek Tomar's picture

Also check the size of nblog.conf file on client machine .

if its 0 kb or corrupt then also backup will fail.