4 node RAC, and services
Hi allWe currently organize 5 databases on a node 5 RAC... 11.2.0.2 IG and a mixture of 11.2 and 10.2 databases. Obviously, services are defined for use by the application based on the load on each node.
I see something strange...
CLV1P_COMMON is a service created to run on the instance of CLV1P2, but in my tests over the weekend, the service went up on different node every time... Why is this behavior? Should it? My understanding is that the service should only run on the node that services... and where you specify PREFERRED in several instances, he uses them to chance... (load balancing)
Anyone can guide me please?
Thank you
/oracle/dba/output/STR1P/rman
camgmolpdb01 [CLV1P1]-> srvctl status service -d CLV1P
Service CLV1P1.aaaaaaaaaaaa.com is running on instance(s) CLV1P1
Service CLV1P2.aaaaaaaaaaaa.com is running on instance(s) CLV1P2
Service CLV1P3.aaaaaaaaaaaa.com is running on instance(s) CLV1P3
Service CLV1P4.aaaaaaaaaaaa.com is running on instance(s) CLV1P4
Service CLV1P_COMMON.aaaaaaaaaaaa.com is running on instance(s) CLV1P2
/oracle/dba/output/STR1P/rman
camgmolpdb01 [CLV1P1]-> srvctl config service -d CLV1P -s CLV1P_COMMON.aaaaaaaaaaaa.com
Service name: CLV1P_COMMON.aaaaaaaaaaaa.com
Service is enabled
Server pool: CLV1P_CLV1P_COMMON.aaaaaaaaaaaa.com
Cardinality: 1
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: NONE
Edition:
Preferred instances: CLV1P2
Available instances: CLV1P1,CLV1P3,CLV1P4
This is the command I used to create the service
srvctl add service -d CLV1P -s CLV1P_COMMON.aaaaaaaaaaaaaa.com -r "CLV1P2" -a "CLV1P1,CLV1P3,CLV1P4" -P BASIC -l primary -y AUTOMATIC -e SELECT -m BASIC
Thanks in advanceEdited by: October 15, 2012 USER101 13:59
Edited by: October 15, 2012 USER101 14:01
Yes.
Concerning
Sebastian
Tags: Database
Similar Questions
-
ORA-27504: error of IPC create context OSD - error on nodes RAC times
Hello
I did Rman cloning Linux 3 (32-bit) for Linux 5 (64 - bit) with success. Then settings of cluster enabled in pfile (two-node Rac) and autoconfig enabled for two databases ORACLE_HOME because it's the Oracle Applications database.
VERSION OF DB - 10.2.0.2
CRS - 11g
Linux version - Red Hat Enterprise Linux Server version 5.4 (Tikanga)
Application version - 11.5.10.2
I am new to cars and this database is up and working now, I see that following error messages in the alert log of the two instances at each start
**********
Thu Jan 20 07:33:35 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Thu Jan 20 07:33:35 2011
Errors in the /u01/app/oracle/admin/udev/udump/udev1_ora_28252.trc file:
ORA-27504: create context of OSD IPC error
ORA-27300: OS dependent operating system: skgxnqtsz failed with status: 0
ORA-27301: OS Error Message: error 0
ORA-27302: an error: SKGXN not av
clsssinit ret = 21
interconnection there is no OCR information
WARNING: No cluster interconnect has been specified. According to the
the communication configured cluster traffic Oracle driver
may be addressed to the public interface of this machine.
Oracle recommends that the RAC grouped be configured databases
with a simple soldier of interconnection for security improved and
performance.
SNA system picked latch-free 3
With the help of LOG_ARCHIVE_DEST_1 parameter value default as/u01/app/oracle/product / 10 g 2, db, dbs, arch
Autotune undo retention is enabled.
LICENSE_MAX_USERS = 0
****************
Please let me know if I have to put the DB services to the cluster.
Thank you
Muhammad TanveerHello
11.2 or 11.1 clusterware is?
If it's 11.2 see Please note:
Pre 11.2 Database issues in environment Infrastructure grid 11 GR 2 (Doc ID 948456.1)
https://supporthtml.Oracle.com/EP/faces/secure/km/DocumentDisplay.JSPX?ID=948456.1Concerning
Sebastian -
Newly build Production environment (don't use it yet)
OS: Linux redhat 64-bit 2.6.18
Cluster version: 11.2.0.4
This environment clusterware installed last December, we are trying to install oracle RDBMS, so try to first stop the crs. However on node 1, the v$ asm_diskgroup shows nothing under total_mb /free_mb on diskgroup OCR. and stop the crs shows: impossible to get in touch with the loan of cluster service.
Alerts cluster log shows below:
2014-03-25 03:50:01.429:
[crsd (8608)] CRS-1013: the location of the OCR in ASM disk group is inaccessible. Details in u00/app/11.2.0.4/grid/log/oprd100/crsd/crsd.log.
2014-03-25 03:50:01.433:
[crsd (8608)] CRS - 0804:Cluster Ready Service interrupted due to the Oracle Cluster registry error [PROC-26: error when accessing the physical storage]
]. Details at (: CRSD00111 :) in u01/app/11.2.0.4/grid/log/orpd100/crsd/crsd.log.)
2014-03-25 03:50:02.123:
[ohasd (12490)] CRS - 2765:Resource 'ora.crsd' failed on the server "orpd100".
2014-03-25 03:50:03.407:
[crsd (8623)] CRS-1013: the location of the OCR in ASM disk group is inaccessible. Details in u01/app/11.2.0.4/grid/log/orpd100/crsd/crsd.log.
2014-03-25 03:50:03.411:
[crsd (8623)] CRS - 0804:Cluster Ready Service interrupted due to the Oracle Cluster registry error [PROC-26: error when accessing the physical storage]
The NEWSPAPER of the ASM alerts:
Wed Mar 25 03:21:49 2014
WARNING: Waited 15 seconds IO to write to the disk of PST 1 in Group 1.
WARNING: Waited 15 seconds to write IO to disk of PST 2 in Group 1.
WARNING: Waited 15 seconds IO to write to the disk of PST 1 in Group 1.
WARNING: Waited 15 seconds to write IO to disk of PST 2 in Group 1.
Wed Mar 25 03:21:49 2014
NOTE: process _b000_ + asm1 initiating (21071) 1.1807368888 disk offline (OCR_0681_2EF4) with mask 0x7e in Group 1
NOTE: process _b000_ + asm1 initiating (21071) 2.1807368889 disk offline (OCR_0681_2EF5) with mask 0x7e in Group 1
NOTE: check PST: grp = 1
GMON seeking ways of disc for Group 1 to 5 pid 27, DiSo 21071
ERROR: read no quorum within Group: required 2 found 1 records
NOTE: audit PST grp 1 fact.
NOTE: start the PST update: grp = 1, dsk = 1/0x6bba42b8, mask is 0x6a, op = clear
NOTE: start the PST update: grp = 1, = 2/0x6bba42b9 dsk, mask is 0x6a, op = clear
GMON update modes of disk for the Group 1 to 6 for 27, DiSo 21071 pid
ERROR: read no quorum within Group: required 2 found 1 records
Wed Mar 25 03:21:49 2014
NOTE: disassembly of the cache (not clean) Group 1/0x35AAB27B (OCR_DATA)
WARNING: For disk offline OCR_0681_2EF4 0x7f mode failed.
2 node rac cluster is normal. We were able to stop the crs without force.
What should I look at to understand what is happening here?
Thanks to adavnace.
WARNING: For disk offline OCR_0681_2EF5 0x7f mode failed.
NOTE: e-mail CKPT suspend pins Unix process pid: 21073, image:
No default value is 1 M
-
Creation of the DB service in 3 node RAC
IM and DB Version: 11.2.0.3
We have a 3-node RAC. We have about 15 applications connecting to 25 different patterns in this PB. For each request, we create a DB CARS service. Should add US 2 instances as the privileged forum or 1 privileged forum and 2 instance available?
That one is recommended
A related question:srvctl add service -d ORCL -s GRN_SV -r ORCL1,ORCL2 -a ORCL3 or srvctl add service -d ORCL -s GRN_SV -r ORCL1 -a ORCL2,ORCL3
You guys add all other parameters (such as BASIC, PRECONNECT,.. .etc) for the creation of such services as mentioned in the documentation below?
http://docs.Oracle.com/CD/E11882_01/RAC.112/e16795/srvctladmin.htm#i1008562Hello
It depends on what you want to achieve.
If a service is running on 2 instances (command 1), while already connections between customer first are spread across 2 instances.
If a service runs only on a single instance (command2), then all connections of clients will be will to the same instance.If the instance 1 fails, then the scenario will take place as follows:
1.) only 50% of users will recognize the failure and TAF will apply to 50% of the users. Users connected on 2 instance are not affected at all (almost... There may be an impact on the performance of small due to reconfiguration).
2.) will affect all users. But TAF will switch to the new instance (which can be ORCL2 or ORCL3) of all sessionsTake a look at this article:
http://www.Oracle.com/technetwork/products/Clustering/overview/awm11gr2-130711.PDFConcerning
Sebastian -
Oracle RAC and replacement of equipment
Hello world
next year our Oracle RAC (hardware) servers will be is more supported. We have a 2 node RAC (SE) running on Linux 5. For you, what is the strategy easier (and safer) to replace the equipment:
- Reinstall complete with database exports / imports.
- Adding new nodes to the cluster with new servers and delete 'old' (but it seems that the same version of operating system is required in accordance with the documentation).
- Clone of the cluster according to the Oracle documentation on news servers.
Thank you for all your ideas. I googled a bit, but I've not found much info.
Carlos.
- Adding new nodes to the cluster with new servers and delete 'old' (but it seems that the same version of operating system is required in accordance with the documentation).
It's what I strive for. If your time with new nodes in the cluster is short (less than 24 hours), and you stay on the same distribution (i.e. OL5 to OL7), then several times, this isn't a problem. If you still have concerns and do not feel comfortable with this recommendation, then I'll recommend another avenue. I often used it when I was doing something similar for the production system was too critical to take no risk.
- Up new servers in a cluster. You can even start with the version of grid Infrastructure more later/more big who can save a future update maybe you.
- It will take a new OCR and voting disk new configuration.
- Attach the storage shared on the new cluster. For a short period of time, you will have storage mounted to both old and new.
- Install the RDBMS software on the new cluster. Wear on all the config files you might need more... tnsnames.ora, sqlnet.ora, etc..
- When you are ready to drop the database on the old cluster, cutting on the new cluster.
- Use "srvctl database add" to add the database to the new cluster.
- Use 'srvctl add instance' to add the instances to the new cluster.
- (Optional but normally a good idea), use 'srvctl add service' to add services to the new cluster.
- Steps 5 and 6 above usually use the same name of db, same instance names, same service name.
- You now have the database running on the new hardware. Stop the old servers
The only other sticking point would be handling the SCAN and traditional VIP. When I made this drive, I usually my network guy change the SCAN VIP and traditional dignitaries to be alias in DNS that point to the new VIP.
If you do your homework and have everything ready to go, the downtime can be less than 15 minutes for this approach.
See you soon,.
Brian -
Connection speed slow on one node to a node RAC 2 put in place
Hi all
Having a little trouble with one of the nodes in a node 2 CARS set up
We have sent traffic directly to the node in question (using a service that runs only on node 1)Forced connection to this node (sqlplus) since an application server remote takes 3 times as long does if we force fitting to the second node RAC.
If I try to connect locally - connection speed is instantaneous-
There is NO problem with the server performance
There is NO problem with the perfromance instance / database - it is only noticed when the initial connection
I've been in the network of the node and can see nothing wrong - so I was wondering if there was anything you guys might have experienced while the connection time is slow for a single node only (949 ms - compared to 247 ms on node 2)
If anyone out there is interested or falls on this issue
The problem has proved to be the mount point options MP Linux Volumes
I had configured them as part of best practices for RAC / NetApp / Direct NFS - hjowever I also got the binaries for both nodes in order to have greater availability.
Thereffore I would have had the Mount for NŒUD UNIQUE options.
The change was to
-stop the instance
-unmoiunt binary files
-change the following on fstab
NFS rw, bg, hard, nointr, rsize is 32768, wsize = 32768, tcp, to = 3, timeo = 600, actimeo = 0 0 0 TO
NFS rw, bg, hard, rsize = 32768, wsize = 32768, to = 3, nointr, timeo is 600, tcp -start the instance and repeat on node 2
-
What host and Service using TNSNAMES
HelloI created a cluster 2 nodes (LAB4 LAB5) in 11 GR 2 grid Infrastructure, which currently holds my ASM Instance cluster
I'm trying to determine which setting host and Service name I should use on a client to allow connect to ASM as a local connection to the node and connection of cluster.
I'm tresting 3 types of assemblies of TNS below
+ ASM1 - a simple connection to the ASM instance directly LAB4 as if she was not grouped
+ ASM1_VIP - I think that it is of the old method of 10g to connect to the cluster?
+ ASM1_SCAN - I think it's the new way to 11 GR 2 to connect to the cluster?
Since my node LAB4
Grid1 [+ ASM1] > lsnrctl stat
LSNRCTL for Linux: Version 11.2.0.4.0 - Production April 1, 2014 16:15:35
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production
Start date April 1, 2014 09:53:53
Uptime 0 days 6 h 21 min 43 sec
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /home/app/11.2.0/grid/network/admin/listener.ora file
The listener log file /home/app/Oracle/diag/tnslsnr/Lab4/listener/alert/log.XML
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.0.5) (PORT = 1521))) THIS IS MY address PUBLIC IP for this node
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.0.97) (PORT = 1521))) THIS IS MY VIP for this node
Summary of services...
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
The command completed successfullyThe other shows, node listener (LAB5)
Service '+ ASM' a 1 instance (s).
Instance '+ ASM1' READY State, has 1 operation for this service...
My server hosts file contains
192.168.0.5 lab4 lab4.nms
192.168.0.97 lab4-vip lab4 - vip.nms
192.168.2.97 private lab4 lab4 - private.nms192.168.0.6 lab5 lab5.nms
192.168.0.98 lab5-vip lab5 - vip.nms
192.168.2.98 private-lab5 lab5 - private.nms192.168.0.100 cluster1-scan
192.168.0.101 cluster1-scan
192.168.0.102 cluster1-scan* I don't use DNS / GNS - where the 3 inputs static analysis
So I put my client TNSNAMES as follws-
The reason for the 3 types of connection, I mentioned at the beginning of this forum
#ASM instance on LAB4 via public IP
+ ASM1 =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = lab4)
(PORT = 1521)
)
(CONNECT_DATA =
(SERVICE_NAME = + ASM1)
)
)#ASM instance on LAB4 via VIP audience that is the old method of 10g to connect to a cluster
+ ASM1_VIP =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = lab4-vip)
(PORT = 1521)
)
(CONNECT_DATA =
(SERVICE_NAME = ASM)
)
)
#ASM instance on Cluster via Public Cluster SCAN, i.e. the new 11g method to connect to a cluster+ ASM_SCAN =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = cluster1-scan)
(PORT = 1521)
)
(CONNECT_DATA =
(SERVICE_NAME = ASM)
)
)The good thing is that a TNSPING to my client to all the 3 entries above, succeed
Q1. Name of the Service don't know '+' i.e. that why for the + ASM1_VIP and _ASM_SCAN entry above, I could put neither ASM the SERVICE_NAME and not + ASM?
Q2. I presume that for the method of 10g - the name of the Service be indeed ASM and not ASM1?
Q3. If LAB4 should fail, my other node, LAB5, would inherit of the LAB4 VIP
Thank you
Jim
Hi Jim,.
SCAN is for the client computer access to the clusterdatabase without having to know which server in the cluster is to serve the db. SCAN is for your normal databases NOT the asm instance, your customers do not need to access.
To connect to your instance asm on each node with sqlplus and get an output of:
See listener parameter setting
It will show, that asm has local defined listener and will register with the listener node running on your virtual IP address. It will not appear an entry for the remote listener.
For your no - ASM databases, you will find set remote_listener parameter and pointing to SCAN listeners usually via an entry in the tnsnames like this file:
MYDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = your-rac-scan-name)(PORT = XXXX))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb)
)
)
lsnrctl status
-> you will get the output of the listener node
lsnrctl status LISTENER_SCAN1
-> you would give the output of the listener to scan if SCAN1 runs on the node of your ssh shell is sitting.
Concerning
Thomas
-
2 node RAC - administrator managed on the basis of ORpolicy-managedDatabase - what is the best
We intend to build a GR 2 2 node RAC 11. I went through the documentation and found that datbase managed administrator is better when the number of nodes are very less.
Need your input on what we are still in the design phase of the installation.Shashi,
This all goes back to your goal. As you said, it's two RAC nodes and I assume that you will use this database cluster for a single application. If this is the case, then go with administrator managed the database because then you will have more control and be configured in less. Policy management is more useful when you implement a solution true grid where database is used as a service and multiple applications accessing data through services based on data provided within the system of large real application cluster. When I say database as a service, people may want to consolidate smaller databases in a RAC system to reduce costs and operational overhead while providing the same level of access to data for applications.
So to answer your question, go with administrator managed RAC. I hope that I have you provided enough information for your decision :-)
Concerning
http://www.oraxperts.com -
Routing connections via a single node in a cluster 2 node RAC
Hello world
My client has the following requirement: a RAC cluster active/active (for example/node1 node2), but with only one of the nodes being used (node1) and the other sitting there just in case.
For things like services, I'm sure it's pretty simple - just have the value preferred on node1 and available on node 2.
For connections, I guess I'd just the VIP in order in the file of tns, but with LOAD_BALANCING = OFF, so they go through tns entries in the order (ie the node 1 and node 2), then this would allow even the vip failover if node 1 is out of service.
What sounds right? Did I miss something?
Thank you very much
ORSuser573914 wrote:
My client has the following requirement: a RAC cluster active/active (for example/node1 node2), but with only one of the nodes being used (node1) and the other sitting there just in case.
Why? What is the reason for a node ' + just in case + '- and how and when is "turned on" when this situation of just-in-case?
It is not much any sort of sense of sight high availability or redundancy.
For connections, I guess I'd just the VIP in order in the file of tns, but with LOAD_BALANCING = OFF, so they go through tns entries in the order (ie the node 1 and node 2), then this would allow even the vip failover if node 1 is out of service.
What sounds right? Did I miss something?
Does not work on 10g - may not work on 11g. The listener can and don't transfer connections, according to what say the TNS connect string. If you do connect not via a SID entry but through a SERVICE entrance, and this service is available on several nodes, you can't (and won't often) be connected to instantiate on only one IP address that you have used in your connection to TNS.
Basic example:
// note that this TEST-RAC alias refers to a single specific IP of a cluster, and use // SERVICE_NAME as the request /home/billy> tnsping test-rac TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 18-JAN-2011 09:06:33 Copyright (c) 1997, 2005, Oracle. All rights reserved. Used parameter files: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST= 196.1.83.116)(PORT=1521)) (LOAD_BALANCE=no) (CONNECT_DATA=(SERVER=shared)(SERVICE_NAME=myservicename))) OK (50 msec) // now connecting to the cluster using this TEST-RAC TNS alias - and despite we listing a single // IP in our TNS connection, we are handed off to a different RAC node (as the service is available // on all nodes) // and this also happens despite our TNS connection explicitly requesting no load balancing /home/billy> sqlplus scott/tiger@test-rac SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 18 09:06:38 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options SQL> !lsof -n -p $PPID | grep TCP sqlplus 5432 billy 8u IPv4 2199967 0t0 TCP 10.251.93.58:33220->196.1.83.127:37031 (ESTABLISHED) SQL>
So we have connected to the node RAC 196.1.83.116 - and this listener we handed over to node RAC 196.1.83.127. The GR 11 2 earpiece seems to behave differently - it does not have a transfer of work (based on a quick test, I did on a RAC 11.2.0.1) in the above scenario.
This question-how do you deal with just-in-case situation? How do you get the clients to connect to node 2 when node 1 is out of service? Do you rely on the virtual IP address of the node 1 be set on node 2? It's a safe and 100% guaranteed method?
It may take a while (minutes, maybe more) for an address virtual IP switch to another node. Meanwhile, any client using this virtual IP address connection will fail. Is this acceptable?
I don't know - I don't like this concept of your customer to treat the RAC nodes as a sort of database waiting for a situation of just-in-case . I don't see any logic in this approach.
-
Stupid question: what is the difference between RAC and Clusterware?
Hi all
I'm about to start experimenting with the 11 G RAC Setup (to begin with, is that a cluster of a node, will try to add another later).
I am reading the docs... I'm on that of clusterware installation, and it seems to indicate that the clusterware and RAC are two different things?
http://download.Oracle.com/docs/CD/B28359_01/install.111/b28263/prelinux.htm#BABJHGBE
With quotes like "UDP is the default for Oracle RAC interconnect protocol and TCP is the Protocol of interconnection for Oracle Clusterware. You must use a switch for interconnection. Oracle recommends using a dedicated switch. "
Can someone tell me the difference? I know it sounds stupid, but it's confusing me, and I'm new on this.
Cayenne
Published by: cayenne on March 20, 2009 11:25
Published by: cayenne on March 20, 2009 11:25You can make your http://www.oracle.com/technology/products/database/clusterware/clusterware_for_unbreakable_linux_faq.html#7 understand
What is the difference between the Oracle Clusterware and Oracle Real Application Clusters?
In case of failure of the system, put in cluster guarantees availability high for users. Redundant hardware components, such as the additional nodes, interconnection, and discs, allow the cluster to provide high availability. These redundant hardware architecture avoid the single points of failure and provide exceptional resilience fault.
In environments Oracle Real Application Clusters (RAC), Oracle Clusterware monitors and manages Real Application Cluster databases. When a node of the cluster is started, all instances, auditors and the services are started automatically. If an instance fails, the clusterware automatically restarts the instance, so that the service is often restored prior to the notice of the administrator, he was down. In this sense Oracle Clusterware is the base of Oracle Real Application Clusters.
In these environments CCR ensures the continuous operation of the database, but also scalability by running several bases of instance data at the same time, usually one on each node in the cluster.
-
the value node id and baud rate by lss (CANOpen)
Hello
for a research project, we try to use 2 volume CAN flow sensors (http://www.hydrotechnik.com/english/QT106_DSEN.pdf) . For use in our network CAN I first set up the node id and the baudrate of each of them. The manufacturer told me to do it via the put layer Service (LSS). (How) I can do using Labview?
I can use one of the following cards, NEITHER CAN: NI PCI-CAN/2 and NOR-PCI-8512.
Thanks for the tips.
Greetings,
Thomas
Unfortunately, none of your interfaces are compatible with CANopen. You will need a PCI-8531.
The flow rate in baud rate and node id can be configured easily with the library OR industrial for CANopen communication .
-
Stop 1 node of a 2 node RAC how to move DB
I need to stop a node of a 2 node 10g RAC for server patching. All fine judgment, but the PB is still running on node 1. When the server is stopped, it will move to node 2? Is there a way to move to node 2?
Janet
A "database" can never start. Revisit the terminology.
An Oracle database is nothing more than all of the files on the disk. These files include data files, tempfiles, control files, online redo logs, file settings and if used, the password file. The database provides permanancy. That's what persists when the machines are turned off.
The instance is the collection of memory and the processes that are running on the server. Process as PMON, SMON, etc and memory as the SGA and all its components.
When you start something, you start the instance... or in the case of Oracle RAC, start multiple instances. You never start the database. The database is never running. Technically, users cannot connect to a database, they can only connect to an instance.
Now to your question...
Here is the result of my 2 node RAC cluster:
ORA.resp.db ORA... se.type online ONLINE host01 I have stop just one instance:
[oracle@host01 bin] $ srvctl stop RESP d resp1 o-i immediate instance
Now we see the result:
ORA.resp.db ORA... se.type online ONLINE host02 So from the point of view of your original question... the database is now on the second node. To be precise, it is the _basededonnees resource_ in the sense of the OCR. All it means is that the resource database is available. Why it lists a specific host is beyond me because it comes to Oracle RAC and to be even more precise the database resource is available on all hosts that have instances that run on it for this database. Should be addressed on the State of the database for more information.
[oracle@host01 bin] $ srvctl status database-d RESP
Resp1 of the instance is not running on the node host01
Resp2 of the instance is running on the node host02
Resp3 of the instance is running on the node host03
See... two instances on the other two hosts. The output of crs_stat could have easily showed the resource online on host03 as well.
See you soon,.
Brian -
Disable the single node rac 11 GR 2
Hello
We have 2 node rac 11r2 aim to test how to disable a node oracle 11 g 2?
Thank you
Hello
Still not very clear, but what I understand is -.
"We have 2 node oracle rac 11rg r2 for the objective test when running on the database of the two node 1 & 2 we must restart the node 2nd server sometimes." What happens to the databases and cluster? "
As you're running 2 bow TIE, if stop you the instance on node 2, db will still be available for access that users can connect to the instance on node 1 1. If take you down the instance and the cluster on node 2, node always 1 and 1 instance will be available to the user.
HTH
Anand
-
How Oracle Clusterware Oracle RAC and 3rd-party Clustering with them
I have some questions on how Oracle, Oracle RAC and 3rd party clustering CLusterware fit between them.
Q1. My understanding is that the Infrastructure Grid Oracle Clusterware is Oracle's Clustering solution that allows applications to cluster? that is, it is a general clusterware solution to compete with those already on the market. Is this correct?
Q2. So why CARS is necessary for the Oracle cluster databases? An Oracle database is not just considered one application like any other? So why can not just use you GI / Clusterware to gather what you would do for any other application? Why so you need RAC to the Clusterware Summit?
Q3. Is it is possible to combine an Oracle database using 3rd party of clustering and not use Oracle Clusterware and CARS at all that is can you say cluster, an Oracle database using say Sun Clusters, Clustering AIX or Linux native same clustering?
Q4. If the RAC is purely for Oracle Cluster databases - what is with the title "Real Application Clusters"? What's real on this subject?, what to ask?
Q5. I also read that RAC can use 3rd party of clustering. However if you decide that this is the case, then you need to install Oracle Clusterware when even (I think for interconnection must be created to allow the merger with Cache between Instances of node?).
Is this the case? If yes why never bore you with 3rd party clusters? -Since you will have to install Oracle Clustering anyway - and I probably have to license (all I can think about is the scenario that you already have a cluster of 3rd party in place and you decide that you need to use the same material for a database cluster)?
All wisdom greatly appreciated,
Jim
Yes, with 10g, you had to use the CRS, and with 11g, to use the GI. For 9i RAC, you would use Verits Cluster and Sun Cluster or anything else.
11g RAC to GI. As above, you can use clusterware extra if needed. I gave the example above where to a 10g RAC we used the CRS to the cluster database/listener/vip and allowing groups of volume and filesystem in HACMP cluster. File systems were not shared, but could switch to another node failure node, who has been treated by HACMP. The volume of the groups containing the raw devices were shared volume groups. For 11g, I never used extra clusterware on top of CRS and have always used ASM which is part of the GI.
The application provider only certified database to run on 10g on AIX with raw devices. What is strange about that? It would be unusual that you probably expect to use ASM instead of raw devices, but it is what it is.
See the following Note of Oracle for more information: using Oracle Clusterware with vendor Clusterware FAQ (Doc ID 332257.1)
It is perhaps easier to explain if you can explain what problem you are trying to solve?
-
RMAN backup and restore into Production KEEPS RAC and DATA
Hi gurus of the Oracle
We need the expert advice for tune and cross check the RMAN Script for Production environment below below
Please suggest any corrections or comments on below mention scripts which will be executed on RAC and Production DATA GUARD environment
LINUX RHEL 5.5 64-bit
ORACLE GRID Infrastructure R2 Version 11.2.0.3.0 (we use ASM Cluster File system)
ORACLE11g R2 Version 11.2.0.3.0
We planned for basically rman backup drive using control file target instead of recovery catalog database
We will have Data Guard Setup between 2 remote sites of database and two remote sites have running the local 2-node RAC database
=========================RMAN_Full_Backup.sh=========================================================================
#! / bin/bash
. /Home/orarac/.bash_profile
logloc = 'date' + rman_backup_lvl0_orcldb_ %m %y hour %M %S %d ".log
# Start rman backup
Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
run
{
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
include current controlfile
tag 'datafile_full ';
}
run
{
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
overlap archivelog all;
SQL 'alter system archive log current';
backup ARCHIVELOG all delete them all input FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_ARCHIVELOG_%D_%M_%Y'
tag 'archivelog_full ';
}
cross-checking of backup;
delete noprompt obsolete;
Save the list of database;
EXIT;
EXPRESSIONS OF FOLKLORE
==================================================================================================
=========================================RMAN_Inc_Backup.sh ===========================================
#! / bin/bash
. /Home/orarac/.bash_profile
logloc = 'date' + rman_backup_lvl1_orcldb_ %m %y hour %M %S %d ".log
# Start rman backup
# use only the following line if this script is run via the root CRON
Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
Run {}
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
database backup incremental level 1 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL1_%D_%M_%Y'
include current controlfile
tag 'datafile_Incr ';
}
Run {}
allocate channels ch1 type disk maxpiecesize = 1024 M;
allocate channel ch2 type disk maxpiecesize = 1024M;
overlap archivelog all;
SQL 'alter system archive log current';
backup ARCHIVELOG all delete them all input FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_ARCHIVELOG_%D_%M_%Y'
tag 'archivelog_full ';
}
cross-checking of backup;
delete noprompt obsolete;
backup from the list;
EXIT;
EXPRESSIONS OF FOLKLORE
-bash - $3.2
====================================================================================================
===================================RMAN_DB_Restore.sh====================================================
-bash-3, $ 2 cat /home/orarac/RMAN_Scripts/RMAN_DB_Restore.sh
#! / bin/bash
. /Home/orarac/.bash_profile
logloc = 'date' + rman_restore_orcldb_ %m %y hour %M %S %d ".log
# use only the following line if this script is run via the root CRON
Target of $ORACLE_HOME/bin/rman = / log = / backup/RMAN_Log / $logloc < < EOF
Run {}
BOOTABLE MEDIA FORCE;
RESTORE THE DATABASE;
RECOVER THE DATABASE;
ALTER DATABASE OPEN;
}
EXIT;
EXPRESSIONS OF FOLKLORE
====================================================================================================
Concerning
HitgonThank you mseberg
This command is the full backup or a backup of level 0?
full backup as compressed backupset
data include current controlfile more archivelog deletion entry;We use command below for the full backup of database.
database backup incremental level 0 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL0_%D_%M_%Y'
include current controlfile
tag 'datafile_full ';We use the command below to the increment backup
database backup incremental level 1 FORMAT ' / backup/RMAN_Backup/rman_bkp_%U_%d_%T_DATAFILE_LVL1_%D_%M_%Y'
include current controlfile
tag 'datafile_Incr ';What is the different when we use
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY;or
full backup as backupset compressed database include controlfile current more archivelog delete all input;
Concerning
Hitgon
Maybe you are looking for
-
Hello I want to start to use the Photos for Mac app, but I can't find the tool compare - compare the original image with the edited version.
-
Download Codec for vista 32 bit
I have a codec missing for windows media player 11.0.6002.18311, but every time I look for a download they all seem a little dubious, can anyone recommend a downlaod codec for vista 32-bit, what is safe. I downloaded some of them without any problem
-
photos auto-charger in a program is no longer, I install
whenever I go to open a picture they try auto load into nero startsmart, though even I had supposed to be uninstalled. How would I have to get the images to stop an automatic loading in nero, or bring to self-charge of the true Windows photo gallery?
-
Why can't move window 7 for all other windows
I continue to do what said each Web site, but when I update windows and go to check for updates, it says "windows update cannot currently check updates, because the service is not running." You may have to restart your computer"and I restarted my com
-
connected speaker blotooth Windows 7 but no sound
the speaker is connected, when I put a defult no sound... I tried everything I found it on google tofix. any suggestions?