Unable too see two nodes RAC
Hi All,
Hope you are fine, here same.
According to my daily activities i use to check alert log file, db growth etc etc...
number of end users on both nodes..
Problem:
I use to check number of end users on both nodes i.e
SQL> select inst_id, count(*) from gv$session group by inst_id
INST_ID COUNT(*)
1 295
2 301
Today morning when i check the same query i see
INST_ID COUNT(*)
2 301
both nodes are working as when i connect from sql
username/password@hisp1 (sessions=290)
username/passowrd@hisp2 (sessions=301)
no errors reported in alert_log file of both nodes.
Thanks in advance
Mohammed Amer Ali
Dear
As i have said above.
Its true that those sessions-on-the-second-node aren't populated on first node and vice versa.
Its like v$instance where i have given gv$instance.
more elaboration
when i query gv$session_waits, gv$session etc
all this views work as v$session ,.......
Might be the problem of services(daemons). what i think?
like cluster services etc.
I ran #./crs_stat -t
#./ctsctl stat -t
It thorows a message like ./crsctl: No such file or directory.
but it does not work on my system...
Thanks,
Mohammed Amer Ali.
Similar Messages
-
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.. -
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 -
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> -
Mutliple serveres in a two node RAC
hello friends m i newbie in RAC and i have 7 servers in my company 4 are for oracle database used for different purposes having same instance name on each of them and 3 are for application servers used for different purposes having same instance name and i want to use two node RAC for all of them now my question is
1) can i use all the 7 servers (4 database and 3 application) together in a two node RAC?
2) in RAC can i have different instances having same name?
thanx in advancesaugat chatterjee wrote:
hello friends m i newbie in RAC and i have 7 servers in my company 4 are for oracle database used for different purposes having same instance name on each of them and 3 are for application servers used for different purposes having same instance name and i want to use two node RAC for all of them now my question isRAC is a single database running across multiple servers (db instance on each). That is how Oracle scales.
Oracle does not scale the converse way - running multiple databases on a single server.
1) can i use all the 7 servers (4 database and 3 application) together in a two node RAC?That depends entirely on whether the 2 severs have the capacity to deal with the processing load currently handled by the database servers.
Also note that in Oracle the terms "+database+" and "+schema+" differ from what are used by some other RDBMS products.
An Oracle database is a physical entity. An Oracle schema is a (amongst other things) a logical database. So a single physical Oracle database can contain 1000's of logical databases - and these logical databases can be physically separated from one another (via tablespaces), can have different rights, can have different resource profiles, etc.
Each RAC node is part of a shared everything cluster - meaning that the entire physical database is available on each and every RAC node.
On RAC, you can do what is called application partitioning. You can for example configure HR clients to make use of the HR logical database (schema) on RAC node 1. RAC node 3 is for example used for the Data Mart application and node 2 handles the customer billing clients.
In other words, you partition your applications across RAC nodes.
2) in RAC can i have different instances having same name? The instance name is a physical name and should very seldom be explicitly used. Your physical RAC database's SID may be PROD. Your 4 RAC instances, one on each server, will have SIDs PROD1 to PROD4.
But you should instead create database services and have clients connect (via the RAC's SCAN/Single Client Access Name) to a specific service.
Bottom line to keep in mind - RAC is Oracle's answer to scalability. And RAC is multiple servers and a single database. Doing the converse and running multiple database on a single server (RAC or no RAC), very seldom makes any technical sense. It almost always will reduce both performance and scalability. -
How do i licence a two node RAC with ASM infrastructure
AM trying to estimate the licensing of two node RAC with ASM as storage manager and GRID control as management tool
Hi,
Oracle license depends on lot of things, Edition of Oracle your running standard or enterprise, the optional packges you need and etc.
Read through http://docs.oracle.com/cd/E11882_01/license.112/e10594/editions.htm#BABDJGGI
also if you license named users or processor. You can get the price for the from online oracle store
https://oraclestore.oracle.com/OA_HTML/ibeCCtdMinisites.jsp?language=US&ref=ibeCZzpHome.jsp -
CONVERTING TWO NODE RAC ON WINDOWS TO SINGLE INSTANCE
I got question about a two node RAC on Windows.
One of our vendors is hosting our oracle enviroment and we are planning to bring in the datacenter in house and manage it ourselves.
Current they have a two node RACon windows
The new enviroment we are building here , we want to get rid of RAC and bring it back to a single instance environment.
How do i approach this?
1. My first option was to create a new database server and do the export dp from one of the node and import to the new single instance enviroment.
My conncern is can you do export from RAC database and import it to a non RAC enviroment?
2. My second option is to delete one node on the two node RAC and then do export dump or cold backup and copy the database files and necessary config files.
let me know how i can approach this.....Okay guys after digging aroung i found the following approach.....
Cloning Oracle 10gR2 from RAC Environment to Single Instance Environment will raise the following error
ORA-29702: Error occurred in Cluster Group Service Operation.
The new instance is looking for CRS on new single instance non RAC environment.
For UNIX platform follow the following steps:
- Shutdown the instance which is cloned to non RAC.
- Shutdown all the listeners.
- Relink Oracle executable with rac_off option.
$ make -f ins_rdbms.mk rac_off
$ make -f ins_rdbms.mk ioracle
- Remove all the parameters from init.ora which points to second instance
and it is on other node.
- Remove cluster_database parameter
- Remove undo_tablespace parameter which points to second instance
For Windows Platform follow the following steps:
- Shutdown the instance which is cloned to non RAC.
- Shutdown all the listeners.
- Rename following file in %ORACLE_HOME%/bin directory: orarac10.dll to orarac10.dll.bak
Give me your thoughts, there is nothing on Metalink.... -
Can fiber channel be used for connect server to a storage in two nodes RAC
I decided to have an Oracle RAC cluster with only two nodes.
The storage I have is a sun 3510FC. Also have five fiber chanal ports. But my each server (Sunfire v240) has got one Ultra160SCSI multimode (SE/LVD) not any fiber chanal ports. I found that there is some FC card available to use but none fiber switch available. I want to install this FC cards to the servers and make a straight connection with fibre cable to the storage. Can this be asolution or do i have to have a fibre switch?Hi
Irrespective of whether such a configuration is supported or not by Oracle.
Has anybody got 10gR2 RAC working on
a. 2 servers
b. shared storage with HBA and fibre channel cables
c. interconnect on LAN
(yes we know it is not supported by Oracle...but again we are not going production on that....just for demo/training purposes)
No FC switch
No ethernet switch
If anybody has got this working would be great to hear of 'issues to guard against'
Thanks -
Configure OEM in Oracle 10.2.0.4 Two nodes RAC
Hi all,
I'm having some troubles making rigth configuration for OEM in my RAC.
Everything during installation or configuracion seems ok but later it's all wrong.
The point is:
Global database is ON and every of two nodes is also ON. I can accees it from inside and outside the server nodes.
CRS shows everything OK with all services and resources ONLINE.
emctl status dbconsole -clusterhttps://node2:5500/em/console/aboutApplication
EM Daemon is running.
emca -displayConfig dbcontrol -clusterINFO:
**************** Current Configurationl ****************
INSTANCE NODE DBCONTROL_UPLOAD_HOST
inode2 node2 node2
inode1 node1 node2
So everything should be OK
When I try to access OEM, it says that status can't be acess and offers me the choice of START or BEGIN RECOVER
When I go through START the two nodes are up but can't access the instances.
So I know that something has wrong configuracion but I don't know WHAT!!!
Any Idea???
Thanks in advanceStart looking at the logs under $OH/<node_name>/sysman/log - most likely it will offer some clues.
-
Unable to see server nodes in sap management console
I am unable to see servernodes in sap management console.
I am getting error like sapstartsrv.exe-application error ,
"The instruction at " 0x00000000" referenced memory at "0x00000000".The memory couldnot be "written "
click on Ok to terminate the programme.
click on cancel to debug the programme ".
Please advise me how can i see servernodes in the sap management console.
Rewardpoints will be awarded.Hi,
You get back your MMC , please do the following steps.
1. Go to Run and type MMC.
2.Go to file and select add/remove snap in ( alt+m).
3.Click on add
4.Select the SAP system from there.
Save the MMC console which you have created now....This should work fine.
Thanks
Pankaj -
We have Oracle datbase 11gR1 in RAC node with Oracle ASM.Recently our database server got crashed and we are trying to restore back services.
Using Snapshot technologyBusiness copy we had synced all our disk on storage level. Post this when we are trying to start ASM instance on node 1 it is coming and showing all diskgroups but on other node it is throwing errot with missing e diskgroup.
ORA-15032: not all alterations performed
ORA-15040: diskgroup is incomplete
ORA-15042: ASM disk "5" is missing
Expert please share your views.
Thanks,
TusharThe I/O fabric layer on the other node failed to mount all storage LUNs - resulting in ASM being unable to mount a diskgroup as there are missing disks in that group.
Rebooting is exactly what could be needed to reset the h/w and infrastructure used by that node, in order for it to see all the storage disks again. As node 1 sees all storage disks (and is working), the disk itself on the storage system is intact and usable.
What is the o/s? What is the fabric layer? What is used on o/s for dealing with the I/O fabric layer? -
Hi;
Did any one installed OEM 10gR2 (10.2.0.1.0 ) agent on RAC cluster, and was discovered by OEM successfully?
What are the pre-requisite on RAC cluster so it can be monitored by OEM?
Any kind of help will be appreciated in advance.
Prakash Patel875410 wrote:
Hi,
Download from this site(*10201_database_win32.zip*). When install Oracle 10g Relese2 10.2.0.1.0 in Windows 7 Enterprise 32bits. I check the version of SQL Plus installed and shows the following:
SQL * PLUS: RELEASE 10.2.0.1.0 - Production on [date]
Copyright (c) 1982, 2005, Oracle. All rigths reserved
connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options
Why the version installed Oracle Database 10g Enterprise Edition Release is 10.2.0.4.0 - 64bit?
How to fix this problem?
Thank you for your information.Looks like you are connecting to a database running from a different oracle home (maybe even a different box) than where you installed your 10.2.0.1. -
Patch upgrade 10.2.0.1 to 10.2.0.5 Two node Rac
Dear All,
We are planing to apply Patch one of our RAC 10g relase 10.2.0.1 to 10.2.0.5. Our System is runing 5 databases. All databases are very critical. There is also Asm instance. Is there is any way to achive this without downtime.
Regards,
AwaisHi,
Prior to 11g, ASM rolling upgrade is not possible. Hence I do not think any work around except using standby.
Regards,
Sharma S -
Unable to see hierarchy nodes for a hierarchy in Query designer
For IO 0GL_ACCOUNT, we have many hierarchies defined.
In the query designer when i am trying to restrict the 0GL_ACCOUNT with one of the hierarchy say Hier1 the corresponding hierarchy nodes should be displayed so that i can select any nodes of my choice and can restrict.
Strangley instead of showing hierarchy nodes,it is showing" [ ]" with out any values.Checked in RSA1 ,the hierarchy with all nodes visible perfectly.No authorization settings created on any of these hierarchies.
hierachy is in active state.
Appreciate any suggestions on this.
Regards,
Swapna.GBefore restricting you need to select hierarchy for the characterstic and tick the activate hierarchy display checkbox
Maybe you are looking for
-
Watched Episodes Are Not Marked Watched
I have a new MacBook Pro with Snow Leopard and all updates are installed. My only problem now is that any TV shows or movies that I watch in Front Row are not marked watched in iTunes. The blue dot appears half full as if I've only watched part of ea
-
Is there any book or ebook available on web interface builder?
Hi all, Does any one know of any book in the market or any ebook for learning web interface builder including the advanced topics like using variables etc. Thanks in advance Gugi
-
IPad/iTunes new user; need to keep account separate
I've just bought an ipad 3; my son, who has an iphone 4s has been using itunes on our computer for many years. How do I use the same version of itunes for my own apps, songs etc? (I don't want to sync his stuff onto my ipad.)
-
Hp pavilion dv1610us shuts itself off PLZ HLP
Hi, recently I started having a problem with my dv1610us notebook. I'll turn it on and start using it and without warning, it will just turn itself off like a cold shutdown and everything goes black. Windows XP loads properly with out any errors and
-
E-Recruiting u0096 Web Dynpro ABAP UI u0096 Button, Tab, RMP steps Color change.
Hi, I need to change the color of Heading, buttons, Tabs and Road Map Pattern steps in Web Dynpro ABAP UI for external candidate. Im looking into WDA component HRRCF_C_STARTPAGE to change the color of Heading, buttons, Tabs and Road Map Pattern. I