Start &; stop an instance RAC
Hello
I just created a 2 node 11 GR 2 database RAC, traditionally from databases not CARS I would just use sqlplus to start / stop the instance
Q1. What is the recommended way to start / stop an instance in a RAC environment? Do you use a cluster to do command, or is sqlplus is acceptable?
Q2. If you use sqlplus and more to stop an instance on a node, I presume that the cluster services is NOT as a failure and so don't try to restart the instance?
Q3. similiarly what is the best way to start / stop a listener on a particular node?
any help appreciated
Jim
Hello Jim,
Q1. What is the problem with the status not reflected in the output of clusterware resource? Is it to do with the ability of Services to acknowledge a failure and restart the CLuster service?
Response: The resource database is not parsed by SIR and if the database suddenly stops then none will try to restart the same.
Q2. Regarding the automatic closing of a database in a CCR environment (as opposed to the manual method which I asked on-) if I simply turn off the cluster nodes of my will which in turn stops the Instances and close the database RAC itself (when the last Instance is closed)?
For even if I turn on my knots, the first node start cluster, its instance and open the database?
Answer: well, if you turn off your server then of course the database and stop anything else running on the server. When the server is under tension and if crs autostart is enabled then the clusterware stack will come with the server
Q3. What is the difference between a Service and a resource of the cluster? Are the database, earphone etc services or resources? I'm just trying to understand why SVRCTL is used to manipulate the database and listener and not say CRSCTL?
Answer: You can configure a service which is part of tree resources of database and the resource database is a parent for the same thing. Services are used to connect to the database. Database, (if added) services, asm, listener, scan etc are all the resources of the clusterware, which are monitored by the clusterware.
You can refer to the Oracle documentation, which will give you more insight on these details
http://docs.Oracle.com/CD/E11882_01/RAC.112/e16794/TOC.htm
http://docs.Oracle.com/CD/E11882_01/RAC.112/e16795/TOC.htm
Kind regards
Vautrin - Oracle
Tags: Database
Similar Questions
-
How to find the history of the instance starts/stops?
Hello
I'm looking for history of instance starts/stops.
Thanks in advance.Hello
You can find the history of start/stop of the instance in the alert log file.
Follow the steps below.
1 SQL > show settings back.
/ u02/oracle/admin/test_db/bdump string background_dump_dest
It is the location of the my bdump folder.
2. got to the location.
3. alert ls *.
alert_test_db.log
Kind regards
Ranjan -
Error ORA-17503 at the start of the instance data in the CARS
Hello!
I installed Oracle 11 g SE (11.2.0.4) with CARS with 2 nodes on RedHat 7.1 with separation of roles (grid and oracle db run under different users)
Just after installation it worked, I was able to connect to the database, create a table and see it on the two nodes of the RAC.
But after restarting the servers, I can not make it works again
Maybe someone could help me understand what I am doing wrong?
When I'm trying to start a database on the vm-ora-05 node instance, I get this:
sqlplus/nolog
01:35:22 @: > connect / as sysdba
Connect to an instance is idle.
01:35:28 SYS @ racdba1: > start
ORA-01078: failure in the treatment of system settings
ORA-01565: error in the identification of file "+ DATA/racdba/spfileracdba.ora".
ORA-17503: ksfdopn:2 could not open the file +DATA/racdba/spfileracdba.ora
ORA-12547: TNS: lost contact
01:35:32 SYS @ racdba1: >
**********************************
Environment variables for GRID
ORACLE_HOME=/U01/app/11.2.0.4/grid
ORACLE_SID = + ASM1
Environment variables for Oracle DB
ORACLE_HOME=/U01/app/Oracle/11.2.0.4/rachome1
ORACLE_SID = racdba1
**********************************
If I check the status of the disk groups and +DATA/racdba/spfileracdba.ora asmcmd file it seems to be Ok (for me at least)
[grid of grid@+ASM1] $asmcmd
ORACLE_SID = [+ ASM1]?
The Oracle base remains unchanged with the value/u01/app/oracle
[+] ASMCMD > lsdg
State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block
EXTERN MOUNTED N 512 4096 1048576 5121 4725 0 4725 0 SRC /.
EXTERN MOUNTED N 512 4096 4194304 153596 151240 0 151240 0 N DATA.
EXTERN MOUNTED N 512 4096 4194304 153596 153020 0 153020 0 N FRA.
ASMCMD [+] > ls-l +DATA/racdba/spfileracdba.ora
Name of type Redund time scratched Sys
N spfileracdba.ora = > +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829
ASMCMD [+] > ls-l +DATA/RACDBA/PARAMETERFILE/spfile.267.894291829
Name of type Redund time scratched Sys
Fichier_parametres UNPROT COARSE NOV 03 01:00 Y spfile.267.894291829
**********************************
At the same time, do not know why oracleasm scandisks/listdisks appear not all discs...
[root@vm-ora-05 Diba] # / usr/sbin/oracleasm scandisks
Reload from disk partitions: fact
Cleaning up stale ASM disks...
ASM disks scanning system...
[root@vm-ora-05 Diba] # / usr/sbin/oracleasm listdisks
[root@vm-ora-05 Diba] #.
**********************************
Here is the result of the res stat-[NULL] crsctl you and crsctl check cluster
[grid@+ASM1 grid] $crsctl res stat - you
--------------------------------------------------------------------------------
TARGET STATE SERVER STATE_DETAILS NAME
--------------------------------------------------------------------------------
Local resources
--------------------------------------------------------------------------------
ORA. CRS.dg
Vm-ora-05 online
ORA. DATA.dg
Vm-ora-05 online
ORA. FRA.dg
Vm-ora-05 online
ORA. LISTENER.lsnr
Vm-ora-05 online
ORA.asm
LINE Started vm-ora-05 online
ORA. GSD
In offline mode offline vm-ora-05
ORA.net1.Network
Vm-ora-05 online
ORA.ons
Vm-ora-05 online
--------------------------------------------------------------------------------
Cluster resources
--------------------------------------------------------------------------------
ORA. LISTENER_SCAN1. LSNR
1 vm-ora-05 online
ORA. CVU
1 vm-ora-05 online
ORA. OC4J
1 vm-ora-05 online
ORA.racdba.db
1 stop an Instance offline online
Terminating the Instance offline in LINE 2
ORA.scan1.VIP
1 vm-ora-05 online
Ora - ora. VM - 05.vip
1 vm-ora-05 online
Ora - ora. VM - 06.vip
1 in LINE THROUGH MORE out of vm-ora-05
[grid@+ASM1 grid] $crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[grid@+ASM1 grid] $
Please help, this problem makes me crazy)
-rwxr-x---x 1 grid 209854149 28 Oct 02:10 /u01/app/11.2.0.4/grid/bin/oracle oinstall
^ ^ This x must do for setuid/setguid not x for execute
Check the docs on setuid/setguid and this note:
ASM login fails with ORA-12547: TNS: lost contact (Doc ID 1942740.1)
https://docs.Oracle.com/CD/E19683-01/816-4883/secfile-69/index.htmlThis should solve the problem:
/U01/app/11.2.0.4/grid/bin/Oracle chmod 6751
Concerning
Thomas
-
Windows Mail could not be started because another instance of it is still running on your computer
When I start Windows Mail I get this message.
{Windows Mail could not be started because another instance of it is still running on your computer.} Please log off of Windows, and then restart Windows Mail. If the problem persists, save your work and restart your computer.}
I'm trying to find the instance that is running, but I can't find anything running. I have to restart my computer to make it work.
Can someone tell me how to solve this problem?
You can disable individual startup items in a selective way and eventually found the culprit. If you have Windows Desktop Search installed, go to control panel | Filtering options and disable indexing WinMail. Also, if you have a mail gadget in the sidebar, remove this. Antivirus software can also screw up things, seewww.oehelp.com/OETips.aspx#3Stevewrote in message News: * e-mail address is removed from the privacy *... Steve thank you very much for your help. I would also like to solve this problem for good, but I don't have the slightest idea what to stop running in my startup that has nothing to do with windows mail.
-
11 GR 2 Grid Infrastructure manual start/stop in clustered environment
Hello
I have installation 11 GR 2 grid in both a stand-alone environment and a cluster environment and I am looking at some differences regarding post-market manually in these two environments
In the stand-alone environment, manually stop really just composed of-
ASM - stop I would use generally "srvctl stop asm ' to do
Stopping HAS (Oracle Restart) - using "crsctl stop at".
Would be just the reverse of these
However things in the clustered environment seem to be a whole different kettle of fish!
First of all I appreciate this start manual switch of ASM and Cluster resource (in stand-alone environments and Clustered) is not really essential for the operation on the day the day (it's really for food issues) and a server startup or stop will do the necessary start / stop services - so somehow this manual process is a bit contrived for the race on the day the day
Q1. Given that there are so many different levels of process / demons for the clustered environment - is there still a viable manual start for 11 GR 2 GI procedure in a clustered environment?
Any help in identifying the manual order to start / stop would be appreciated?
Thank you
Jim
Hello
You can stop/start the cluster and all resources with "crsctl stop/start crs. There is no need to manually stop the asm, it will be managed by clusterware, as well as the dbs, auditors, etc.
You can use "crsctl stat res t ' for an overview of the resources managed by the crs.
"crsctl stat res ora.your_dbname.db Pei" gives you detailed information about the resource, including the start and stop option. Regularly, this should be the immediate mode for the dbs, if you're fine with this mode of closure you can simply use crsctl stop crs to stop everything on a single node.
Concerning
Thomas
-
grepping for start/stop newspaper
Hello
I have been asked to provide a script that analyzes oracle logs and can determine if there were some mistakes. So far, I can find the digital errors in my script (such as ORA-00600) but I also need to be able to tell when a database was stopped, started, or restarted. I can look in the logs that would determine that?
Thank you
Tim918944 wrote:
sb92075 wrote:
918944 wrote:
HelloI have been asked to provide a script that analyzes oracle logs and can determine if there were some mistakes. So far, I can find the digital errors in my script (such as ORA-00600) but I also need to be able to tell when a database was stopped, started, or restarted. I can look in the logs that would determine that?
Realize that a stop can not precede a start; given that the cleaning woman could just unplug the box
Also, you can process the file alert_SID.log as TABLE EXTERNAL; eliminating the need for grep & similar utilities by any SQL or PL/SQL.
Very interesting idea. However, we try to be alerted to such events using nagios without logging in the area. The idea if a start/stop occors, or event digital as an ORA-00600 occurs, nagios will detect that via a perl script and shoot an email to the team and send a page to a pager. So, I still need to know what in the logs that would indicate a start or stop. We have, by the way, oracle 10g.
That should not be difficult to see. All I need to know is what the newspaper indicate a start or stop. I tried grepping for the terms of the ${SID} _alert.log (s), but found nothing at the moment.
Thank you
Well, as I said previously, a 'stop' could be a hard stop (housekeeper hooked up a vacuum cleaner in the inverter and blew the circuit, killing the server...) Yes, I saw it happen) so the PB does not receive the opportunity to record.
But the most common for, what you're currently grepping for? In watching one of my newspapers alert I probably see strings "Stoppage of the proceeding" and "Starting ORACLE instance."
-
Cannot start the database instance - cannot open the spfile
Here's what I did, that lead to a problem starting my database instance. It is a database that I just load data, and I do not have a backup yet :-(
I created a structure for a new database and data loaded from a different database, which has been a very long process of becasus of the amount of data.
Today, I decided to create a model of this database by using the Configuration Wizard.
Before you begin the management of models, I decided to remove an old database that was never created correctly. I used the Setup Wizard to remove this database and got an error that SPFILEROVM. There is no such thing as ORA. But the removal has completed, and I worry too much.
Then, I started to create my GoodDatabase model. I stopped with the message again that the SPFILEROVM. ORA (from the old database) did not exist. But it is already stopped my GoodDatabase and I can't restart. I use OEM Database Control for restart, but I get the complaint about the SPFILEROVM once again. ORA of the old database. How can I solve this problem? The error of OEM is attached below. The database is under Windows Server 2003. I can connect in OEM to another database instance (orcle) but I do not have the OEM rack.
Thanks in advance.
SQL * more: release 10.2.0.3.0 - Production the Sea 2 08:42:15 Feb 2011
SQL > SQL > connect to an idle instance.
SQL > ORA-01078: failure in the treatment of system settings
ORA-01565: error to identify the file ' F:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEROVM. ORA'
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.
Disconnected1 find the log of alerts for this instance
2. look for the section where the database is put into service. All default settings will be listed here. Copy the parameters by using Ctrl + c
3. create a file F:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\initrovm.ora
4. Paste the settings in this file
5. start a dos commands prompt
6 set oracle_sid = rovm
7 sqlplus / as sysdba
8. create spfile from pfileYour database must begin now.
-----------
Sybrand Bakker
Senior Oracle DBA -
Instances impossible to log into the ASM instance RAC &; ASM low-
Hello Experts,
The environment is as below:
Operating system is RHEL 5
The Oracle 10 g 2 EE database
RAC and ASM
Node2 suddenly broke down and down. The Node1 has worked very well for a few days.
But yesterday also went node1 down.cluster services are healthy and beautiful. We want to remove the archivelogs but
When we try to start the ASM instance, following error occurred:
SQL > startup force
ORA-27504: create context of OSD IPC error
ORA-27300: OS dependent operating system: if_not_running failed with status: 0
ORA-27301: OS Error Message: error 0
ORA-27302: an error occurred at: skgxpvaddr6
ORA-27303: additional information: asked the eth1 interface is not running. Output of the ifconfig command control
Please suggest any solution.
Thank you
Edited by: LazyDBA10g may 1, 2010 23:51All you have to do is to restart the surviving node. She's. Read your first post please check if eth1 is running.
By the way: eth1 cannot be the interface... vip vip interfaces like eth1: '0' - they are virtual interfaces. I´d guess eth1 is your
cluster of interconnection... If it's not available (regardless if the other node is still available or high) will refuse the ASM instance
to start.But as I have found your answers here tried to drop the node crashed so uncontrolled, which makes it worse?
If so there is a high possibility you messed up your configuration. But i´d start by checking your interfaces. If this is not
help I recommend opening a SR with Oracle.--
Ronny Egner
My Blog: http://blog.ronnyegner-consulting.dePublished by: Ronny Egner on May 3, 2010 14:10
-
I have a process that is infinite while loop. I don't see the instance when I start the process. I want to stop this instance how can I do?
From now on, I stop and start the server.Hello
Insert a java snippet at the beginning with:
Checkpoint();
After that, you are able to see the instance in the BPELConsole and then you can abandon it.
-
Remote Start / Stop function
I was wondering if Peter has any information about a remote starter / stop feature.
How can I connect start function of my C-motion or Preston the camera remotely? I don't see any other than the 'Remote' normal connection points, but this only works with the RM-B150/170 - so don't not compatiable with LCS.
I guess it's also possible that the stop and remote start could be addressed through the wi - fi connectivity when activated.
-
Start, stop, step chart generator
I would like to get into the start, stop and frequency step to build a table that will contain the value of to feed to a sweep generator.
I have something that works, except for one thing; the timeout value. I can't get this thing to stop on the stop frequency value. The step value seems to affect it too much. So could someone take a look at my vi and help me with this? In addition, the code seems a bit complex for what might seem like a simple thing to do.
Anyway, here's a slightly simpler implementation of your code. As you can see, you the codes was much more complicated than necessary!
Below is the implementation of the model of ramp (recommended). Both give the same result for entries healthy of mind.
I would certainly use the ramp model, because it has the better error handling (for example if the delta is zero or maximum is + Inf, etc.).
You can view the code to learn something.
You will need to pay attention to possible accumulations of bit errors, especially with fractional steps that cannot be fully represented in binary (e.g. 0.1)
-
Order of generation of the signal with the command START/STOP (State Machine approach)
Hello
I met the problem with the realization of control (START/STOP) signal generation using state machine.
There are 4 States in the computer status (see 4 screenshots below).
The problem is when I click the button START, only a short series of generated pulses.
What is the staff of task_in/task_out issue, which is not properly managed?
Thanks in advance
Pavel.
Oh... you have defined with the mechanical switch action up to published... Right click and go to mechanical Action > latch when released. Do the same for your Start button.
You took a second to read down hold value, because your writing acquisition takes on this subject for a long time, apparently.
The stop button the Application, I did switch when set to released. It is set to the switch so that it can be used as a local variable in the Acquisition State stop as Idle.
-
I had the C6180 Photosmart wireless connected to a Mac OS X 10.5.6 laptop Macbook Intel and IBM PC XP SP 2 for more than 2 years. I did have major problems with the printer.
Recently, I have known a couple of electric in my house. Since then the printer has turned off randomly once or twice. Today the printer began to turn off/on/off/on/turned off/turned on etc.
It lights up and shows the HP logo and process bar animation for one minute, followed by the message: "abnormal termination. To avoid damage on the button to turn off the printer. Do not use a wall or the band switch to close. Press OK. Then he stops and leaves upward.
I tried to enter batch Mfg mode by organizing the * and # keys. It flashes "Mfg commands - enter special Key Combo" for the second of two, then stops and makes a loop on/stop/start/stop again and again.
I have disconnected all data cables, installs the printer in another room, closes the wifi on both computers and connected directly to the wall on a different circuit to eliminate problems of low power as the culprit. I swapped the power cable between the wall and the block of the AC adapter with the same exact type of cord of another piece of equipment with the same results.
I wonder if it is a symptom of a surfboard logic damaged in the printer, or a problem with the AC adapter?
If it is the logic board, does pay to get it fixed? An equivalent printer for Mac would cost about $200. Not to mention that I came just to have stored on cartridges.
What is a likely indication of a problem of brick AC adapter? If so, should I spring for a replacement block AC adapter for $30?
I was not able to find this question in a post on the forum and I was wondering if it's 'Au revoir' to the C6180?
Thank you for your contribution to this number
Try this:
1. If the printer is still on, unplug all rigid and flexible cables at the back of the printer.
2 unplug the power cord also from the wall...
3. wait for two minutes.
4 reconnect the power cord to a wall outlet first.
5. hold the pound (#) and six 6 buttons.
6. all by pressing the two buttons, reconnect the power cord to the back of the printer and at the end of two seconds, exit book and six buttons.
7. turn on the printer if it goes out...
Let me know the results.
-
I have a little problem. I've just been programming in labview for 2 weeks.
I'm trying to figure out how to use my channel of analog input on the USB-6009 case for start/stop (reference trigger and start) presented to the second analog input channel samples.
I need the first analog input string to operate continuously and control sampling on the second. When the second channel will start sampling program brings a new graph each time and saves it (I have all this that figure out).
How can I configure the trigger so the lance program presented in for the second channel when the 1 channel reached above 2V (e.g.) and stop when it falls below 2V.
I use a pressure force sensor on the first channel that gives me straight (up to) 5 V when it is pressed and nothing when it is not...
Thank you.
Grand... Thanks for the information!
But can't I then make a 1 channel instead and wait until that meat of the max element value?
-
XP Internet vidio run start stop smoothly the Rafale in short reading.
Vidio XP Internet do not work correctly when you click on vidio execution pauses and starts, stops and starts its really slow?
Looks like it is buffering. Either wait a few minutes until you press play, download the video to your hard drive and then watch, make sure you go to your internet connection at full capacity, so try to use maybe a wired network instead of wireless, I sometimes look less people will use internet or upgrade to a better download speed of your internet provider.
Maybe you are looking for
-
Search in a table 1 d using a upper/lower limit and recover index
Was not successful in finding something I could change my goal, so I hope someone else can help. Still a little new to LabView, so some of the more obvious things are always slide past my opinion. Long story short, I just need to be able to watch a t
-
ENVY Dv7: password administrator or power on password
I get Type "Enter password or power on password" in the password it asks as he starts up, and then it comes down to "Enter password or power on password" what could be the problem. I let a friend use this computer and now this happened... Help!
-
I am new to Vista and Windows7 and all the reading I've done, I'm horrified to discover that I would have had a secondary user account whenever I go on the Internet and perform simple tasks. (Right)? I want to assure you that I know how to create t
-
gadget weather in Windows 7 can not connect to the service
original title: weather gadget in windows 7 I have windows 7 sttarter... and my gadget weather become unable to execute and tell me "unable to connect to the service. Please help
-
BlackBerry Smartphones dead phone after the failure of the update software - error symbol
I've updated my BB device software, but the process of update froze at the end when the device is supposed to initialze. Now, when I turn on the phone, all I get is an error of symbol that resembles the cross symbol with the number 543 under applicat