How Auto start the Physical Standby Database (when restarting the server)
Dear All (s)I configure oracle (10.2.0) dataguard on the production database, a time server restart because of disconnectivity to power, I want restard dataguard when rebooting the server. I'm using Server 2003 32-bit. Guide me how I can run after orders when the server restarts.
SQL > connect/as sysdba
SQL > bootable media.
SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
Thanks in advance
I want to run these command each time when the server is restarted.
Yes, I did not understand that... but what's the problem? You can't schedule a task when the server starts?
Tags: Database
Similar Questions
-
How to open a physical standby database "Manual" in read/write mode
Hello
I am running Oracle Database 10g Release 10.2.0.3.0 - 64 bit Standard Edition Production on Linux version 2.6.9 - 42.0.8.ELsmp ([email protected]) (version gcc 3.4.6 20060404 (Red Hat 3.4.6 - 3))
I created a physical standby database, but since I am running Standard Edition, I don't use the features in DataGuard. I use the utility rsync to copy on the data pending archivelogs, and I periodically applied to the standby database.
The standby database is started in this way:
startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
ALTER database base_de_donnees eve of Mount;
Everything works perfectly, I can "open database in read-only alter" and then I can make selects in the tables to confirm that everything is up-to-date.
The thing is, if I stop the database and then perform the boot simply:
stop immediately;
start-up;
The database opens with an error message, but it is always in read-only mode...
I read that the default behavior for a database ensure must open read-only, as I am experiencing, but I would like to know what is the right way to open it in read-write mode correctly (I understand that after this, my watch will not standby more and I need to recreate my database pending).
Thank you
CarpetTry: -.
ALTER database activate standby database;
This should open read-write (you will not be able to recover thereafter)
-
How to change the character of database defined on the physical standby database?
Hello
We hear a database to WE8ISO8859P1 character and migrated the character set using csscan/csalter scripts to WE8MSWIN1252. This database has a configuration also physical standby database, and after the migration, the database physical standby shows always defined as WE8ISO8859P1 character. How can I change the characters on the physics of the day before? I asked a Service request with Oracle, and they said that you re-create the database pending is the only way to support the development of the tank set to the standby database. Is this true?
Thank you
AnthonyYou have received good advice from the Support of Oracle, so I recommend doing a complete refresh of Eve, but if you want to play with fire...
On the elementary level, you can: -.
target connection.
RUN {}
ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT ' / home/oracle/rman_%d_%T_%s_%p';
BACKUP CURRENT CONTROLFILE TO SLEEP;
}or
ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / home/oracle/standby.ctl';
Then you stop the watch, replace the with the new primary backup controlfile and make sure that file names are correct (select name from v$ datafile). If the file names are correct, start the recovery. Otherwise, rename files, or difficulty with the rman command 'catalogue start with '.
-
How to start the agent on the database host computer that is being monitored
Hi all
I installed OEM 11.2.1.0. I stopped getting alerts after the 1 server node is restarted. I followed RAC database.
When I checked the status of the host agent I get the following output
[oracle@rs1pre91dvdba01 bin] $ pwd
/ u01/app/Oracle/agent11g/bin
State of the agent emctl [oracle@rs1pre91dvdba01 bin] $
ORACLE_UNQNAME environment variable not defined. Please install ORACLE_UNQNAME in unique name of database.
[oracle@rs1pre91dvdba01 bin] $ export ORACLE_UNQNAME = MDM11
State of the agent emctl [oracle@rs1pre91dvdba01 bin] $
The MA Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_MDM11 not found.
[oracle@rs1pre91dvdba01 bin] $
And even on node 2
[oracle@rs1pre91dvdba02 bin] $ pwd
/ u01/app/Oracle/agent11g/bin
[oracle@rs1pre91dvdba02 bin] $ export ORACLE_UNQNAME = MDM12
State of the agent emctl [oracle@rs1pre91dvdba02 bin] $
The MA Configuration problem. /U01/app/Oracle/product/11.2.0/dbhome_1/rs1pre91dvdba02_MDM12 not found.
Please can I know how to start the agent on the nodes and also auto how the boot process of the agent on the server restart
Thank you.I assume that you have installed your agent in the directory
/ u01/app/Oracle/agent11g/bin
If this is correct then run the following commands
Export ORACLE_HOME = / u01/app/oracle/agent11g /.
export LD_LIBRARY_PATH = / u01/app/oracle/agent11g/libPATH = $ORACLE_HOME/bin:. : $PATH; export PATH
As a matter of fact, you need to set the environment variables separate for the agent to execute commands
which are related to the agent. These distinct environment must be set correctly to ensure that the
commands can be found in the appropriate directories...Then, run the status command emctl agent...
-
How to start the database aautomatically
Hello
Oracle Version: 10.2.0.1(standard edition)
OS: FEDORA 7
Can someone help me please on how to start the base database automatically when the server is in place.http://www.Oracle-base.com/articles/Linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
Good, nice and clear link to auto-start the PB on linux.
HTH
Girish Sharma -
How to start the database using CRS to start the database instance
Dear Experts,
How to start the database using CRS to start the database instance
As a solution: remove the write permission on the/etc/oratab user database to prevent update to arrive.
There is no harmful effects known to CRS / RDBMS operation if this workaround solution is used. This has been discussed in Bug 13028802.
-
How to start the database and servers after the installation of the Webcenter JSK Portal
Hello
I finally installed the portal WebCenter using JSK, after it turned off the machine, I don't know how to start the database or server, I need to set the environment variables? create the oracletab file? or is it a file .sh to start the database and servers?
Any help will be great!
Best regards!
Thanks Françoise-Oracle for your response
As you say, I need to go to /WCPortal_JSK_Linux.x 86-64/linux64, I found all the scripts that I needed to start or stop a server or database. But more especially if you run evertything, (I did) you just need to run the de./startup.sh script and wait, he'll run, but take some time.
Best regards!
-
How to start the database services according to eBS 12.1.1 fix already in place
Migration db eBS 11.5.10.2 9.2.0.6 to new server eBS 12.1.1 db 11.1.0.6.
Chosen path: db 9.2 improved and migrated to db 11.1 using exp/imp on new server
After eBS 12.1.1 predict file system db existing 11.1 how to bind db level of applications and to start the Server service.
AutoConfig completed successfully.
Can you connect to the database remotely after running AutoConfig from the database and the database listener and successfully? If so, run your script and see if it works.
Thank you
Hussein
-
Problem with data hold creating a Physical Standby Database turorial
There is a tutorial for creating a Data Guard Physical Standby Database:
http://www.Oracle.com/technology/OBE/11gr1_db/HA/DataGuard/physstby/physstdby.htm
I tried to install it on two servers. One for a primary database (deuxieme for the physical standby.
I have the error on creating C. the database of watch on the #6 action network:
«On the rescue system, set the ORACLE_SID to your < SID physical standby > environment variable (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file.»
When I try to connect to the instance that is idle, there is an error pops up:
C:\ > sqlplus / as sysdba
SQL * more: version 11.1.0.7.0 - Production Thursday, May 21, 16:28:10 2009
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
I ' v checked listener, and it is managed. There is no database service because there is still no database.
The question is did some data installed a guard configuration using this tutorial? Are there errors in there? What should I do to complete the installation?On Windhose for any service must have been created using the oradim command.
Oracle tutorials are usually centered on Unix, because Windhose is an odd man out, so they do not discuss.
"Please do the needful" and create the service before the beginning of the instance in nomount modeTip: oradim is documented and has a help = clause of y.
IIRC there is an option in control database (in the part of the interview) that automates everything.
----------------
Sybrand Bakker
Senior Oracle DBAExperts: those who read documentation
-
Hello
I installed the database 10g on linux
How to start the isqlplus in the browser window
Is there a command that I need to run
pls helpSee:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14196/em_manage006.htm#sthref168Edit
In fact, there is an OBE on this subject as well:
http://www.Oracle.com/technology/OBE/obe10gdb/install/isqlplus/isqlplus.htmPublished by: hoek on December 30, 2009 08:38
-
I can't understand how to start the calendar after the migration.
I can't understand how to start the calendar of lighting. Documentation, said he will start automatically, but it doesn't.
I reinstalled Thunderbird with the XPI in the folder with the exec install and now it works. Install documentation is poor.
-
Hi, after you install Minecraft in my iMac, I get this message: "cannot start minecraft, if you run from a dmg, please drag applications and try again. I Don t know how to start the game. Thank you
So what measures through 'install '?
-
How to start the assessment without a device
Hello
I downloaded the evaluation version.
How to start the assessment without a device?
Thank you
DV63
Hi DV63,
Welcome to the Forums EITHER!
If you downloaded an evaluation version of LabVIEW your 30 day trial must begin immediately after being invited to enter a serial number. You can choose not to enter a serial number and this will begin your trial period. I recommend that you install OR-DAQmx device drivers; It is a software that allows you to communicate with the hardware from National Instruments DAQ. However, this facility will be particularly useful because it allows you to simulate an Instrument with the measurement and Automation Explorer (MAX); This means that you can immediately start the signals in LabVIEW.
-
I discovered that Windows defender is disabled. I tried to turn it back on, and he said that there is an error. How can I turn it back on? Anyone with information would be a great help. How to start the service manually? __
Hellocould a. you give us the exact error that you are experiencing?
(b) also mention the error code, as well if it is listed.
have c. you installed other software security like McAfee, Microsoft Security Essentials etc. ?
Let us check if the service is set to automatic.1. Click Start-> run and type services.msc
2. now, locate the service named Windows Defender,
3. double click to bring up the Properties window.
4. set the startup type to automatic
5. click on apply, and then click Start
6. click OK, and then click Close window Services/LocalWe hope to hear from you soon.Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly. -
How to start the service in order
Hello
I'm new to Hyperion.
Can someone tell me how to start the service for HFM, planning and Essbase?
Thanks in advance...
HanPlease read the following document:
http://download.Oracle.com/docs/CD/E12825_01/EPM.111/epm_install_troubleshooting.PDF
Maybe you are looking for
-
I can't add to the documents together in pages. I want to add a list of references on the end of an assignment, but they are on 2 separate documents, thank you.
-
LAPN600 cannot connect Android devices
Recently, I upgraded my home network with Linksys SMB networking products, including LRT224, LGS308 and LAPN600. For the most part, I'm satisfied with the quality and performance, however, I can't get any of my Android devices to connect the wireless
-
BlackBerry Pearl 8120 Smartphones - water damage
I have a Pearl 8120 with a brief exposure to water. I've read other messages on how to dry (place in rice for several days to dry completely) bought a new battery and charged the battery using an old BlackBerry to 100%. Now when I reinsert the batt
-
How to download Typekit on MAC after index Indesign
-
Upgrade to Win10, catalogue moved LR
I just updated my card mother and graphics card and installed Win10. I reinstalled my PS CC and LR CC on the new computer. On my old computer, my LR catalog was on a WD MyBook external drive. How to make LR to point to this place now?