Q: Oracle RAC backup
Hi Guys,
I'm new in RAC. I have a Oracle RAC database with 2 nodes. I want to know if it is good/appropriate to backup the 2 nodes instead of 1. Since I believe they both use the same database.
Thanks,
Benjo
>
Currently we are backing up two nodes of the Oracle RAC individually. What is on my mind is to backup only 1 node and that is all.
>
It seems to me that you should first get a clear understanding of what to backup . There is only one database to backup in a RAC, regardless of the number of nodes. If you are happy to connect with RMAN to one node and take a backup there, everything is fine. There is no need to connect to the other node and do the same there.
That is, if you have placed the archivelogs on the shared storage. This is a best practice. If they are on node-local devices, there is actually something node specific to backup. Else there is not.
Kind regards
Uwe
http://uhesse.wordpress.com
Similar Messages
-
Oracle RAC and Oracle Secure Backup Express
I am building a new RAC environment - 7-Nodes on Linux.
We are very interested in reviewing Oracle Secure Backup, possible Oracle Secure Backup Express.
My understanding about Oracle Secur eBackup Express is it is licensed "free" as long as you are working with a single tape drive.
Does anyone know - does this apply to RAC as well?
ThanksPlease refer to the OSB licensing document for
specific differences between OSB-XE and OSB:
http://download-west.oracle.com/docs/cd/B32520_01/doc/
license.101/b25528/toc.htm
In general, we recommend you backup each RAC node to
insure all local files are protected which would mean
the OSB-XE edition would not be recommended since
OSB-XE is backup of one server.Thank you - I will review this.
.. and your White Papers regarding performance were just what I was looking for. -
Getting error when try to backup oracle rac to another location
Hi there,
I am attempting to backup database to another location from a Oracle RAC database version 11gr2. Here is my script:
#!/bin/ksh
export ORACLE_SID=vvsms1
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log append <<EOF
RUN {
CROSSCHECK BACKUP;
CROSSCHECK ARCHIVELOG ALL;
ALLOCATE CHANNEL CHANNEL1 TYPE DISK FORMAT '/home/oracle/backup/vvsms/backup_%U';
BACKUP INCREMENTAL LEVEL 0 TAG 'incr_vvsms' DATABASE;
BACKUP ARCHIVELOG ALL;
DELETE OBSOLETE;
RELEASE CHANNEL CHANNEL1;
EXIT;
EOF
I write it into a .sh file and set crontab to run it. But when it run i get the error like these:
Starting backup at 22-OCT-12
channel CHANNEL1: starting incremental level 0 datafile backup set
channel CHANNEL1: specifying datafile(s) in backup set
input datafile file number=00002 name=+DISK2/vvsms/datafile/sysaux.289.794242439
input datafile file number=00006 name=+DISK2/vvsms/datafile/ts_service.dbf
input datafile file number=00007 name=+DISK2/vvsms/datafile/ts_viviet.dbf
input datafile file number=00008 name=+DISK2/vvsms/datafile/viviet.dbf
input datafile file number=00009 name=+DISK2/vvsms/datafile/ts_vivietct_primary.dbf
input datafile file number=00003 name=+DISK2/vvsms/datafile/undotbs1.290.794242445
input datafile file number=00001 name=+DISK2/vvsms/datafile/system.288.794242429
input datafile file number=00004 name=+DISK2/vvsms/datafile/undotbs2.292.794242453
input datafile file number=00005 name=+DISK2/vvsms/datafile/users.293.794242455
channel CHANNEL1: starting piece 1 at 22-OCT-12
released channel: CHANNEL1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on CHANNEL1 channel at 10/22/2012 01:50:16
ORA-19504: failed to create file "/home/oracle/backup/vvsms/backup_2anobqu5_1_1"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
I don't know what i'm wrong? The location is correct ("/home/oracle/backup/vvsms/).
Please suggest me some things about it. What do i need to do?
Thanks in advance!
P/s: Sorry for my bad English./u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log appendThis line can be your problem.
As this database is a RAC and your are using a service with load balance "vvsms" and "/home/oracle/backup/vvsms" is not a shared location. RMAN is starting a session on Other node where "/home/oracle/backup/vvsms" does not exists.
Try change it :
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log appendTo this (using Easy Connect Method):
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@localhost:1521/VVSMS log /home/oracle/log_rman/vvsms.log appendWhere:
localhost: your local node
VVSMS : is the service of database
Also check if "/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora" have configured the line "NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)"
P.S : When RMAN start a session it show where is logged, check on logs what instance RMAN was logged.
HTH,
Levi Pereira -
RMAN backup in ORACLE RAC database
Hi there,
We are using RMAN backup strategy for taking backups from one node(eg.node1).Database is RAC database, version 9.2.3. and OS is Solaris 5.10.
this is the configuration which we use, as follows:
Connecting to Prod.Database using catalog database.
rman catalog=rman/rman@CATDB target=sys/oracle@PRODDB(node 2).
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 30;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rmanback/_%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/CMWPROD_%s.bak';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK CONNECT 'SYS/oracle@PRODDB(node2)';
CONFIGURE MAXSETSIZE TO 7 G;
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/9.2.3/dbs/snapcf_CMWPROD1.f';
As the above config shows RMAN is connecting to PROD DB (node 2). But we need to take backups (datafiles and as well as archive logs) from two nodes (i.e from node 1 and as well as node 2).
Is there any possibility for taking backups from two nodes?
Thanks,
Balu.Duplicate thread
RMAN configuration in ORACLE RAC database
Khurram -
Oracle 11gR2 RAC Backup & Recovery
I am new to Oracle RAC, I have installed Oracle 11gR2 RAC (2 node) on HP-UX with ASM, configured FRA location on ASM.
Now I would like to configure RMAN backup, Can someone give some idea or document to setup RMAN backup for Oracle 11gR2 RAC.
- ManoManoRangasamy wrote:
I am new to Oracle RAC, I have installed Oracle 11gR2 RAC (2 node) on HP-UX with ASM, configured FRA location on ASM.
Now I would like to configure RMAN backup, Can someone give some idea or document to setup RMAN backup for Oracle 11gR2 RAC. There won't be any different settings for RMAN for RAC except for where and how you would be configuring the Archive logs and place your backups. Both, ideally speaking, should be on the shared storage like ASM but there are other combinations also possible. Review the above given links for the same. That should provide a good starting point.
Aman.... -
How to backup oracle RAC filesystem
Hello,
May anyone in this community might help to answer on my inquiry on how to backup oracle RAC filesystem. There are many backup features available out there i.e: RMAN, hotbackup etc but the way the backup is working is RMAN will backup and stored the db file in the filesystem. I presume the filesystem also need to be backed up in order to avoid the filesystem corrupted etc
RegardsHi,
Always welcome ..
when you want to take backup of all the database components of RAC, that's why i advised you to include the all commands in your backup strategy, so that in any case your any components doesn't work , you can restore the particular one .
One thing you can do , you are running your RAC environment on Vsphere , in that case , create a backup plan with the client and your IT team to take backup of whole environment by creating snapshot of Vsphere along with backup plan mentioned by me in above reply , so in worst scenario your whole environment can be restored .
I have seen that if RAC environment is running on VMware , then its best to take snapshot of whole machine which should be defined in backup policy apart from normal backup of database.
Thanks
Shivendra Narain Nirala -
Hello,
I am newbie with Oracle RAC 11g.
So, I do the following steps to configure RMAN to back up the Oracle RAC:
- Create a tablespace to RMAN User;
- Create the user rman;
- Connect to catalog (the databsae RAC itself);
- Register the database;
- Create the "complete_backup" script on catalog.
So, when I enter on Enterprise Manager, I can see
the "Availability" tab and the "Recovery Catalog Settings" link.
I setup the user rman that I've created with the host RAC1.
Is this really necessary on EM? The "Backup Setting" on EM
is equals to rman (database user) catalog?
When I go to "Schedule backup", I want to use the "complete_backup" script
that I've created. What the best way to schedule this script
to run each sunday, for example?
Thank you.Hi,
To perfom a test you can create a new single database (RCVCAT) in one of the hosts that you have.
Create a database without any option with and use minimum of memory (don't use memory_target) set pga (50M) and sga(400M).
Create a user RMAN; with Grant connect,resource,recovery_catalog_owner.
Tablespace RCVCAT;
With RMAN connect on RCVCAT and create your catalog.
Levi Pereira -
The Backup Process was killed by system when I Backup Oracle RAC
HI all:
I use RMAN and MML to backup my Oracle Rac. When it backup 60GB (it total 300GB),the oracle backup process was killed by the system.
the follow is the system log from syslog.log file:
Jan 5 10:54:57 hpux01 vmunix: Pid 24142 was killed due to failure in writing the signal context - possible stack overflow.
And the follow is the trc log from Oracle:
/ora_backup/szyy/orcl_ora_24142.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
ORACLE_HOME = /u01/app/oracle/product/10.2.0/racdb
System name: HP-UX
Node name: hpux01
Release: B.11.31
Version: U
Machine: ia64
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 131
Unix process pid: 24142, image: oracleorcl@hpux01
*** 2012-01-05 09:55:32.576
*** ACTION NAME:(0000067 STARTED16) 2012-01-05 09:55:32.567
*** MODULE NAME:(backup incr datafile) 2012-01-05 09:55:32.567
*** SERVICE NAME:(kmyb) 2012-01-05 09:55:32.567
*** SESSION ID:(4044.1365) 2012-01-05 09:55:32.567
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 09:58:59.396
*** ACTION NAME:(0000071 STARTED16) 2012-01-05 09:58:59.396
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 09:59:28.666
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:00:27.749
*** ACTION NAME:(0000073 STARTED16) 2012-01-05 10:00:27.749
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:04:40.215
*** ACTION NAME:(0000077 STARTED16) 2012-01-05 10:04:40.215
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:05:20.131
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:06:49.812
*** ACTION NAME:(0000079 STARTED16) 2012-01-05 10:06:49.812
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:07:23.498
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:09:06.092
*** ACTION NAME:(0000081 STARTED16) 2012-01-05 10:09:06.091
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:11:26.153
*** ACTION NAME:(0000083 STARTED16) 2012-01-05 10:11:26.153
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:12:50.144
*** ACTION NAME:(0000085 STARTED16) 2012-01-05 10:12:50.144
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:15:09.731
*** ACTION NAME:(0000087 STARTED16) 2012-01-05 10:15:09.731
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:17:47.068
*** ACTION NAME:(0000089 STARTED16) 2012-01-05 10:17:47.068
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:18:29.698
*** ACTION NAME:(0000091 STARTED16) 2012-01-05 10:18:29.698
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:20:32.236
*** ACTION NAME:(0000093 STARTED16) 2012-01-05 10:20:32.236
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:20:57.822
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:23:11.251
*** ACTION NAME:(0000095 STARTED16) 2012-01-05 10:23:11.251
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:25:21.496
*** ACTION NAME:(0000097 STARTED16) 2012-01-05 10:25:21.496
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:26:40.743
*** ACTION NAME:(0000099 STARTED16) 2012-01-05 10:26:40.743
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:26:52.331
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:27:11.566
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:27:24.826
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:31:00.760
*** ACTION NAME:(0000103 STARTED16) 2012-01-05 10:31:00.759
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:31:25.595
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:31:45.456
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:33:58.612
*** ACTION NAME:(0000105 STARTED16) 2012-01-05 10:33:58.612
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:35:13.323
*** ACTION NAME:(0000107 STARTED16) 2012-01-05 10:35:13.323
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:37:59.764
*** ACTION NAME:(0000109 STARTED16) 2012-01-05 10:37:59.764
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:42:27.364
*** ACTION NAME:(0000113 STARTED16) 2012-01-05 10:42:27.364
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:46:54.632
*** ACTION NAME:(0000117 STARTED16) 2012-01-05 10:46:54.632
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:47:52.295
*** ACTION NAME:(0000119 STARTED16) 2012-01-05 10:47:52.295
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:52:31.041
*** ACTION NAME:(0000123 STARTED16) 2012-01-05 10:52:31.041
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:54:20.123
*** ACTION NAME:(0000125 STARTED16) 2012-01-05 10:54:20.123
WARNING:Oracle process running out of OS kernel I/O resources
*** 2012-01-05 10:54:41.410
WARNING:Oracle process running out of OS kernel I/O resources
WARNING:Oracle process running out of OS kernel I/O resourcesThis was a bug in 10.2.0.3. It is fixed in 10.2.0.5. See MOS note 748607.1
-
Restore Oracle DB Backup on RAC with ASM on Standalone server
Dear Experts,
We have our Production Enviornment on Linux as OS and Oracle DB on RAC and ASM. We are taking the backup through DB13 of Production system.
We want to rectify whether the above backup is restorable or not. For this, we want to restore the backup on Single Standalone system without RAC and ASM.
My questions is 1) Is it possible to restore database from RAC and ASM to normal Standalone server ?
2) If possible, can anyone let me know the challenges we could face during the same procedure.
Looking forward for suggestions.
Regards,
KKHi Ketul,
I suppose restoration can be done to standalone system using brtools.
Refer steps in
SAP note 1627541 - BR*Tools support for Oracle ASM and Exadata/ODA
905359 - Using BR*Tools for Oracle RAC databases
Hope this helps.
Regards,
Deepak Kori -
Problems doing backup in Oracle RAC
I am working with ORacle RAC, version 10G. That thing about Oracle RAC is completely new for me. There is three databases, I'm doing backups using OEM, but here is the problem. We have defined the directory /backup in both nodes. The problem that I have is when I do the backup it's done in one node, example, today I do the backup, it's done in NODE1/backup. The next time I'm going to do a new backup by any reason the aplication (OEM) is pointing to the NODE2/backup. So here is the problem, if I need to use the first backup, I can't use it, because OEM is pointing to NODE2 instead on NODE1. My question is, how can I set the node, with OEM where I want to do backup or retrieve a prevoius backup?
Thanks for your help.Thanks a lot forn your suggestion, but I think I should give you more details about my doubt.
The following are the steps for a backup with Oracle Enterprise Manager
steps
Thru OEM
Maintenance
BACKUP/RECOVERY
Schedule Backup
Archive Logs (Whole Database, etc.)
Then here I click override current settings, by the way, the default is spaces, so I type /backup, but problem is that directory exist in both node, Node1 and Node2, I'm working with oracle 10G, RAC, in a operating system AIX 5.3.
Then I click Compressed Backup Set, and that's all what I'm doing. But the problem is, sometimes the backup is done in Node1 and other in Node2. And if I need to restore from any previous backup that was done in NODE2, and the application (OEM) is pointing to NODE1, and can not use that previous backup. So, my question is how can I control this, using OEM. I mean, How can I set the Node, to identify in which node the backup will be done, or in which node is the backup I'm going to restore.
Thanks again -
Hi All
I am installing Oracle RAC 10g 10.2.0.1 on HP-UX B.11.31 U ia64 but can not complete
hosts file
#Public IPs
10.144.1.111 spgdb01
10.144.1.112 spgdb02
#Private IPs
10.144.2.2 spgdb01p
10.144.2.3 spgdb02p
#Virtual IPs
10.144.1.113 spgdb01v
10.144.1.114 spgdb02v
I do installation with runInstaller without error. It copy and link is ok. When I run root.sh then It cannot complete as following
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/product' is not owned by root
WARNING: directory '/oracle' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 0: spgdb01 spgdb01p spgdb01
node 1: spgdb02 spgdb02p spgdb02
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
Now formatting voting device: /ora/crs/votedisk01
waitpid(-1, 0x7fffdf50, WUNTRACED) .................................................................................................... [sleeping]
Now formatting voting device: /oracle/oradata1/crs/votedisk02
Now formatting voting device: /oracle/oradata2/crs/votedisk03
Format of 3 voting devices complete.
Startup will be queued to init within 30 seconds.
====================
I have waited for 10 mins but still not complete
Additionally, log from runInstaller, I got
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-04-28_12-13-31AM. Please wait ...-bash-4.2$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Private Interconnect : null
Private Interconnect : null
Private Interconnect : null
Private Interconnect : null
So, please help me fix this issue
Thank youI had this problem and resolved it by transporting the file to the installation server with the correct ftp datatype (binary).
On page 54 of the install guide (..Server\Oracle_Business_Intelligence\doc\doc\bi.1013\b31765.pdf) that comes with the installation files, there is an instruction to make sure that any ftp activity is done in binary.
This may not have occured with the license.xml file if you use a tool which offers the "feature" of automatic datatype recognition.
Hope this helps. -
Oracle RAC 10g on Solaris x86 using vmware
Guys,
I am practising 10g RAC installation on my laptop, wherein I have vmware workstation and
solaris-x86 version 10 installed on it.
I am trying to install Oracle 10g clusterware.
I have followed the steps for clusterware installation.
I am facing an errror on one of the node while running root.sh.
On the first node, the root.sh runs fine.
The following is the log.
bash-3.00# ./root.sh
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: xsan001 xsan001-priv xsan001
node 2: xsan002 xsan002-priv xsan002
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/rdsk/c0d0s4
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
xsan001
CSS is inactive on these nodes.
xsan002
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.
=============================
On the second node, the root.sh gives error.
bash-3.00# ./root.sh
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: xsan001 xsan001-priv xsan001
node 2: xsan002 xsan002-priv xsan002
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Now formatting voting device: /dev/rdsk/c0d0s4
Format of 1 voting devices complete.
Startup will be queued to init within 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Failure at final check of Oracle CRS stack.
10
Can you provide some sort of clue what could be done to resolve the above error?Refer to http://www.oracleracsig.org/ Under documents section select OS=Solaris. You will find a document on Oracle RAC on Solaris10 using Vmware.
-
Oracle Rac 11.2.0.3 doubts
Hi experts,
Current system info:
server 1 with Redhat 6.5 and Orale ASM with SAP ECC 6 GRID 11.2.0.3 standalone installation
Target system info:
Server 1 and server 2 running RAC 11.2.0.3 with SAP ECC 6 and RedHat 6.5 GRID with cluster
We are trying to convert our current system to oracle RAC but have some doubts.
We are following "Configuration of SAP NetWeaver for Oracle Grid Infrastructure 11.2.0.2 and Oracle Real Application Clusters 11g Release 2: A Best Practices Guide" so:
On page 29 It says: "Prepare the storage location for storing the shared ORACLE_HOME directory in the cluster. The Oracle RDBMS software should be installed into an empty directory, accessible from all nodes in the cluster" Same thing for ORACLE_BASE for the RDBMS, SAP subdirectories (sapbackup, sapcheck, sapreorg, saptrace, oraarch etc.) and homedirectories for SAP users ora<SID> and <SID>adm to a shared filesystem.
1.-Can we just use NFS for sharing them? or what is the recommended software on REDHAT for doing it?
'cause on note 527843 it says:
You must store the following components in a shared file system (cluster, NFS, or ACFS) here it says we can, but down the note on section linux says:
RAC 11.2.0.3/4 (x86 & x86_64 only):
Oracle Clusterware 11.2.0.3/4 + ASM/ACFS 11.2.0.3/4 (Oracle Linux 5, Oracle Linux 6, RHEL 5, RHEL 6, SLES 10, SLES 11)
Oracle Clusterware 11.2.0.3/4 + NetApp NFS or
Oracle Clusterware 11.2.0.3/4 + EMC Celerra NFS
It does not mention just NFS.
2.-In our system test, we want to backup all oracle configuration files on file systems and then delete Oracle Grid to Install GRID with cluster option, then install RDBMS with rac option and then follow the guide, is that correct?
RegardsHi Ramon,
1.-Can we just use NFS for sharing them? or what is the recommended software on REDHAT for doing it?
'cause on note 527843 it says:
You must store the following components in a shared file system (cluster, NFS, or ACFS) here it says we can, but down the note on section linux says:
RAC 11.2.0.3/4 (x86 & x86_64 only):
Oracle Clusterware 11.2.0.3/4 + ASM/ACFS 11.2.0.3/4 (Oracle Linux 5, Oracle Linux 6, RHEL 5, RHEL 6, SLES 10, SLES 11)
Oracle Clusterware 11.2.0.3/4 + NetApp NFS or
Oracle Clusterware 11.2.0.3/4 + EMC Celerra NFS
It does not mention just NFS.
NFS mount as suggest in SAP documentation should work. The use of ACFS always requires a special Oracle Grid Infrastructure (GI) Patch Set Update (PSU). Oracle Support Note 1369107.1 contains details about which GI PSU is required when you use ACFS with a specific RHEL update, service pack from SLES or UEK version of Oracle.
2.-In our system test, we want to backup all oracle configuration files on file systems and then delete Oracle Grid to Install GRID with cluster option, then install RDBMS with rac option and then follow the guide, is that correct?
You may perform DB backup using backup tools and then scrap the existing Grid setup. Configure RAC and then restore the backup into the new configuraiton as per SAP guidelines under
Configuration of SAP NetWeaver for Oracle Grid Infrastructure 11.2 with Oracle Real Application Clusters 11g Release 2
Hope this helps.
Regards,
Deepak Kori -
Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0
Hello,
Maybe you can help me (new on RMAN backup) in doing this.
I have configured a single Oracle 10g database to have backup with RMAN with following steps:
1. $ mkdir $ORACLE_BASE/rman_scripts
2. $ mkdir $ORACLE_BASE/logs
3. $ mkdir $ORACLE_BASE/tracking
4. $ mkdir $ORACLE_BASE/c_backup
5. $ sqlplus sys/<password> as sysdba
6. SQL> alter system set db_recovery_file_dest_size = 50G scope=both;
7. SQL> alter system set db_recovery_file_dest='${ ORACLE_BASE}/flash_recovery_ area' scope=both;
8. SQL> alter system set log_archive_dest_10='location= use_db_recovery_file_dest';
9. SQL> shutdown immediate
10. SQL> startup nomount
11. SQL> alter database archivelog;
12. SQL> alter database open;
13. SQL> alter database enable block change tracking using file '${ORACLE_BASE}/tracking/rman_ change_track.f';
14. $ rman target /
15. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
TO '/var/opt/oracle/flash_ recovery_area/ORCL/c_backup/% F';
16. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
17. RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
18. RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
19. RMAN> exit
I need to configure incremental backup with RMAN on a two node Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0 installation.
We also use ASM to store database files, and have Oracle software installed on separate file systems (two Oracle roots for Node1 and Node2).
I have following questions:
1) where to put Flash Recovery Area (FRA)?
I saw recommendations to put FRA on the ASM, is this the best way to do it?
2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
3) Is it possible/recommended to run RMAN from Node1 only?
Below is the script used to run RMAN on the normal Oracle database (without RAC) which I need to change :
=============================================================================================
2.0 Oracle backup script: /opt/app/oracle/rman_scripts/backup.sh
Use this for daily backups, possiblly as a cron job.
Once a week run this: /opt/app/oracle/rman_scripts/backup.sh FULL
All other days of the week: /opt/app/oracle/rman_scripts/backup.sh INCREMENTAL
Note: You may have to change ORACLE_SID, ORACLE_BASE below to match your database.
=============================================================================================
#!/usr/bin/ksh
ORACLE_SID=orcl
ORACLE_BASE=/opt/app/oracle
ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
PATH=${ORACLE_HOME}/bin:/usr/bin
LOGDIR=${ORACLE_BASE}/logs
LOGFILE=${LOGDIR}/rman.log
if [[ $# < 1 ]]
then
echo "usage: backup.sh FULL|INCREMENTAL"
exit;
fi
BACKUPTYPE=${1}
full='FULL'
incremental='INCREMENTAL'
if [[ $BACKUPTYPE == $full ]]
then
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup database;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
echo ''
fi
if [[ $BACKUPTYPE == $incremental ]]
then
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup database;
backup incremental level 1 database;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
echo ''
fiHi [email protected],
Q1) where to put Flash Recovery Area (FRA)?
A1) With RAC: on the shared storage
I saw recommendations to put FRA on the ASM, is this the best way to do it?
If you want your backups to be available for both nodes you have to use shared storage or tape using an mml library.
So if you want to use the FRA for rman backups and the database is on ASM just make ASM the standard for the FRA as well.
Q2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
A2) Than you cannot recover in case Node1 is down. Best would be to send your storage admin to a training course so he can manage the clustered raw devices needed for ASM.
Q3) Is it possible/recommended to run RMAN from Node1 only?
A3) No see A2.
Regards,
Tycho -
ASM pfile lost in Oracle RAC 11gr2
Hello Gurus,
I am new to Oracle RAC 11gr2 and facing some issues. our spfile/pfile for asm instance is lost and I am not able to startup the asm instance.
Environment is as below:
RAC 2 nodes
Oracle RAC 11gr2
Enterprise Linux Server release 5.5 (Carthage)
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/db_1/dbs/init+ASM1.ora'
Is there any way to recover the spfile/pfile ?
Also getting following error while try to connect " sqlplus / as sysasm"
$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun Mar 27 11:26:02 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name:
Thanks and Regards,Hi,
Do we need to Set variable ORACLE_HOME properly (Grid Home) while starting RDBMS instance?
e.g ORACLE_HOME=/u01/app/11.2.0/grid*I recommend you set ORACLE_HOME properly for each Oracle Installation when you use SQLPLUS.
i.e: cat /etc/oratab
orcl:/u01/app/oracle/product/11.2.0/db_1
db10g:/u01/app/oracle/product/10.2.0/db_1
+ASM1:/u01/app/11.2.0/gridAlso you can startup/shutdown our database with SQLPLUS using ORACLE NET*, but it must be configured properly.
My recommendation <s>is always</s> use SRVCTL and CRSCTL to manage to your environment. Track all the process of initialization processes through the logs using ADRCI utility (only 11.1 or later).
When use SRVCTL or CRSCTL to manage I recomend you use (GRID HOME).
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-16038: log 3 sequence# 1067 cannot be archived
ORA-19809: limit exceeded for recovery files
ORA-00312: online log 3 thread 2: '+FRA/yyy/onlinelog/group_3.259.738489481'
SQL>I give to you three options:
1° - Add more asmdisk on Diskgroup +FRA
2° - Make backup of all archivelog using RMAN and option delete input (i.e backup archivelog delete all input;)
3° - If this database is for TEST ONLY and you not need backup or recovery of then you can delete all archivelog using RMAN (i.e delete archivelog all;)
I recommend you create routine of backups of the database and archivelog to prevent this area becomes exhausted.
If you need the database in archivelog but it is only to test then create routine to delete archivelogs periodically.
If you dont need the database in archivelog, then just disable it.
Regards,
Levi Pereira
Maybe you are looking for
-
MacBook Pro (Mid-2009, 13", 2.26) Memory Upgrade Question
I currently own a MacBook Pro (2.26; 13") (Mid-2009) with 2GB of memory. I purchased a single 4GB memory card that I plan to add in one of the slots. If I understand correctly that would leave me with a total of 5GB of memory (4GB 1GB). Is this wor
-
TV adapter playing up -- surely someone has an answer!
Why won't my iBook's tv adapter work? This problem has been bugging me for nearly a year. I've asked the question in nearly every mac forum I could find (I even asked here) -- but no one has offered me a solution. ...I bought a video adapter from the
-
Throw netgear out the window? can't audio chat.
hi, I have received the 'unsufficient bandwidth' and 'user not reponding' responses for months now. i just can't audio chat - haven't been able to for months!!! (but i can text chat) I WAS able to audio chat when i first got my mac (it was brilliant!
-
WC7845 Scan to PDF Compression type
Hi We have a WC7845. With the Scan to PDF feature, we can select between 3 different levels of compression, but the type of compression is always the same: JBIG2. Is there a way to change the compression for Scan to PDF to CCITT? Thank you,-Dean
-
I have installed WebAS 6.40 and started the J2EE engine successfully. Up to now I could not find the way to configure the right JMS entries (factories, destinations). Can anybody help and describe how I have to configure JMS...I am not to able to fin