2 Node RAC -Adminstrator Manged ORpolicy-managedDatabase - which is better
We are planning to build a 2-node RAC 11gR2 . I went through the documentation and found that administrator managed datbase is better when the no of nodes are very less .
Need your inputs on this as we are still in the designing stage of the setup.
Shashi,
It all goes back to your objective. As you mentioned, it is two node RAC and I assume that you are gonna use this cluster database for one application. If that is the case then go with Administrator managed database because then you will have more control and require less configuration. Policy managed is more useful when you are implementing a true grid solution where database is used as a service and multiple applications are accessing data via the database services provided inside the large real application cluster system. When I say database as a service, people may want to consolidate smaller databases into the bigger RAC system to reduce operating cost and overhead while providing same level of database access to the applications.
So to answer your question, go with Administrator managed RAC. I hope I have provided you enough information for your decision :-)
Regards
http://www.oraxperts.com
Similar Messages
-
Hi,
Can any one please help me How to manually create 11.2.0.2 standalone physical standby database from 2 node RAC (11.2.0.2) database which is running in RHEL5 and ASM plugged in.
DB : 11.2.0.2
OS : RHEL5
RMAN duplicate is causing problem with network and we decided to go for manual creation of the same.
Thanks in Advance..Hi;
Can any one please help me How to manually create 11.2.0.2 standalone physical standby database from 2 node RAC (11.2.0.2) database which is running in RHEL5 and ASM plugged in.
DB : 11.2.0.2
OS : RHEL5I had similar issue, what i did
1. Used source oracle_home on standby server
2. Created new asm instance and use same naming
3. I took RMAN full backup on source and move it to target
4. I edit initora file remove RAC setting and restore db(also edited listener file)
Regard
Helios -
Hi We are in the process of converting single instance database(11gr2) supporting EBS 12.1.3 to 2 node RAC on RHEL. Which version of RHEL is better? if its 6.x then x?? The oracle document only says RHEL update 6.
thanks in advance.Hi,
Yes you can use any version but i recommend you to use 6.2
Also refer my post for RAC migration in EBS
Apps DBA Workshop: Using 11gR2 RAC with Oracle Applications R12.1.1
Hope this helps
thanks,
X A H E E R -
11gR2- webutil upload file to AS on two nodes RAC?
Hellow experts plz help with the following issue,
we are using 11gR2 forms on two node rac,webutil configured on both nodes. upload/download files to AS folder(UP_FILES) using our forms. node 2 is actually replica of node 1(forms,reports,UP_FILES). we are now facing a problem that the form which upload file to AS, only upload that to the node from where it is running say if it is running from node1 then it upload files to folder UP_FILES on that node( as the entry in webutil.cfg file) but we want that UP_FILES folder should be synced with each other on both nodes and a form running whether from node1 or node2 upload the file to both nodes at time.
How this will be accomplished?
--------webutil.cfg entry
transfer.appsrv.read.3=D:\UP_FILES
transfer.appsrv.write.3=D:\UP_FILES
-----FORM UPLOAD CODE
IF :CONTROL.FILE_LOC IS NOT NULL THEN
acyr3 := :CONTROL.TXTVOUCHERNO||'-'||acyr2 ;
FILE_RESULT := WEBUTIL_FILE_TRANSFER.CLIENT_TO_AS_WITH_PROGRESS(CLIENTFILE=>:CONTROL.FILE_LOC,
SERVERFILE =>'D:\UP_FILES\'||acyr3||'.PDF',
PROGRESSTITLE=>'UPLOAD TO DATABASE IN PROGRESS',
PROGRESSSUBTITLE=>'PLEASE WAIT' );
END IF;
--FORM DOWNLOAD CODE
FILE_RESULT := WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS
CLIENTFILE=>'D:\UP_FILES\'||acyr3||'.PDF',
SERVERFILE =>'D:\UP_FILES\'||acyr3||'.PDF',
PROGRESSTITLE=>'DOWNLOAD FROM DATABASE IN PROGRESS',
PROGRESSSUBTITLE=>'PLEASE WAIT'
CLIENT_HOST('rundll32.exe url.dll,FileProtocolHandler D:\UP_FILES\'||acyr3||'.PDF');
IF FILE_RESULT THEN
message('File downloaded successfully from the Application Server');
END IF;Well, you're uploading the file to one node, so this is no surprise. What you can do is to store your file on a shared folder (which might be a bit tricky on windows) or synchronize a folder between your nodes. Unfortunately Forms can't access ASM directly (assuming you are using ASM), so you can't store your files directly in ASM where it would be accessible from both nodes.
cheers -
GLOBAL_NAMES setting in 4 nodes RAC
Hi Experts,
I have a 4 nodes RAC with 10.2.0.4 database at red hat 5.1
I find that global_name is nor enforced as
NAME VALUE
global_names FALSE
For stream, I need to change to true.
I want to know which default value for global_name at RAC.
If I change to TRUE and enforce global_nmae. does this changes affects RAC system or some RAC function?
Thanks for help!
JimHello Jim,
Global_Name will not effect anything at the RAC level. This only effects db link name. you have to have use dbname as DB link.
As per best practices document and other streams documentation .. Global_Name should be true. I have tested this. i have made this parameter false however i have created db link used by streams is same as database name which satisfies mandate requirement for streams. because i had to create one more database link in another schema in same database and this was only option.
So in a nutshell.. Global_names enforces dblink name same as dbname. you have a workaround.
Feel free to give it a go.
Thanks
Prashant -
Processes in v$process that do not exist in v$session (2 node RAC)!
Hi, all.
The database is 2 node RAC database (10.2.0.2.0)
on 32 bit windows 2003 EE SP1.
Our database is suffering "CKPT hang" from time to time.
I checked v$process and v$session on both node by the following sql.
select addr,pid,spid,username, program
from v$process
where addr not in (select paddr from v$session)
ADDR PID SPID USERNAME PROGRAM
56E2 1 PSEUDO
56E2 18 3984 SYSTEM ORACLE.EXE (D000)
56E2 19 4020 SYSTEM ORACLE.EXE (S000)
56E2 27 3176 SYSTEM ORACLE.EXE (PZ99)
56E3 39 2296 SYSTEM ORACLE.EXE (PZ97)
●select * from v$px_process
SERVER_NAME STATUS PID SPID SID SERIAL#
PZ97 AVAILABLE 39 2296
PZ99 AVAILABLE 27 3176
●select * from V$PX_SESSION
--> no rows
●select slave_name,status from v$pq_slave
SLAVE_NAME STATUS
PZ97 IDLE
PZ99 IDLE
I found the above processes which do not exist in v$session.
Is this normal??
Thanks and Regards.you see nothing in v$session because there is nothing to see ...
the Parallel servers are AVAILABLE , ie no session are running parallel executions (as shown in V$PX_SESSION)
PID is not SID -
Running an external job at the specific node out of a 2 Node RAC database.
Hi. all.
I created a job , which runs an external script, by using dbms_scheduler.
Our database is 2 node RAC database(10.2.0.2.0).
The external script exists at a only one Node(Node 1).
select status,instance_id, additional_info
from dba_scheduler_job_run_details
where job_name='TEST_EXPORT_JOB'
shows that jobs which run on Node 2 failed.
Of course, the external script does not exist on Node 2.
I would like to force the job to ALWAYS run on Node 1.
How can I do that? Is there any ideas?
Locating the script on Node 2 is not the option.
Best and Regards.Hi,
In the upcoming 11g release there is an easy solution for this - a new attribute instance_id for a job.
For 10g there is a workaround. Basically you create a service with just the one instance you want the job to run on. Then create a job class pointing to that service. Finally have your job be in the job class you just created.
If you create a service and job class per instance you can get jobs to run under whichever instance you want.
Hope this helps,
Ravi. -
Hi,
I am planning to create a 2-node RAC physical standby database which uses ASM from 2-node RAC production database. I am familiar with RMAN duplicate (11g) network based backup to create the physical standby database, but not sure how this will work to create 2-node RAC standby with ASM.
Could any help me with the document ID which describes how to create a RAC standby database using ASM as storage.
Source:
OS: Linux 64 bit
Oracle: 11.2.0.1
RAC/ASM: yes/yes
Target:
OS: Linux 64 bit
Oracle: 11.2.0.1
RAC/ASM: yes/yes
Thanks in advance!!
Regards,Hi
You can follow following...
1.Install crs.
2.Create ASM instance at standby site...
3.Prepare parameter file for standby database.
4.start database instance in one node at nomount state..
5.create standby control file at primary database...
6.Copy and paste created control file at primary to standby site..
7.Copy control file at file system and modify location of control file at init<SID>.ora.
8.start standby database mount state..
9.create backup text backup controlfile at primary site...
10.shutdown standby database,change location of controfile inside ASM.. and place nomount state...
11.Create controfile through text backup controfile...
12.backup primary db and paste it in standby site..
13.Use RMAN to place datafile inside ASM..if you not using RMAN for backup and restoration purpose..
14.start standby database in mount state and recover through MRP or foreground process..
15.use SRVCTL to register ASM instances..database and database instances.
For standby database of RAC..there can only be one node up...So..remember you can start instance of one node only...
Hope this will help U.
Tinku -
RAC hangs when starting or stopping 2nd instance of 2 node RAC
Has anyone seen the problem with all transactions and/or logins hanging when starting or stopping the 2nd node of a 2 node RAC database. When I shut down the 2nd instance using srvctl I occasionally get errors and long delays connecting. On our larger database with instances having a very large SGAs, trying to connect you sometimes get ORA-12537 or ORA-01033. Users experience a very long hang before getting the errors. These instances have very large SGAs of about 30GB on each node.
In the log of the first instance we see messages like the following for quite a while.
Global Resource Directory frozen
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Mon Jan 8 06:59:08 2007
LMS 1: 0 GCS shadows cancelled, 0 closed
Mon Jan 8 06:59:08 2007
LMS 0: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Mon Jan 8 06:59:23 2007
LMS 0: 20740 GCS shadows traversed, 4001 replayed
Mon Jan 8 06:59:23 2007
LMS 1: 20744 GCS shadows traversed, 4001 replayed
Mon Jan 8 06:59:23 2007
LMS 0: 20882 GCS shadows traversed, 4001 replayed
Mon Jan 8 06:59:23 2007
LMS 1: 20627 GCS shadows traversed, 4001 replayed
Mon Jan 8 06:59:24 2007
LMS 0: 20781 GCS shadows traversed, 4001 replayed
Mon Jan 8 06:59:24 2007
Thanks in advance.I have tested with only one node and starting and stopping is much faster without any cache fusion traffic. The application is not RAC aware, it was written without regard for RAC. As you say there may be some accessing of the same block by all nodes causing RAC to remaster blocks when a node is shut down.
My concern is the length of time users are afftected when I am starting a node that has been offline for a while. With the large SGA I have, it appears users are affected adversely for several minutes, in affect causing an outage which we are trying to avoid by using RAC. -
How to apply Bundle Patch in Rolling Mode for 2 Node RAC
Hi Guys,
I have a 2 node RAC environment (11.2.0.3) where each node has there own local Grid_home and RDBMS_home.
I am installing a Rolling Bundle Patch with OPatch in this environment. The installation document says that "The order of patching in RAC install is GRID_HOME, then RDBMS_HOME" so i did the following.
1. stopped all oracle related services on node1
2. set oracle_home=<Grid_home>
3. applied the opatch
4. opatch succeeded on node1 and it says "The node 'NODE2' will be patched next... Is the node ready for patching? y
Here i am bit confused.
1. Should i shutdown the oracle services in Node2 and continue to patch the Grid_home ? If yes then the DB will be completely down for user access. This defeats the purpose of rolling mode which says there is no downtime.
2. Should i patch the RDBMS_home on node1 , start all the oracle services on node1 , stop the oracle services on node2 and then resume the opatch on node1 which is waiting to patch the Grid_home on node2 ?
Please advice.
Thanks,
Ashok Kumar.GHi Sebastian,
14613223 patch install instruction did not mention about opatch -local option.
Here is what i followed and completed the installation successfully.
1. Shutdown all oracle services on node 1
2. applied opatch for grid home and then rdbms home using "opatch apply -local" on node1
3. Started all oracle services on node 1
4. Shutdown all oracle services on node 2
5. applied opatch for gridhome and then rdbms home using "opatch apply -local" on node 2
6. Started all oracle services on node 2
7. executed post installation steps on the DB (@catwinbundle.sql & @utlrp.sql )
Thanks,
Ashok Kumar.G -
For 4 node RAC database on Exadata x3-2, how many scan IP I should assign?
We want to build a 4 node RAC 11gr23 on exadata x3-2. Oracle only recommend 3 ip for scan listener. by previous observation of non-exadata RAC, seems each node will spread randomly one Scan Ip address. So if we assign 3 ip to one scan listener, how that will work on a 4-node RAC?
ThanksYou're welcome
by Load balancing
Oracle RAC databases increase load balancing by using the single client access name (SCAN) for the cluster to balance connections among all instances in a cluster database. SCAN also adds location independence for the databases, so that client configuration does not have to depend on which nodes are running a particular database or database instance.
http://docs.oracle.com/cd/E11882_01/install.112/e48195/undrstnd.htm#RIWIN607
Based on the environment, the following actions occur when you use SCAN to connect to an Oracle RAC database using a service name. The numbered actions correspond to the arrows shown in Figure 7-1.
http://docs.oracle.com/cd/E11882_01/install.112/e48195/undrstnd.htm#CIHIBEIH
Regards -
Data guard setup for 2 node RAC primary to 2 node RAC standby
Hi All,
I am going to setup data guard for 2 node RAC primary to 2 node RAC standby on Oracle 10.2.0.4. in AIX5L.
Can you please provide the document on the above setup which is having all the steps (details).
Also, the documents on different scenarios like
1) If one node of standby goes down, how the redo logs will be applied. IS there any problem?
2) If both nodes of standby are failed, how to reciver them?
3) If one node of primary fails, is there any issue?
4) If two nodes of primary fails, is there any issue?
Thanks in advance,
MahiHave a look at the following location, you may find some similar documents:
http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm
By
http://www.oraxperts.com -
Daily checklist maintainace activities for two node rac
i need queries for two node rac which i can check everyday maintainace
10.2.0.4
windows (os)
asm
please provide what do i do everyday for maintainace
please give me queries and check the health check
thanks in advanceHi;
pelase check below notes, you can see notes and can understand which process is important and what you need to check.
RAC Assurance Support Team: RAC and Oracle Clusterware Starter Kit and Best Practices (Generic) [ID 810394.1]
Master Note for Real Application Clusters (RAC) Oracle Clusterware and Oracle Grid Infrastructure [ID 1096952.1]
11gR2 Clusterware and Grid Home - What You Need to Know [ID 1053147.1]
Also see:
daily check list for rac
daily check list for rac
Regard
Helios -
FAILED_REQ# of PS enqueue is increasing(2 node RAC).
Hi, all.
The database is 2 node RAC database (10.2.0.2.0) on 32-bit windows 2003 EE SP1.
Our database is suffering database hang on a regular basis.
I checked v$enqueue_stat by using following sql.
select EQ_TYPE,TOTAL_REQ#,TOTAL_WAIT#,SUCC_REQ#,FAILED_REQ#,CUM_WAIT_TIME
from v$enqueue_stat
where failed_req# >0
order by eq_type,inst_id
● PS type enqueue
The value of FAILED_REQ# of node 2 is steady, not increasing.
However, the value of FAILED_REQ# of node 1 is gradually increasing.
I think it has some relation with PZnn process.
Sometimes, the database hangs caused by "CKPT hangs"
ORACLE.EXE (DM00)
ORACLE.EXE (q000)
ORACLE.EXE (q004)
expdp.exe
ORACLE.EXE (q002)
ORACLE.EXE (q003)
ORACLE.EXE (J000)
ORACLE.EXE (CKPT)
library cache lock
reliable message
library cache lock
library cache lock
enq: UL - contention
library cache lock
library cache lock
gc buffer busy
gc cr request
Could you give me any clue to solving this issue??
I am looking forwared to hearing your experience and advice.
Thanks and Regards.Did you attempt to generate an AWR/ADDM report to see if it gives more information on the performance problems you are facing. Enqueue type - PS simply means a "parallel operation lock". May be AWR will highlight the queries which are being impacted by this enqueue and you start from there to see how you can reduce the contention/locking/enqueue issues. Just a thought.
Thanks
Chandra -
ORA-01652 unable to extend temp segment in 11gR2 with ASM and 2 node RAC
Hi ,
I have a 11.2.0.1 system with 2 node RAC and ASM . We are hitting ORA-01652 very frequently
and I can see space is available in TEMP .
CREATE TEMPORARY TABLESPACE "TEMP" TEMPFILE
SIZE 21474836480,
SIZE 137437904896
AUTOEXTEND ON NEXT 655360 MAXSIZE 131071M ( Will the next size ignored as the extent size is 1MB ?)
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1048576
And during the failure
SELECT tablespace_name,
total_blocks,
used_blocks,
free_blocks,
total_blocks*32768/1024/1024 as total_MB,
used_blocks*32768/1024/1024 as used_MB,
free_blocks*32768/1024/1024 as free_MB
FROM gv$sort_segment;
TABLESPACE_NAME TOTAL_BLOCKS USED_BLOCKS FREE_BLOCKS TOTAL_MB USED_MB FREE_MB
TEMP 4849568 2385728 2463840 151549 74554 76995
TEMP 0 0 0 0 0 0
Also when I checked from v$sort_usage I see only two session consuming space
SQL> SELECT b.tablespace tablespace,
2 -- b.segfile#,
3 -- b.segblk#,
4 b.blocks,
5 b.blocks * (SELECT value FROM v$parameter WHERE name = 'db_block_size')/1024/1024 bytes,
6 a.sid,
7 a.username username,
8 a.osuser osuser,
9 a.inst_id,a.sid,a.serial#,a.module
10 FROM gv$session a, gv$sort_usage b
11 WHERE a.saddr = b.session_addr and
12 b.blocks != 16 and
13 a.inst_id = b.inst_id
14 ORDER BY b.tablespace, b.blocks, bytes desc;
BLOCKS BYTES SID USERNAME OSUSER INST_ID SID SERIAL# MODULE
1,192,864 37277 381 CN obiqb 2 381 860 nqsserver@icmqapp01cdp (TNS V1
1,192,864 37277 3952 CN obiqb 2 3952 1374 nqsserver@icmqapp01cdp (TNS V1
2,385,728 74554 (mb)
Wat is causing the 1652 ?877394 wrote:
Thanks Srini,
But I did try all that notes with no luck .
I have a temporary tablespace with 150gb (130+20) datafiles .
TABLESPACE_NAME FILE_NAME (BYTES/1024/1024)
TEMP +DATA_01/tempfile/temp.314.743964 131071
TEMP +DATA_01/tempfile/temp.312.757303 20480
and the DDL is
CREATE TEMPORARY TABLESPACE "TEMP" TEMPFILE
SIZE 21474836480,
SIZE 137437904896
AUTOEXTEND ON NEXT 655360 MAXSIZE 131071M
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1048576
And on querying v$sort_usage
SQL> SELECT b.tablespace tablespace,
2 -- b.segfile#,
3 -- b.segblk#,
4 b.blocks,
5 b.blocks * (SELECT value FROM v$parameter WHERE name = 'db_block_size')/1024/1024 bytes,
6 a.sid,
7 a.username username,
8 a.osuser osuser,
9 a.inst_id,a.sid,a.serial#,a.module
10 FROM gv$session a, gv$sort_usage b
11 WHERE a.saddr = b.session_addr and
12 b.blocks != 16 and
13 a.inst_id = b.inst_id
14 ORDER BY b.tablespace, b.blocks, bytes desc;
TABLESPACE BLOCKS BYTES SID OSUSER INST_ID SID SERIAL# MODULE
TEMP 63,328 1,979 3952 CN 2 3952 1374
TEMP 84,384 2,637 381 CN 2 381 860
TEMP 433,184 13,537 381 CN 2 381 860
TEMP 1,117,728 34,929 3952 CN 2 3952 1374
sum 1,698,624 53,082 (mb)
So the space utilization was less than 150gb and on querying v$sort_Segment
SQL> SELECT tablespace_name,
total_blocks,
used_blocks,
free_blocks,
total_blocks*32768/1024/1024 as total_MB,
used_blocks*32768/1024/1024 as used_MB,
free_blocks*32768/1024/1024 as free_MB
FROM gv$sort_segment;
TABLESPACE_NAME TOTAL_BLOCKS USED_BLOCKS FREE_BLOCKS TOTAL_MB USED_MB FREE_MB inst
TEMP 4849568 2311104 2538464 151549 72222 79327 2
TEMP 0 0 0 0 0 0 1
why for inst 1 it is showing 0 (which means no sort is happening in instance 1)
But still we got the error
ORA-1652: unable to extend temp segment by 32 in tablespace TEMP
01652, 00000, "unable to extend temp segment by %s in tablespace %s"
// *Cause: Failed to allocate an extent of the required number of blocks for
// a temporary segment in the tablespace indicated.
// *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
// files to the tablespace indicated.
Maybe you are looking for
-
Insert Statement taking longer time
Hi, One of my insert statement inside the procedure is taking more than 10secs to complete. Scenario: 1. Having three tables e.g invoice table - invoice header, invoice Item and invoice attribute 2. These tables are loaded with data in the above spec
-
Sales BOM explosion in STO sch agreement
Dear Friends, I have a requirement where sales BOM is to be exploded in STO sch agreement. I would like to know whether it can be done in STO sch agreement. I tried to achieve this by making the following config. Material master for Header part : Ite
-
A certain way of loading pages...
Hey everyone, I'm designing a webpage and I'm trying to design it in a certain way where pages dissolve onto the screen (with the home page in the background), and each time a new page is selected, its information dissolves onto the overlapping block
-
I am unable to view flash videos from all websites except youtube after updating to Firefox 4. All help will be appreciated. Thanks in advance :)
-
Personal Media Drive won't work when inside Elite Desktop
I have a 4 month old 1 TB Pesonal Media Drive installed inside my Elite Series Desktop. I was flagged by my Acronis backup saying there were bad sectors and it would not allow incremental automatic backups. I ran Hardware Diagnostic test..and it r