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
Similar Messages
-
Platform: "HP-UX 11.23 64-bit"
Database: "10.2.0.4 64-bit"
RAC: 2 Node RAC setup
Our RAC setup has been properly done and RAC is working fine with load balancing i.e clients are getting connection on both instances. BUT the issue I am facing with my RAC setup is High Availability testing. When I send reboot signal to "Node-2" and the "Node-1" is up what I observe and receive complain from clients that they have lost connection with database ALSO no new connections are being allowed. When I see the alert log of "Node-1" I see the following abnormal messages reported in it:
List of nodes:
0 1
Global Resource Directory frozen
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Tue Aug 9 04:02:15 2011
LMS 2: 0 GCS shadows cancelled, 0 closed
Tue Aug 9 04:02:15 2011
LMS 0: 0 GCS shadows cancelled, 0 closed
Tue Aug 9 04:02:15 2011
LMS 1: 0 GCS shadows cancelled, 0 closed
Set master node info
Submitted all remote-enqueue requests
Dwn-cvts replayed, VALBLKs dubious
All grantable enqueues granted
Tue Aug 9 04:02:15 2011
LMS 1: 1908 GCS shadows traversed, 1076 replayed
Tue Aug 9 04:02:15 2011
LMS 2: 1911 GCS shadows traversed, 1086 replayed
Tue Aug 9 04:02:15 2011
LMS 0: 1899 GCS shadows traversed, 1164 replayed
Tue Aug 9 04:02:15 2011
Submitted all GCS remote-cache requests
Post SMON to start 1st pass IR
Fix write in gcs resources
Reconfiguration complete
Tue Aug 9 04:02:16 2011
ARCH shutting down
ARC2: Archival stopped
Tue Aug 9 04:02:21 2011
Redo thread 2 internally enabled
Tue Aug 9 04:02:35 2011
Reconfiguration started (old inc 4, new inc 6)
List of nodes:
0
Global Resource Directory frozen
* dead instance detected - domain 0 invalid = TRUE
Communication channels reestablished
Master broadcasted resource hash value bitmaps
Non-local Process blocks cleaned out
Tue Aug 9 04:02:35 2011
LMS 1: 0 GCS shadows cancelled, 0 closed
Tue Aug 9 04:02:35 2011
LMS 2: 0 GCS shadows cancelled, 0 closed
Tue Aug 9 04:02:35 2011
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
Post SMON to start 1st pass IR
Tue Aug 9 04:02:35 2011
Instance recovery: looking for dead threads
Tue Aug 9 04:02:35 2011
Beginning instance recovery of 1 threads
Tue Aug 9 04:02:35 2011
LMS 1: 1908 GCS shadows traversed, 0 replayed
Tue Aug 9 04:02:35 2011
LMS 2: 1907 GCS shadows traversed, 0 replayed
Tue Aug 9 04:02:35 2011
LMS 0: 1899 GCS shadows traversed, 0 replayed
Tue Aug 9 04:02:35 2011
Submitted all GCS remote-cache requests
Fix write in gcs resources
Reconfiguration complete
Tue Aug 9 04:02:37 2011
parallel recovery started with 11 processes
Tue Aug 9 04:02:37 2011
Started redo application at
Thread 2: logseq 6, block 2, scn 1837672332
Tue Aug 9 04:02:37 2011
Errors in file /u01/app/oracle/product/10.2.0/db/admin/BAF/bdump/baf1_smon_10253.trc:
ORA-00600: internal error code, arguments: [kcratr2_onepass], [], [], [], [], [], [], []
Tue Aug 9 04:02:38 2011
Errors in file /u01/app/oracle/product/10.2.0/db/admin/BAF/bdump/baf1_smon_10253.trc:
ORA-00600: internal error code, arguments: [kcratr2_onepass], [], [], [], [], [], [], []
Tue Aug 9 04:02:38 2011
Errors in file /u01/app/oracle/product/10.2.0/db/admin/BAF/bdump/baf1_smon_10253.trc:
ORA-00600: internal error code, arguments: [kcratr2_onepass], [], [], [], [], [], [], []
SMON: terminating instance due to error 600
Tue Aug 9 04:02:38 2011
Dump system state for local instance only
System State dumped to trace file /u01/app/oracle/product/10.2.0/db/admin/BAF/bdump/baf1_diag_10229.trc
Tue Aug 9 04:02:38 2011
Instance terminated by SMON, pid = 10253
Tue Aug 9 04:04:09 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Interface type 1 lan3 192.168.1.0 configured from OCR for use as a cluster interconnect
Interface type 1 lan2 172.20.21.0 configured from OCR for use as a public interface
Picked latch-free SCN scheme 3
Autotune of undo retention is turned off.
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
processes = 300
sessions = 335
timed_statistics = TRUE
Kindly help me to get rid out of this issue. Waiting for the quick and helpful response from the gurus in the forum. Thanks in advance.
Regards,if above were really 100% correct, you would not be here posting about errors!Definitely but these situations could become the cause for new BUGS, isn't it?
I don't know what is real & what is unnecessary obfuscation.What part of the thread you didn't understand.
It is not a good idea to have subtraction sign/dash character as part of object/host name; i.e. "Node-1"."Node-1" is not the hostname it is just to make clear understanding. the hostname is "sdupn101" for node-1 and "sdupn102" for node-2.
ORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle supportNewbie is my status on this forum but I have little bit ethics of using forums and suppot blogs. I searched but unfortunately didn't find any matching solution.
Anyway will update you once find any solution so that you can assist someone else in future. -
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. -
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 -
Multi-table INSERT with PARALLEL hint on 2 node RAC
Multi-table INSERT statement with parallelism set to 5, works fine and spawns multiple parallel
servers to execute. Its just that it sticks on to only one instance of a 2 node RAC. The code I
used is what is given below.
create table t1 ( x int );
create table t2 ( x int );
insert /*+ APPEND parallel(t1,5) parallel (t2,5) */
when (dummy='X') then into t1(x) values (y)
when (dummy='Y') then into t2(x) values (y)
select dummy, 1 y from dual;
I can see multiple sessions using the below query, but on only one instance only. This happens not
only for the above statement but also for a statement where real time table(as in table with more
than 20 million records) are used.
select p.server_name,ps.sid,ps.qcsid,ps.inst_id,ps.qcinst_id,degree,req_degree,
sql.sql_text
from Gv$px_process p, Gv$sql sql, Gv$session s , gv$px_session ps
WHERE p.sid = s.sid
and p.serial# = s.serial#
and p.sid = ps.sid
and p.serial# = ps.serial#
and s.sql_address = sql.address
and s.sql_hash_value = sql.hash_value
and qcsid=945
Won't parallel servers be spawned across instances for multi-table insert with parallelism on RAC?
Thanks,
MaheshPlease take a look at these 2 articles below
http://christianbilien.wordpress.com/2007/09/12/strategies-for-rac-inter-instance-parallelized-queries-part-12/
http://christianbilien.wordpress.com/2007/09/14/strategies-for-parallelized-queries-across-rac-instances-part-22/
thanks
http://swervedba.wordpress.com -
Multiple copies of same database on a 2 node RAC server - How to merge ?
I currently have multiple copies of the same database running on a 2 node Rac system. I am looking for a way to combine them into 1 large database but keeping the data separate.
The databases are copies of production for testing, development and a yearly "historical" databases .
All the databases are created from production, and generally have the same schema's , tables, procedures, etc however may be different versions and need to be.
Is There a way to use one large database and logically split all the different versions of the same objects into their own space in one database ? The structure cannot change as the database is for a 3rd party's Forms application the relies on the objects not changing names etc.
Ideally I am looking for a solution that will allow the forms application to connect to "test" and "historical" copies of our production database separately in the same database container.
Thanks for any direction.I currently have multiple copies of the same database running on a 2 node Rac system. I am looking for a way to combine them into 1 large database but keeping the data separate.
The databases are copies of production for testing, development and a yearly "historical" databases .
All the databases are created from production, and generally have the same schema's , tables, procedures, etc however may be different versions and need to be.
Is There a way to use one large database and logically split all the different versions of the same objects into their own space in one database ? The structure cannot change as the database is for a 3rd party's Forms application the relies on the objects not changing names etc.
Ideally I am looking for a solution that will allow the forms application to connect to "test" and "historical" copies of our production database separately in the same database container.
Thanks for any direction. -
Multiple databases/instances on 4-node RAC Cluster including Physical Stand
OS: Windows 2003 Server R2 X64
DB: 10.2.0.4
Virtualization: NONE
Node Configuration: x64 architecture - 4-Socket Quad-Core (16 CPUs)
Node Memory: 128GB RAM
We are planning the following on the above-mentioned 4-node RAC cluster:
Node 1: DB1 with instanceDB11 (Active-Active: Load-balancing & Failover)
Node 2: DB1 with instanceDB12 (Active-Active: Load-balancing & Failover)
Node 3: DB1 with instanceDB13 (Active-Passive: Failover only) + DB2 with instanceDB21 (Active-Active: Load-balancing & Failover) + DB3 with instanceDB31 (Active-Active: Load-balancing & Failover) + DB4 with instance41 (Active-Active: Load-balancing & Failover)
Node 4: DB1 with instanceDB14 (Active-Passive: Failover only) + DB2 with instanceDB22 (Active-Active: Load-balancing & Failover) + DB3 with instanceDB32 (Active-Active: Load-balancing & Failover) + DB4 with instance42 (Active-Active: Load-balancing & Failover)
Note: DB1 will be the physical primary PROD OLTP database and will be open in READ-WRITE mode 24x7x365.
Note: DB2 will be a Physical Standby of DB1 and will be open in Read-Only mode for reporting purposes during the day-time, except for 3 hours at night when it will apply the logs.
Note: DB3 will be a Physical Standby of a remote database DB4 (not part of this cluster) and will be mounted in Managed Recovery mode for automatic failover/switchover purposes.
Note: DB4 will be the physical primary Data Warehouse DB.
Note: Going to 11g is NOT an option.
Note: Data Guard broker will be used across the board.
Please answer/advise of the following:
1. Is the above configuration supported and why so? If not, what are the alternatives?
2. Is the above configuration recommended and why so? If not, what are the recommended alternatives?Hi,
As far as i understand, there's nothing wrong in configuration except you need to consider below points while implementing final design.
1. No of CPU on each servers
2. Memory on each servers
3. If you've RAC physical standby then apply(MRP0) will run on only one instance.
4. Since you are configuring physical standby for on 3rd and 4th nodes of DB1 4 node cluster where DB13 and DB14 instances are used only for failver, if you've a disaster at data center or power failure in entire data center, you are losing both primary and secondary with an assumption that your primary and physical standby reside in same data center so it may not be highly available architecture. If you are going to use extended RAC for this configuration then it makes sense where Node 1 and Node 2 will reside in Datacenter A and Node 3 ,4 will reside in Datacenter B.
Thanks,
Keyur -
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 -
ORACLE 10G 2 Node RAC on servers AB to 3 node 11GR2 RAC on new servers XYZ
Hi Gurus ,
We have a business requirement to upgrade existing oracle 10.2.0.4 2 Node RAC on servers A,B (HP UX 11.31 ) to 3 Node ORACLE 11GR2 on new Servers X,Y and Z(Linux and servers are from different vendor)
We don't have ASM.We have RAW file system
Now this has to be done with near zero down time.This is a very busy OLTP System.Golden Gate is not an option as Management is not going for it this time.
Storage is same for everything.I am thinking of the following ways.Please let me know if you have any better plan or if you want to correct my existing plan
Initially i thought of this way and i immediately answered myself
Plan A
1 ) Storage copy (BC etc..) exising 10g RAC Database files on A,B to new volumes allocated to Servers X,Y and Z ( I don't think it's possible as OS is different.I am not sure whether copying this way is possible or not , even if possible i am not sure whether new OS can identify these files or not)
2 ) upgrade 2 Node 10.2.0.4 on X,Y to 11GR2 .
3 ) Add a Database Node on Z
Plan B is
1) Build 3 Node brand new 11GR2 on X,Y and Z
2 ) Plan for how can you replicate the data ( This has to be a logical way)
a ) RMAN - Very time consuming as this is >50 TB Database
b) Golden Gate - Not an option.Even if we can use it , i see there are so many logical issues with golden gate
c) Expdp/impdp - forget about it :)
d) physical standby (Versions are different.If it is same version and Same OS then would have been best bet)
What would be the ideal way to do this with minium down time and with out golden gate
I think something can be done on the lines of PLAN A itself.
Requesting your help Gurus
ThanksHi,
Have you considered possibility to setup a logical standby and do rolling upgrade ?
Please have a look at the following:
1) http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf
2) http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-upgrades-made-easy-131972.pdf
If you can practice on test setup, it looks a faster option than the others.
Regards,
Ganadeva -
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 -
How to add a second database along with existing two node RAC environment
Hi,
I was wondering if anyone can help me with this.
My Environment:
1. Two node RAC Cluster database (11.2.0.2) with ASM running perfectly (Oracle Sid = test-1)
2. I have installed a second single instance db on node 2 (Oracle Sid = test-2) with NTFS file system for datafiles
3. Database is up and running, but I am not able to connect it from any client.
4. I am getting ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
5. Database (test2) is registered with grid LISTENER
5. TNSPING from client machine response is ok
Am I missing something here, happy to provide more info if requested.
Thanks,
PSC:\Users\root.test_prod>lsnrctl
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 23-FEB-2012 11:58:05
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Production
Start Date 18-FEB-2012 19:51:47
Uptime 4 days 16 hr. 6 min. 24 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\11.2.0\grid\network\admin\listener.ora
Listener Log File C:\app\11.2.0\grid\log\diag\tnslsnr\IRIS11G-DB-2\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\LISTENERipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.30.0.202)(PORT=1520)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.30.0.215)(PORT=1520)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Service "test-11gRAC.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Service "test-11gRXDB.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Service "irisapps.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Service "test-2" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
Service "test-2XDB" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> service
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+asm2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1322 refused:0 state:ready
LOCAL SERVER
Service "test-11gRAC.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1829 refused:0 state:ready
LOCAL SERVER
Service "test-11gRXDB.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: IRIS11G-DB-2, pid: 4496>
(ADDRESS=(PROTOCOL=tcp)(HOST=IRIS11G-DB-2.test_prod.internal)(PORT=57695))
Service "irisapps.test_prod.internal" has 1 instance(s).
Instance "test-11gr2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1829 refused:0 state:ready
LOCAL SERVER
Service "test-2" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "test-2XDB" has 1 instance(s).
Instance "test-2", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: IRIS11G-DB-2, pid: 9340>
(ADDRESS=(PROTOCOL=tcp)(HOST=IRIS11G-DB-2.test_prod.internal)(PORT=58653))
The command completed successfully
LSNRCTL> -
How to create second database at ASM in 4 node RAC system
Hi Experts,
we use 4 nodes RAC (11.0.1) with 10.2.0. 4 database in red hat5.0
we want to add second database at ASM in RAC system based on manager decision.
how do I add second database in ASM with exist database?
Do I need to created new ASM insatnce?
how to create two new diskgroup? is it under existing ASM instance or new ASM instance?
how to reset ASM properity to support ( or new) ASM instance and two database?
Do I need to configure AMS again after added more space into ASM?
I could not find ducument that add seconf database into ASM in RAC system.
I want add second database by dbca. any experience for add second database in ASM RAC ?
Thanks for help!
JImHi... I'm in the same situation.
I need to add a new second database on a RAC installation based on already available ASM instance.
I'm using 11gR2.
I read your suggested documentation. Then I typed asmca and analyzed my asm configuration:
As you can see I have a DISK GROUP NAME with several FREE space.
!http://img522.yfrog.com/img522/8405/dbca20100203173248.jpg!
If I select Volumes tab the following is my current configuration:
!http://img682.yfrog.com/img682/562/dbca20100203173343.jpg!
Selecting Create button, I can insert some values as you can see:
!http://img403.yfrog.com/img403/9889/dbca20100203173403.jpg!
First question:
Is this the right way to create space for a new database ? Consider that running dbca.. no DISK GROUP NAME is available.
Second question:
When I created my first database on this DISK GROUP NAME no volumes were created. Why now I have to do it ? Is this necessary to really separate datafiles coming from different databases ? -
When we create one service as preferred on both nodes in two node RAC
How to configure listener,tnsnames.ora & listener file When we create one service as preferred on both nodes in two node RAC ... ( I don't need load balancing here but i just want to create service as preferred on both nodes)
please some one help me in this ..Thanks alot Sebastain for your reply..
I am using 10.2.0.4 version and below tns entry is from my client side tns entry ..
M4AMPRD_TEST=
(DESCRIPTION=
(ADDRESS= (PROTOCOL=TCP) (HOST=153.88.184.228) (PORT=1521))
(ADDRESS= (PROTOCOL=TCP) (HOST=153.88.184.229) (PORT=1521))
(FAILOVER=ON)
(CONNECT_DATA=(SERVICE_NAME=M4AMPRD_TEST)
(FAILOVER_MODE=
(TYPE=SELECT)
(METHOD=BASIC)
(RETRIES=20)
(DELAY=5)
service creation: srvctl add service -d M4AMPRD -s M4AMPRD_TEST -r M4AMPRD1,M4AMPRD2
But when i connect to database usign above service from client some times its working fine and some times its failing please see below log with timings how it is behaving ..
SQL> set time on
18:39:46 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
Connected.
18:39:48 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Warning: You are no longer connected to ORACLE.
18:39:52 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
Connected.
18:39:53 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
Connected.
18:39:55 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
Connected.
18:39:57 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
ERROR:
ORA-12545: Connect failed because target host or object does not exist
Warning: You are no longer connected to ORACLE.
18:39:59 SQL> CONN m4owner/iamm4amdev!@M4AMPRD_TEST
Connected.
Thanks for your help in advance
Anil Vejendla.. -
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
Maybe you are looking for
-
Hi, I have a Mac mini here at work, which was working fine when I left it Friday. When I came back, the desktop background was there, but all my windows were just white with no text, no buttons, no graphics. My menu bar is completely blank, and my de
-
hai, am using Jdeveloper version 10.1.3.2 i created a JSF page and passed a Dataobject to the java file CreateTaskClient.java I created a session bean and there are two xml files that the Ide generated ejb-jar.xml and orion-ejb-jar.xml. am pasting th
-
Identify user logged in discoverer as a oracle apps user
Hi Guys, I am using web based to log in to discoverer as a oracle applications user. there is a report in one responsibility related to PO. My question is, can i catch the user who is logged in (his username or user ID) to be printed on the report. o
-
XPath Node Selection not seeing children nodes
Hello All, I have a question regarding XPath and when it returns a node (via the Expression) Lets say, I have this document: <person> <name>someName</name> <location>someLocation</location> <person>I have setup my XPath Expression to return the <
-
Problem With Song List In Ipod Movies
Let's Say I have In My I Pod 5 songs Of Bon Jovi, If Those 5 Song Don't Have An Album Title, They All Apear In When I Press The Artist and then All. If I have More Then One title , let's say two of the five songs have different titles, the titles app