Standby DB on Windows OS
When a windows server has to be restarted for OS upgrades (etc.), what guarantees that the Standby DB will startup in mount and recovery mode? I ahev checked the Windows registry and the ora_autostart registry key reads TRUE. All that says to me is that the OS will attempt to start the DB. What will prevent the DB from trying to open in read/write instead of mount recovery mode?
Jim
Hi All,
When I check group# in primary DB by using sql
SQL> select group# from v$log;
it shows me
GROUP#
1
2
3
When i run the same query on standby i am getting the same result
This means that standby is not accessing the standby redo log file
Can anyone help me in this matter
Similar Messages
-
Problems with standby mode in Windows XP
Every time I try to put my computer in standby mode while in Windows the entire computer shuts down. I can't even manually turn on the computer in Mac until I press the power button mulitple times. Anyone have any suggestions?
Tony, some posters have reported that the XP drivers for the Vostro 1500 will work for the M1330.
Vostro 1500 XP downloads
However before installing any Sigmatel driver after an OS installation you should follow this order of driver installation:
a. Install Dell Notebook System Software R154270 (click the + sign next to System Utilities). Restart.
b. Next install the Intel Mobile Chipset driver 153997 (click the + sign next to Chipset). Restart.
c. Finally re-install the Sigmatel audio driver R158235 (click the + sign next to Audio).
Some v1500 users have reported that they had to "uninstall an unknown PCI device in Device manager first , then install the driver normally".
Rarely there will still be a problem with the installation at this point (in XP). In those cases follow this tip from forum member rpilT2005: check in the Device Manager for a "PCI Device" with a yellow question mark next to it, under the "System Devices" grouping. Hit 'update driver' on that one, and it should find the driver.
A previous poster was able to get his audio working by following the above instructions more or less He said that after installing the Chipset driver he next uninstalled the unknown PCI device. He let Windows look for a new driver but he said he had to point it to the folder with the driver. Then he wrote, "Xp still said that an error occurred and the device may not work properly, but it did work fine and I also don't have a yellow question mark..." I know this is confusing.
Jim -
Steps To Create Physical Standby Database In Windows 7
Hi All,
I want to create a physical standby database in my windows 7 system. I have created one service stdby in my machine with all your help and now I need your help to configure standby configuration.
I am using Oracle 10G version 10.2.0.1.0.
Please suggest.
Regards,
Arijit[on primary]
step-1 check if archiving is enable
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /PGHProdDB/archive/paceview/
Oldest online log sequence 52
Next log sequence to archive 54
Current log sequence 54
step-2
sqlplus> ALTER DATABASE force logging;step-3
connect to rman
take an full backup
RMAN RUN {
allocate channel d1 type disk;
backup format '/u01/backups/PRIMARY/df_t%t_s%s_p%p' database;
sql 'alter system archive log current';
backup format '/u01/backups/PRIMARY/al_t%t_s%s_p%p' archivelog all;
backup current controlfile for standby format '/u01/backups/PRIMARY/sb_t%t_s%s_p%p';
release channel d1;
step-4
now copying initpfile,pwdfile on appropriate destination and rename it.
step 5
now create listener on standby db side::
and restart it by ----
lsnrctl reload
and login to primary db and register listener information in tnsfile.ora---
standby=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.13)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = standby)Step 6 Startup the standby
SQL> startup nomount pfile='/u01/app/oracle/admin/PRIMARY/pfile/init.ora';step 7
though our primary db is ready to connect with standby db
[oracle@PGH-DB ~]$ rman target / auxiliary sys/tiger@standby
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Aug 6 12:16:08 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: primary (DBID=2092349485)
connected to auxiliary database (not started)
RMAN> run {
allocate channel C1 device type disk;
allocate auxiliary channel C2 device type disk;
duplicate target database for standby nofilenamecheck;
}When this completes
Make sure you shutdown the database and then switch the ORACLE_SID=STANDBY
when you perform that much let me know :)
Edited by: abdul_ora on Sep 12, 2012 11:37 AM -
Standby Mode in Windows via Boot Camp
So I'm running Windows XP SP2 via Boot Camp, and I've changed my power options so that my laptop doesn't go into standby mode unless I manually put it in there. However, at night, it seems to go into standby mode anyway because when I wake up its in standby mode. Any idea why this is happening? Thanks.
*"So I'm running Windows XP SP2 via Boot Camp,"*
You should probably post your question in the Boot Camp forums:
http://discussions.apple.com/category.jspa?categoryID=237 -
Start recovery process on standby database after Windows reboot
Hi all,
I have a data guard configuration on Oracle 10.2.0.4 for Windows.
What I need is to mount and start recovery process automatically after Windows Server restart.
How can I do that ?
Thanks in advance.Here's what I found :
sleep 60
REM Start the database
%ORACLE_HOME%\bin\sqlplus -s "/ as sysdba" @startup.sql
exit
startupmount.sql -- Copy this under ORACLE_HOME/bin directory
-- start the database
startup mount
alter database recover managed standby database disconnect from session;
exitSorry, no way to test on my end.
The other thought is to hack oradim
But I'm thinking this might only do the startup mount.
Best Regards
mseberg
Edited by: mseberg on Feb 15, 2012 1:10 PM
This would need some work but it may help
@echo off
sc query "OracleOraDb11g_home1TNSListener" | findstr /i running
IF "%ERRORLEVEL%"=="0" (GOTO :RUNNING) ELSE (GOTO :STOPPED)
:STOPPED
ECHO NOT RUNNING
net start "OracleOraDb11g_home1TNSListener" | sc query "OracleServiceSCT" | findstr /i running | if NOT "%errorlevel%"=="0" net start oracleservicesct
GOTO :END
:RUNNING
ECHO RUNNING
net stop "OracleOraDb11g_home1TNSListener" | sc query "OracleServiceSCT" | findstr /i running | if "%errorlevel%"=="0" net stop oracleservicesct
GOTO :END
:ENDEdited by: mseberg on Feb 15, 2012 1:17 PM -
Computer goes on standby and crashes all open windows.
When my computer goes on standby, all open windows (word, chrome, excel) crash and reopen. Word appears with a solid orange or dark yellow. How can I stop this from happening?
It might happen most often when the screen is being projected during the work day.
This problem has only been occuring since I updated to Mavericks a few weeks ago.Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test. -
Oracle11g heterogenous data guard Linux-ASM primary, Windows-Filesystem standby
Is it possible to setup a standby database on (Windows 64bit) OS filesystem with 32GB datafile limit that syncs with a primary database on (Linux 64bit) ASM that has datafiles that are larger than 32GB.
There is a Linux-ASM standby in place, this will be an additional standby, to be used as a reporting database using Oracle11g snapshot standby
I have used datapump to export-import from Linux-ASM to Windows-filesystem by precreating additional 32GB datafiles in the Windows database, the import works, it takes too long to import for a reporting database
it's not clear to me how to synchronize the new standby without using RMAN full or incremental backup-restores
Any suggestions or suggested document IDs are welcome!
Thank you,
Drew SalisburyHi Drew,
Standby files have to be the same size/distribution as the primary - that can be differnet os, in ASM etc but they have to be the same number and size.
There are some ways to speed up import - parallel etc but in a big database there is always a lot of time lost in index building post data load.
How feasible is it to shrink the datafiles in wondows nack to 32GB......?
Can you set up ASM on windows?
You could use streams or something to replicate and keep the copy you created up to date rather than using physical standby?
Cheers,
Rich -
Hi,
i unwrapped the new S540 (of my gf) yesterday and spent the evening setting it up: Installing 75 windows updates (after fixing it), updating to 8.2 and installing important software (like ExpressCache which wasn't active despite the m.2 ssd)
I saw that the Catalyst Control Center did not work and installed a new amd driver from the lenovo website. Looks like a lot of people made that mistake, too. Screen went black, reboot did not help, system recovery reported an arror and i had to restore the original OS.
After a night of sleep i am currently repeating the process and installing 8.1 at the moment.
And i am a bit worried that some support-sites mention "ThinkPad S440 & S540 doesn't support Windows 8.1" , e.g. on http://support.lenovo.com/de_DE/downloads/detail.page?DocID=DS031946
What should I do now? Is the discrete graphics working without amd Catalyst Center? Or should i install a beta driver from amd.com?
One thing is for sure, first thing will be a full system backup. My start into the Lenovo Thinkpad world was not very encouraging...
Solved!
Go to Solution.On the amd website i downloaded "AMD Mobility Radeon™ Driver Verification Tool" which says it cannot be installed on my machine as "your computer contains no matching graphics adapter".
The current situation is not satisfactory, when I close the laptop cover it goes to standby, despite the windows energy settings set to "do nothing", after standby the screen stays black and you have to reboot.
I created a system restore point and will try the current beta driver, i have removed the driver from the device manager and uninstalled catalyst control center (which shows crash messages left and right anyhow).
wish me luck
At least we bought in in Germany via internet, that means we can return it within 14 days. I'll have to see what laptop we can buy instead, the S540 seemed quite perfect for the price tag we had in mind. I guess it won't be another Lenovo... -
Safari with Windows Media Player cannot use PHP as filename/src/url
I'm running Windows XP Pro SP2 with Windows Media Player 11
and Safari 3 public beta. In addition to being the absolute
slowest browser among MSIE, Firefox, Netscape, and Opera, the
Safari browser has two annoying WMP defects.
1) Even with WMP 11 installed, the code below for embedding
can use either the classid for WMP v6.4 or v7+ but Safari
(or rather it's plugin) always displays a v6.4 looking UI.
All other browsers display the media player using the v11 UI
2) Safari will not download the movie if the "filename" param
is a web url (e.g. getmovie.php?select=1234 ) rather than the
precise name of the movie file itself (e.g. "movie.wmv"). The
other browsers may differ in use of the param name="xxxx", where
xxxx is "filename" or "src" or "url" or "data" ... but Safari
will not work using any of these.
Has anyone successfully embedded a WMP object that uses the
URL as a PHP page (or other server-side script) ? I have already
my server-side PHP code that works perfectly for MSIE, Firefox,
Netscape, and opera. Safari is the only problem browser.
------------------------CODE------------
//Media Player v6.4
// CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
//Media Player v7,9,10,11
// CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6
<object id="MediaPlayer"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
type="application/x-oleobject"
height="300" width="300"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab #Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components...">
<param name="url" value="http://www.yourdomain.com/movie.wmv">
<!-- For other browsers * Windows Media Player -->
<!--[if !IE]> <-->
<object type="application/x-mplayer2" height="300" width="300">
<param name="filename" value="http://www.yourdomain.com/movie.wmv">
</object>
<!--> <![endif]-->
</object>I have run into several issues pointing to what you are describing...
I fixed my Safari by installing the WMP plugin. I am able to view visualizations embedded into a webpage, one of which I created...I am able to view videos and so on.. Before I installed the plugin, All that would load is a place holder which looked like the old WMP and would not function properly. However this is what is displayed beside the media which is embedded.
I think that I got the plugin by going to the download page for Safari and looking for plugins. Funny thing was that the plugin that I installed was the one for Firefox on its site that nobody every installs because Firefox gets the plugin if you already have WMP11 installed. Anyway this should solve your problem...with most..
I have noticed just now that PHP served links or applications which launch in their own window and are protected by PHP script do work but still display a lack of functionality showing the Version 6.4 that you are speaking of. I checked it out using the KDGE Live Stream which opens another window, and displays version 11 properly ( in other browsers ), the link which is served is also protected and will close any media player that tries to play it on its own. It soley depends on the script which is coded into the page or window for the player. I can see this method as useful for a corporation as large and well advertised as ClearChannel Productions, because of the lack of bandwidth and cost to the company. Several sources do this and it winds up being an issue for the website administrator and designers to take care of, or update the script, or the person who has written the plugin, which could be from a number of resource; this particular instance would be the author of the WMP Plugin for Firefox.
For any other purpose though the plugin I mentioned above should get rid of ( MOST ) of that problem.
http://www.apple.com/safari/download/plugins.html
Message was edited by: heath28m
This is also a good link for sources and coding issues when embedding WMP.. Hope some of this helps..http://www.codingforums.com/showthread.php?t=50666&page=39
Message was edited by: heath28m -
Problems While Creating A Oracle Instance In Windows 7
Hi All,
I am trying to create a primary standby configuration in windows 7. When I am trying to create a oracle instance using oradim I am facing the below issue:-
I am using Oracle version 10.2.0.1.0.
C:\>ORADIM -new -sid STDBY -SRVC OracleServiceSTDBY -STARTMODE auto -SRVCSTART s
ystem -SPFILE;
DIM-00003: An argument is missing for the parameter.
I am not sure which parameter is missing. can you help me in this..
Regards,
ArijitHi Abdul,
I did the same thing mentioned by you but now I am facing some different error:-
C:\>ORADIM -edit -sid STDBY -STARTMODE manual -SRVCSTART system -pfile E:\Arijit
\oraclestby\dbs\initstdby.ora;
DIM-00077: Failed to change service configuration.
O/S-Error: (OS 5) Access is denied.
When I tried the first step I am getting another error:-
C:\>oradim -edit -sid STDBY -startmode auto -srvcstart system
DIM-00077: Failed to change service configuration.
O/S-Error: (OS 5) Access is denied.
Please suggest.
Regards,
Arijit -
Open Windows Media Player through Java program
I need to open a video and some music in windows media player... but I don't know how....
Can anybody help???I hav implemented windows media player using JSP....i am sending code
However for java program i do not know
<html>
</body>
<!-- begin embedded WindowsMedia file... -->
<table border='0' cellpadding='0' align="left">
<tr><td>
<OBJECT id='mediaPlayer' width="320" height="285"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="c:\abc.wmv">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="true">
<param name='loop' value="true">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
bgcolor='darkblue' showcontrols="true" showtracker='-1'
showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="320" height="285"
src="c:\abc.wmv" autostart="true" designtimesp='5311' loop="true">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end embedded WindowsMedia file -->
<!-- begin link to launch external media player... -->
<tr><td align='center'>
<a href="http://servername/path/to/media.file" style='font-size: 85%;' target='_blank'>Launch in external player</a>
<!-- ...end link to launch external media player... -->
</td></tr>
</table>
</body>
</html> -
Prerequisite of Logical standby database ????
Hi,
We have Oracle 10g database with two physical standby databases on windows 2003 server 64 bit. we was thinking of shifting physical standby database into logical standby database.
We also look at the oracle documentation, as the link below. As we also found tables without unique logical identifier in the primary database.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#i76646
1 SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE
2 WHERE (OWNER, TABLE_NAME) NOT IN
3 (SELECT DISTINCT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED)
4* AND BAD_COLUMN='Y'
SQL> /
OWNER TABLE_NAME
TSMSYS SRS$
ICONNECT SYS_EXPORT_SCHEMA_01
KBC SYSTEM
KBC PLAN_TABLE
KBC AUDIT_SYSTEM
KBC SYS_EXPORT_SCHEMA_01
KASB_FIN PLAN_TABLE
ICONNECT PLAN_TABLE
UMAS PLAN_TABLE
The question is after we have found the tables without unique logical identifier in the primary database,
*1. Step 1: What to do with these tables. How to add unique logical identifier for theses table in the primary database.*
*2. Step 2: Add a disabled primary-key RELY constraint.* , Do we have to enable rely constraint to all tables in all schemas ???
Thanks in advanced.1. Step 1: What to do with these tables. How to add unique logical identifier for theses table in the primary database.add a primary key on those tables
2. Step 2: Add a disabled primary-key RELY constraint. , Do we have to enable rely constraint to all tables in all schemas ???Document says this is for the ones returned from the query. If you are sure that uniqueness is controlled by your application on thise tables than you can add this type of constraint.
As you see most of them are plan tables for individual users. if you dont need tje, you can skip transactions for those objects by DBMS_LOGSTDBY.SKIP
hope it helps
Coskan Gundogar
http://coskan.wordpress.com -
Problem creating standby database using RMAN
I am preparing standby database on Windows environment. For the same..
1. I have taken full database,archivelog and standby control file backup on primary database.
2.Backup pieces have been moved to standby server.
3.TNS configured on both the servers.
4.connected to target as well as auxiliary database and trying to create the standby database using the below command...
duplicate target database for standby;
But I am getting the below error........
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/01/2009 10:35:48
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
Please provide me the solution for the same...
Thanks in Advance.....
Sukantachannel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
failover to previous backup
Can you please confirm if the directory E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM is existing on standby box and rman can write to that location (free space & permissions)
If the issue is still present provide us the control_files parameter from standby..
- Ravi.M -
SAP DR Setup Primary and Standby on Different Widnows Domains
Hi
We need to setup a DR system for SAP using Oracle Standby Database, on this setup my DR servers is joined to a different Windows Domain...
For Oracle I know that there is no problem, but for SAP I also know that we going to have problem to start the CI on DR server because the Windows user on DR site has no permission to connect to DB and it doesnu2019t exist inside DB "OPSS$<DOMAIN\<SID>ADM and DB "OPSS$<DOMAIN\SAPSERVICE<SID>.
I managed to fix the problem to start the CI on Dr site by adding the "OPSS$<DOMAINB\<SID>ADM and DB "OPSS$<DOMAINB\SAPSERVICE<SID> into db, every thing looks ok , no errors.
I would like to know if someone else has experience on this scenario...?? any other option?
SETUP
Primary Serverd on WIndows Domain A
Standby Servers on WIndows Domain BHi AJ,
Please refer below SAP note for the guidelines on the setup..
1891560 - Disaster Recovery Setup with SAP Replication Server
Regards,
Deepak Kori -
Create the 2nd Standby database on Linux from 1st standby database on wind
Hi Experts
I want to create the 2nd Standby database on Linux from 1st standby database on window.....
my 2nd standby database is on mount state, when i try to recover by the given command then its giving errror.
rman > DUPLICATE TARGET DATABASE FOR STANDBY DORECOVER NOFILENAMECHECK;
My question is am I able to created it on cross platform....thanks a lot for your time and help Mahir!!!
i tried through goldengate but i didn't able due to clob, long datatype....
check the below link where i ask the question.....
initial load failed to transfer the clob data
Maybe you are looking for
-
Error reason in moni as ABAP report.
Hi, Can We get error/exception message which we see in trace of moni as a Abap report. Like when a message is failed,in the report it should state the message guid and reason for the error Like com.sap*********** Cannot produce target element CID****
-
every morning i have to turn my e71 off because it has lost signal over night it did this for a couple of weeks so i took it back to 3 my network provider and they gace me a new one now this one is doing the same. i know it the handset because i neve
-
Approvals Management Engine applicable Product Families
Hello, I was wondering what product families/modules AME was able to be applied to within both the 11i and r12 environment. In particular if the GL - Journal Entries could utilize the AME approval system. Thanks, -Steve
-
GuessNumber gives unknown file type in ie, firefox is ok
The guessNumber tutorial greeting.jsp page will not display. This page loads fine in firefox, but in internet explorer, it fails to display the page, instead it produces a; File Download - Security Warning Do you want to save this file? Name: guessNu
-
SKYPE for business compatibility with SKYPE desktop
Hi, in my company im using Skype for Business, but in privacy I'm using SKYPE for desktop.I cannot contact anyone from outside the business due to company polisy. REcently I found difficult to join video calls at work. Is it possible that two SKYPEs