cancel
Showing results for 
Search instead for 
Did you mean: 

RMAN Backup in linux

ratish
Level 3

Hi ,

 

I am using netbackup 7.1 as master server in windows platform. I need to configure the Oracle database online backup through RMAN.

I done the follwing steps.

In master server.

Created a new policy with policy type oracle.

In client installed netbackup 7.1 for linux.

The version of linux is Redhat Linux 6.2.

Copied the RMAN template fromt the location \usr\openv\netbackup\bin\Db_ext\orale\Hot_database_backup.sh and edited as mentioned 

ORACLE_HOME=**********
export ORACLE_HOME
 
# ---------------------------------------------------------------------------
# Replace ora102, below, with the Oracle SID of the target database.
# ---------------------------------------------------------------------------
 
ORACLE_SID=*******
export ORACLE_SID
 
# ---------------------------------------------------------------------------
# Replace ora102, below, with the Oracle DBA user id (account).
# ---------------------------------------------------------------------------
 
ORACLE_USER=******
 
# ---------------------------------------------------------------------------
# Set the target connect string.
# Replace "sys/manager", below, with the target connect string.
# ---------------------------------------------------------------------------
TARGET_CONNECT_STR=**********
 
#####################################################################
 
and i mapped the sh file in the policy and invoked thebackup But ist getting failed.Prompting for the error ;Unable to backup the required from client.
 
I there any thing else for confugering the backup.or i am using the proper template.
 
Regards,
Ratish Kumar
 
 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Have you linked the NBU plugin with Oracle?

See steps in NBU for Oracle Admin Guide for UNIX, Windows, and Linux  http://www.symantec.com/docs/DOC3672

Important to ensure successful forward and reverse hostname lookup between master and client - use hosts file entries if Linux server is not on DNS.
Check that OS firewall (iptables) on client is disabled.
Confirm lookup and connectivity using this command on the client:
/usr/openv/netbackup/bin/bpclntcmd -pn

To troubleshoot, ensure that the following log folders exist:

On master: bprd (Restart NBU Request Service to enable log)

On client: bpcd and dbclient
chmod 777 dbclient
(this is necessary to allow oracle user to write to this folder)

After next backup attempt, check log folders on client as well as rman .out file (see script for filename and location).
Check bprd log on master to see if connection/backup request was received from client.

Lastly - if you are not the Oracle dba, work with your dba to ensure successful backups and restores.

View solution in original post

5 REPLIES 5

Marianne
Level 6
Partner    VIP    Accredited Certified

Have you linked the NBU plugin with Oracle?

See steps in NBU for Oracle Admin Guide for UNIX, Windows, and Linux  http://www.symantec.com/docs/DOC3672

Important to ensure successful forward and reverse hostname lookup between master and client - use hosts file entries if Linux server is not on DNS.
Check that OS firewall (iptables) on client is disabled.
Confirm lookup and connectivity using this command on the client:
/usr/openv/netbackup/bin/bpclntcmd -pn

To troubleshoot, ensure that the following log folders exist:

On master: bprd (Restart NBU Request Service to enable log)

On client: bpcd and dbclient
chmod 777 dbclient
(this is necessary to allow oracle user to write to this folder)

After next backup attempt, check log folders on client as well as rman .out file (see script for filename and location).
Check bprd log on master to see if connection/backup request was received from client.

Lastly - if you are not the Oracle dba, work with your dba to ensure successful backups and restores.

sri_vani
Level 6
Partner

I think linking was nt done..

1)Pls ensure that proper linking is done between RMAN and Netbackup on linux machine.

http://www.symantec.com/business/support/index?page=content&id=HOWTO44742

2)is OS backup completing successfully?

3)Also verify the compatability..

http://www.symantec.com/business/support/index?page=content&id=TECH126904

Will_Restore
Level 6

Also, have you added the NetBackup for Oracle license key to the Master Server?

 

ratish
Level 3

 linked the NBU plugin with Oracle the plugin and there was some isue witht the database as well.Sorted out.

 

Thank you.

Marianne
Level 6
Partner    VIP    Accredited Certified

Thanks for getting back to us!

Please close off this discussion by selecting 'Mark as Solution' for the post that pointed you in the right direction.