RMAN on RAC ENV
How to configure RMAN on RAC 2 node ?
Is there any document to configure RMAN on RAC env and to integrate it with Networker.
Please recommend me document.
Did you read the fine networker guide on how to install and configure the module? The guide covers all required steps.
The basic steps are:
1. Create a client
2. Add the rman script as saveset
3. Add the rman wrapper script as backup command
4. Install the module on OS level
5. Configure RMAN
6. Create Scripts
7. Test it
If you are on Networker 7.5 or higher you also can create/configure RMAN scripts from within networker.
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.de
Similar Messages
-
Hi All
I am using RMAN to take bacup for my PRD instance. Now we are planning to migrate RAC (2 Node). kindly advice what are the changes/steps we need to take for RMAN use with RAC.
Thanks
KrishnaHi Krishna,
kindly advice me, do i need to do any setup for RMAN backup when my RAC noce1/node 2 goes fail over or shiwtch over.
I am a new for RAC so i am not aware of this.As best practices you should use a RMAN Catalog on different Host of Cluster. (Any Virtual Host can solve it, e.g VMWARE)
As you are moving your database to Cluster to HA, I don't recommend use any the nodes of cluster to start/store scripts backups.
Solution:
Use the Host where is stored RMAN Catalog to store your backup scripts too and start these scripts from this host, the utility RMAN works as client only... the backup is always performed on server side.
In RAC env if you start the backup from remote host using default SERVICE_NAME and if you are using parallelism the RMAN can start a session in each node and the backup be perfomed by all nodes at same time, this is not a problem, but you can have perfomance issue on your environment
I really don't like this... because it can increase the workload in all nodes of clusters... and it can be a problem to the application.
If you statically configure the channels connecting each host .. their backup scripts will fail if a node is down.
So, my recommendation is always create a set of nodes to perform the backup. As you have 2 nodes you should use one node to perform backup, while the other node is less loaded. If you are using Load Balance in your connection... the new connection will be directed to the least loaded node.
To accomplish it you can use SERVICES of RAC:
Create a Service on RAC to RMAN connect (e.g RMAN_BACKUP). The service should run on nodes 1 of the RAC, but is able to run on node 2 or 3 if nodes 1 are not available.
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/hafeats.htm
Configure a net service name using the local naming method on host of recovery catalog.
If you are using SCAN Feature do this above, if not put all VIP hostnames on Address.
e.g:
RMAN_BACKUP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node-scan.oracle.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = RMAN_BACKUP)
)Regardless of the node that is active your backup will be started if a node is active
This will only work if you are performing online backup. I hope so.
Hope this helps,
Levi Pereira
Edited by: Levi Pereira on Mar 3, 2012 5:49 PM -
Is there a way to have Virtual RAC env???
hello,
I was wondering if there is any way to have your own VIRTUAL RAC. i have heard about vmware i believe but dont know how exactly that works or as a matter of fact what it is??. It there a way or is it possible to have a virtual RAC env on your laptop or desktop?? If so then are there any guides on how to do this?? from step-step till the end? As i dont want to spend about 2 grand and build my own RAC system at my house, just to know how RAC works as i have never worked on RAC. ThanksHi,
You can build Oracle RAC env on your laptop, if it does have good hardware. Using VMWare software(www.vmware.com), you can create virtual nodes on your laptop and install Enterprise Linux operating system.
For how to build it, follow the steps given this link:
http://www.scribd.com/doc/320791/Install-Oracle-RAC-10g-on-Oracle-Enterprise-Linux-Using-VMware
All the best. -
Certifying my RAC Env. Need some pointers
Hi,
We are setting up a 4 node RAC system on Red Hat Linux 4 on a IBM Server. We knows this much.
Oracle RAC - 10gR2, Patch Level 4 (10.2.0.4)
Server - IBM X3950 M2 4-way Quad Core, Xeon 7350 2.93 FHz
Linux - Red Hat 4.
We are looking for what Kernel or requirements we need more for the Linux end of it? Any certain patches or updates or whatever for our RAC Env. Also the Oracle end of it as well.
Any help would be amazing.We are looking for what Kernel or requirements we need more for the Linux end of it?
(+) You can get more info on Linux from Metalink RAC: Frequently Asked Questions "Note:220970.1" Platform Specific -- Linux. -
Hi,
Planning to do major upgrade from R11i to R12.1.3 , can we do major upgrade on already RAC enabled database or is it preffered to run upgrade on a single instance.
Anyone has experience doing upgrade on RAC if so can you share your findings
ThanksWe just did a pilot and found lot of cluster wait when the Maintenance patch was doing updates on same table, we had 32 workers running and saw the waits when 32 workers was running same job in parallel as part of R12 MPCan you reproduce the issue with other patches? Or it is just specific to the maintenance pack patch
Did you made any parameter changes to work specific for RAC env if so can you shareNo.
For similar issues, I would suggest you log a SR.
Thanks,
Hussein -
Restoring RMAN Backup from ASM RAC env to Non ASM standalone environment
Hi,
Can anyone please tell me how to restore database using RMAN in a Non ASM environment as my backup file with ASM RAC environment.
i was also looking for some documentation which provides clear explanation about RMAN backup and Restore in ASM and Non ASM environment.
ThanksYou can set the parameter db_file_name_convert in init.ora in you new database with [ID 47325.1]
or
you can set parameter "set newname" in your script rman. [ID 549972.1]
if you have one or two destinations of dbfiles in ASM I seggest to you set parameter db_file_name_convert in init.
example:
db_file_name_convert=('+DGDATA','/u01/oradata/');
remenber you need set log_file_name_convert to.
log_file_name_convert=('+DGREDO','/u01/redo/');
if you use "set newname" commands you need set this lines in your script rman.
set newname for datafile 1 to '/u01/oradata/system01.dbf';
set newname for datafile 2 to '/u01/oradata/undotbs01.dbf';
set newname for datafile 3 to '/u01/oradata/sysaux01.dbf';
set newname for datafile 4 to '/u01/oradata/users01.dbf';
and every datafiles you need set!
Edited by: user1107977 on 21/07/2011 13:47 -
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=485988764) connected to recovery catalog database
RMAN> run {
2> resync catalog;
3> allocate channel oem_backup_disk1 type disk
4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
5> allocate channel oem_backup_disk2 type disk
6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
7> backup as COMPRESSED BACKUPSET tag=Nov100921
8> archivelog all not backed up 2 times;
9> release channel oem_backup_disk1;
10> release channel oem_backup_disk2;
11> }
12>
starting full resync of recovery catalog full resync complete
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
RMAN-06004: ORACLE error from recovery catalog database:
ORACLE error from recovery catalog database:
This is the error for RAC database. This error is because if i include recovery catalog in the script. if there is no recovery catalog then it is working fine.run {
allocate channel oem_backup_disk1 type disk format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
backup as COMPRESSED BACKUPSET tag=Nov100921 archivelog all not backed up 2 times;
release channel oem_backup_disk1;
it worked successfully.
if i run like this keeping it in script
run {
resync catalog;
allocate channel oem_backup_disk1 type disk
format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
allocate channel oem_backup_disk2 type disk
format '/misc/OraBackup/${3}/%d_ARCH_%T_%t_%s';
backup as COMPRESSED BACKUPSET tag=$TAG
archivelog all not backed up 2 times;
release channel oem_backup_disk1;
release channel oem_backup_disk2;
then i will get the error
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: TEST (DBID=485988764) connected to recovery catalog database
RMAN> run {
2> resync catalog;
3> allocate channel oem_backup_disk1 type disk
4> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
5> allocate channel oem_backup_disk2 type disk
6> format '/misc/OraBackup/TEST/%d_ARCH_%T_%t_%s';
7> backup as COMPRESSED BACKUPSET tag=Nov100921
8> archivelog all not backed up 2 times;
9> release channel oem_backup_disk1;
10> release channel oem_backup_disk2;
11> }
12>
starting full resync of recovery catalog full resync complete
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 11/10/2009 09:22:07
RMAN-06004: ORACLE error from recovery catalog database:
ORACLE error from recovery catalog database: -
Need help on my presentation for diff type of RAC env.
Hi,
My team and I are doing up a high level presentation to C-Level Tech’s for Pro’s and Con’s for two type’s of Env’s and we are drawing blanks and thought we would ask help from the Oracle community.
Env Option #1
3 node RAC on IBM P570’s with Oracle Services in use, using ASM and dedicating Node 3 as your reporting DB through Oracle Services (and potentially Node 2 as well).
Env Option #2
2 x 3 node RAC’ed on IBM P570’s. 1 LPAR on each server for RAC ENV1 for Production Env with Oracle Data Guard on the 2nd LPAR on each server as your RAC ENV2. ASM will still be used here but no Oracle Services.
We are looking for Pro’s and Cons’s for each option.What is the difference in your mind between fail over and disaster recovery (goals #2 and #3)? Those are normally synonymous.
Can 1 node handle all the processing of normal operations? If not, a two-node cluster doesn't provide much additional availability because as soon as one node fails, the surviving node would be overwhelmed. The same thing if you failed over to the single standby server in option #2-- it doesn't do much good to have a standby server that gets overwhelmed in the event of a failover.
Is the standby database in option #2 intended to be a logical standby? Or are you using Active Data Guard in 11g to allow queries against a physical standby? Should we assume that your database is amenable to logical standby (i.e. no disallowed data types, etc.)? Would you be creating additional reporting structures in the logical standby database to support reporting?
If the hardware is already purchased (which seems rather backwards-- normally you figure out how you want to deploy something before you buy the hardware), is the disk already purchased? Option #2 involves twice as much disk space as option #1.
Justin -
How to start RMAN in linux env?
Hi Gurus,
I am new to RMAN and trying to start RMAN in linux as follows.
$rman
when i am giving rman command ,nothing is comming..the cursor is blinking.
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME=$ORACLE_BASE/dbs
export PATH=$PATH:$ORACLE_HOME/bin
===========================
and rman executable is available in $ORACLE_HOME/bin.
$ cd $ORACLE_HOME/bin
$ pwd
/u01/app/oracle/dbs/bin
$ ls -ltr rman*
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rmanO
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rman
$
Please suggest me how to resolve this problem.
Regards
Nagendra.Nagendra2 wrote:
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME={color:#ff0000}$ORACLE_BASE/dbs{color}
export PATH=$PATH:$ORACLE_HOME/bin
===========================
I beleive your "ORACLE_HOME" is incorrect!
This may work better:
export ORACLE_SID=test
ORAENV_ASK=NO
. /usr/local/bin/oraenv
ORAENV_ASK=YES
The above will set your environment variables correctly.
:p -
Am i missing the most basic setting for RMAN in RAC?
DB version: 10.2.0.4
We've set up a 2 node RAC environment. Everything is working fine (failover,...etc).Each node can 'view' other node's archive log destination from OS level.
ie. When you type
df -hboth nodes can see each other's location of archive logs.
When i was trying to take a test LEVEL 0 backup, i got the following error.
Starting backup at 12-JUL-10
current log archived
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup plus archivelog command at 07/12/2010 19:32:27
RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
ORA-19625: error identifying file /u04/arch214/arch_603157736_2_47455.arc
ORA-27037: unable to obtain file statusI tried doing
crosscheck archivelog all;
delete expired archivelog all;as shown below.
RMAN> crosscheck archivelog all;
configuration for DISK channel 2 is ignored
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=1588 instance=cedar2 devtype=DISK
validation failed for archived log
archive log filename=/u04/arch214/arch_603157736_1_69607.arc recid=56811 stamp=724184789
validation failed for archived log
archive log filename=/u04/arch214/arch_603157736_1_69608.arc recid=56814 stamp=724188191
validation failed for archived log
archive log filename=/u04/arch214/arch_603157736_1_69609.arc recid=56815 stamp=724188719
validation succeeded for archived log
archive log filename=/data/arch215/arch_603157736_2_47455.arc recid=56816 stamp=724188726
Crosschecked 4 objects
RMAN> delete expired archivelog all;
starting full resync of recovery catalog
full resync complete
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=1588 instance=cedar2 devtype=DISK
List of Archived Log Copies
Key Thrd Seq S Low Time Name
135777 1 69607 X 12-JUL-10 /u04/arch214/arch_603157736_1_69607.arc
135786 1 69608 X 12-JUL-10 /u04/arch214/arch_603157736_1_69608.arc
135808 1 69609 X 12-JUL-10 /u04/arch214/arch_603157736_1_69609.arc
Do you really want to delete the above objects (enter YES or NO)? y
deleted archive log
archive log filename=/u04/arch214/arch_603157736_1_69607.arc recid=56811 stamp=724184789
deleted archive log
archive log filename=/u04/arch214/arch_603157736_1_69608.arc recid=56814 stamp=724188191
deleted archive log
archive log filename=/u04/arch214/arch_603157736_1_69609.arc recid=56815 stamp=724188719
Deleted 3 EXPIRED objects
RMAN> resync catalog;
starting full resync of recovery catalog
full resync completeBut i still keep getting
RMAN-06059: expected archived log not found, lost of archived log compromises recoverabilityWhenever i try to take a level 0 backup.
Am i missing some basic CONFIGURATION setting (persistent setting) here?The archivelog is actually at
/data/arch215/arch_603157736_2_47455.arc However, RMAN is looking for it at
/u04/arch214/arch_603157736_2_47455.arcThe path is different. Can you check the filename in v$ARCHIVED_LOG ?
Apparenly, the log_archive_dest_1 parameter is different in the two instances.
Have you configured multiple Channels appropriately to connect to the two instances ?
Hemant K Chitale
Edited by: Hemant K Chitale on Jul 13, 2010 3:40 PM -
In my database remote_login_passwordfile=EXCLUSIVE is set .(None and shared Can not be set due to Security issue.
Now My Question is I need some Authenticate Docs from Oracle Why we need to set Exclusive for OEM backup and RAC requirement .
2nd Question is I create one User for RMAN backup called "RMANBACUP" which have sysdba Permission.
Now Why you need this user has Sysdba Permission ?As I know for backup it read some sys and catalog tables ,but I need some authenticate Docs. from Oracle for our Audit purpose.
3rd Question:
Why Listener password can not be set for Oracle Fail safe . Need some Docs.hi sanjay,
this is the portal content management forum. for your database question please use the database forums:
http://forums.oracle.com/forums/index.jsp?cat=18
thanks,
christian -
Hi all,
Just a query with RMAN and backing up RAC databases.
Reading Metalink Note: 243760.1 (RMAN: RAC Backup and Recovery using RMAN) it suggests that, for a 2 node RAC cluster, 2 channels should be set up, with a connection to each instance. For example,
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
CONFIGURE CHANNEL 1 DEVICE TYPE DISK connect 'SYS/rac@node1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'SYS/rac@node2';
On our systems though, which we inherited, the backup script has 4 channels, but all of them connecting to Instance A). For example,
CONFIGURE DEVICE TYPE DISK PARALLELISM 4;
CONFIGURE CHANNEL 1 DEVICE TYPE DISK connect 'SYS/rac@node1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'SYS/rac@node1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'SYS/rac@node1';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'SYS/rac@node1';
Now, we have done backup/restoration testing and it all appears to work. I can confirm that both UNDO tablespaces are being backed up, and all archivelogs as well.
I believe the reason why all connections go to the A) node is because the backup storage is locally mounted on the A) node and accessible by the B) node over the private network.
(We use Sun Cluster to mount the backup storage globally between the nodes, with A) being the master/local access and B) having access over the network).
The question is, is there any critical reason why we should connect to each instance, or is it a best practice type thing (e.g. to share the load between nodes) ?
Thanks for you input.Hi I am trying to register 2 instances in the recovery catalog also. What was the order of operations?
Is this sequesnce correct?
[oracle@vtl-rman ~]$ set ORACLE_SID=fprcprod1
[oracle@vtl-rman ~]$ rman target sys/password@fprcprod1 catalog rman/password@fprccat
Recovery Manager: Release 10.2.0.3.0 - Production on Thu Sep 20 16:32:38 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
connected to target database: FPRCPROD (DBID=1881352426)
connected to recovery catalog database
RMAN> register database;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
1179 1180 FPRCPROD 1881352426 CURRENT 1 18-SEP-07
RMAN> CONFIGURE DEFAULT DEVICE TYPE TO DISK;
new RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE DISK connect 'sys/password@fprcprod1';
new RMAN configuration parameters:
CONFIGURE CHANNEL 1 DEVICE TYPE DISK CONNECT '*';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> CONFIGURE CHANNEL 2 DEVICE TYPE DISK connect 'sys/password@fprcprod2';
new RMAN configuration parameters:
CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT '*';
new RMAN configuration parameters are successfully stored
starting full resync of recovery catalog
full resync complete
RMAN> list incarnation; -
Rman cloning rac+asm_cold backup
Hi
i have a RAC db v11.2 ,which uses asm and backed up using rman (cold backup, back'd up to asm diskgroup).
is there any document on how to clone this db on the same cluster or remote cluster?
if I clone on the same cluster then I guess I need to give it a new name too...
can cloning change db characterset as well?
Edited by: user9198889 on Jan 6, 2011 8:49 AMHopes the below documents will help,
Need Document/Steps for Cloning RAC 11g.
http://download.oracle.com/docs/cd/E14072_01/rac.112/e10718/clonerac.htm
http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf
Thanks -
RMAN + restore rac on single instance...
Hi all,
Can I restore a backup or RAC Database on a single instance?
For example: DB1 is a RAC Database 10.2
I have a RMAN backup of DB1 on host A, copy all files to host B on same directory structure.
Can I restore this backup ??
If someone have any documentation or link, i apreciate too much.
ThanksYes, you can. Follow the scenario 'restore the database to a different host'. Be aware you'll need BOTH archive threads!!!
Sybrand Bakker
Senior Oracle DBA -
Refresh prod to testusing RMAN+ASM+RAC
Hi,
Is there any user guide or someone can guide me with basic steps which I need to to do in order to refrsh my Prod DB into my Test DB.
I need to do that every night while prod and test have different names and different servers.
My environments are with RAC, Oracle 11, ASM and by backup is RMAN.
I used to do that before using RAC and ASM with RMAN backup and restore.
I started doing it by Bakcup, Restore with rman and set datafile new name and after it nid to change dbname.
I guess that I don't know the steps correctly.
Thanks for any help.
Ran.The steps are :
Restore the Database (using RMAN). Optionally use SET NEWNAME to rename/relocate datafiles.
Recover the Database (using RMAN).
Rename the Database (using NID). If you are changing the SID again, ensure that you have the pfile/spfile for the new SID.
Hemant K Chitale
Maybe you are looking for
-
I have discovered FahCore_a4 running, how do I get rid of this pest?
I thought at one point it would be a good idea to try 'Folding at Home' from Stanford University. I ended up saying forget it, and I thought I had uninstalled it from my 2010 MacBook Pro. Shortly after what I thought was the uninstall, the computers
-
How to disable the future dates in Date pick calendar - SQL Server Reporting Services
Hi All, I have a scenario to run the report only for the Past days, and i have datepick calendar as a parameter for selecting Start Date and End Date. I want to control the Users by not to select the Future Dates in the End Date. In Other W
-
Brother MFC 9700 and Canon i960 will not print under Snow Leopard
After checking the compatibility documentation which indicated that the above printers had drivers which would work w/Snow Leopard, I upgraded to10.6. Now neither printer will work i.e. the document goes into the print queue but won't print. I've unp
-
Help Required :SharePoint 0nline office365
I need help finishing a Custom SharePoint 2013 Office 365 Web Part / App Part. Webpart Overview: The "Employee Spotlight" is ideal for a company intranet home landing page. This will help drive user adoption and encourages team members. Employee Spot
-
SQL Server Radio - A new podcast for SQL Server professionals
Hi everyone, We (Guy Glantser and Matan Yungman) have recently launched a new podcast for SQL Server professionals, called "SQL Server Radio". We release two shows a month, and basically talk about everything around SQL Server and the SQL Server comm