Forum Discussion

Ajith_Sankar's avatar
10 years ago

Oracle backup failed

Hi Folks

I have oracle server which is in cluster with two nodes, active and passive. I configured policy with cluster name. When i checked the client property of the clustername, it shows the client name as node2.But when i start the backup it failed with sc6. I tried the db backup with only node1 in policy,it was success.But i am changing the clientname in the script and initiating the backup for node2, it failed again with sc6. And the script output file shows below.Also attached bphdb log.

I believe the oracle instance is not here in node2 and it is active in the node1. Even i checked with oracle dba he confirmed node1 is active. But the client propery of the clustername displays the clientname as node2 that means activenode is node2. Confused. 

Script "D:\DB_script\dcaabsdb_Daily_bkp1.cmd" 
==== started on Mon 12/08/2014  08:07 ==== 

Recovery Manager: Release 11.2.0.1.0 - Production on Mon Dec 8 20:07:25 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

connected to target database (not started)

RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11> 12> 13> 14> 15> 16> 17> 18> 19> 20> 21> 22> 23> 24> 25> 26> 27> 28> 29> 30> 
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 12/08/2014 20:07:26
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist

RMAN> 

Recovery Manager complete.
Script "D:\DB_script\dcaabsdb_Daily_bkp1.cmd" 
==== ended in error on Mon 12/08/2014  08:07 ==== 

 

  • When you set up a MSCS cluster (or FOC) it would aks you for a clustername, and IP. But this is as the name suggests, for the cluster, not for the application. It is for you to connect to for management purposes. Suppose you have a cluster with 2 Oracle Databases in 2 groups. If you'd like to run these one of these groups on each server (which I believe MSCS can do same as VCS) then how would people connect to the oracle group that is not co-located with the Quorum / Cluster name?

     

    That is why you have an IP / Name in the group for the application you're clustering and NOT in some other unrelated group. Clustering is supposed virtualise the application so that it can move freely between nodes without the users having to worry about where it ir residing. In your config that is not achieved.

     

    So, Cluster names/IPs are for the cluster, Database (oracle) names/IPs are for Oracle.

     

    Hope that helps :)

14 Replies