regarding standby oracle DB bakcup
Hi ,
NBU 7.5
client :linux 5.9
oracle :11.2
i have two apllication servers which are configured as active / standy mode and both the servers have Oracle DB . i already sucessfully taken the bakcup of oracle DB in active server using hot_database_backup.sh RMAN script. so now i am trying to take the DB bakcup of standby server , so i have choosed the cold_database_backup.sh RMAN script and i am getting the blow error while run the bakcup on standby DB . so kindly help to resolve the issue and also let me know wny other method/script needs to be followed for standby DB server .
--------------------------------------------------------
com10:oracle # cat cold_database_backup.sh.out
Script /usr/openv/netbackup/ext/db_ext/oracle/samples/rman/cold_database_backup.sh
==== started on Tue Aug 19 09:38:40 GMT 2014 ====
RMAN: /opt/PlexView/Oracle/ora01/app/oracle/product/11.2.0/bin/rman
CMD: /opt/PlexView/Oracle/ora01/app/oracle/product/11.2.0/bin/sqlplus /nolog
ORACLE_SID: plxdb
ORACLE_USER: oracle
ORACLE_HOME: /opt/PlexView/Oracle/ora01/app/oracle/product/11.2.0
NB_ORA_FULL: 1
NB_ORA_INCR: 0
NB_ORA_CINC: 0
NB_ORA_SERV: vtcnb01
NB_ORA_POLICY: Vzw-Oracle-cold
Last login: Tue Aug 19 09:37:36 UTC 2014
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 19 09:38:40 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> Connected.
SQL> ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Last login: Tue Aug 19 09:37:36 UTC 2014
Last login: Tue Aug 19 09:38:40 UTC 2014
SQL*Plus: Release 11.2.0.1.0 Production on Tue Aug 19 09:38:50 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> Connected to an idle instance.
SQL> LRM-00109: could not open parameter file '/db/oracle/product/admin/ora102/pfile/initorac102.ora'
ORA-01078: failure in processing system parameters
SQL> Disconnected
Last login: Tue Aug 19 09:38:40 UTC 2014
Full backup requested
Last login: Tue Aug 19 09:38:50 UTC 2014
Recovery Manager: Release 11.2.0.1.0 - Production on Tue Aug 19 09:38:50 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> RMAN> 2> 3> 4> 5> 6> 7> 8> 9> 10> 11>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 08/19/2014 09:38:51
RMAN-06403: could not obtain a fully authorized session
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
RMAN> RMAN>
Recovery Manager complete.
Last login: Tue Aug 19 09:38:50 UTC 2014
Script /usr/openv/netbackup/ext/db_ext/oracle/samples/rman/cold_database_backup.sh
==== ended in error on Tue Aug 19 09:38:51 GMT 2014 ====
com10:oracle #
------------------------------------------------------------------------------------------------------------
regards,
Giri
I think he's referring to standby copy (data guard) type DB. I don't know if we can back up a standby database using cold script.
You definitely can't back it up hot as its not open.