Configuring standby database on local machine in NT
Dear friends,
I have oracle 8.1.6 on NT version 4.0. I have two servers one for production and another for standby. but my standby database has crashed and i am in the process of rectifying it..
for temporary basis, i want to have both the production and standby database on same NT machine.. but the NT platform is not allowing the same name on instance/ database..
is there any way out to have the production and standby database on same machine on NT pltaform..
kindly guide me as my database is up for 24 hours..
regards,
viral shah
Viral,
You should be able to create the standby on the same NT server. Take a look at the documentation @ http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a76995/standbys.htm#29841
Similar Messages
-
CONFIGURE STANDBY DATABASE IN 10G
hi experts,
Need help for configuring standby database in Oracle 10g/Windows.Hi Sumeesh,
Please refer the below mentioned link for configuring data guard.
http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10823/create_ps.htm
Below mentioned are the sequence of stpes, which needs to be followed for setting up data guard.
3.1 Configuring the Primary Database
3.1.1 Enable archiving and define a local archiving destination
3.1.2 Create a password file
3.1.3 Configuring the Oracle networking files
3.1.4 Set initialization parameters on the primary database
3.1.5 Take Offline/Online backup of the primary database
3.1.6 Create a control file for the standby database
3.1.7 Prepare initialization parameter file for the standby database and start the primary database with the changed pfile.
3.1.8 Copy all files from the primary host to the standby host
3.2 Configuring the Standby Database
3.2.1 Configuring the Oracle networking files
3.2.2 Create a INIT parameter file for the standby database
3.2.3 Copy the standby controlfile to the appropriate location
3.2.4 Create Oracle Password File
3.2.5 Start the physical standby database
3.2.6 Initiate log apply services
Regards,
Ranjith -
Configuring Standby database.....but not able to finish it
Friends,
DB: 10.2.0.4
OS: RHEL 4.8
I have done all the preliminary steps in the primary database like...
force logging
archivelog
creating standy redo loo.
etc....as per the documentation....
my problem is what about the standby system not db...i mean the node or os....
i have installed rhel 4.8 and the db 10.2.0.4 ...
In the standby os....am i have to create a db or only the oracle installation is enough....?
anyway...i have to copy all the datafiles and controlfile and pfile from primary os...
thanks906621 wrote:
Friends,
DB: 10.2.0.4
OS: RHEL 4.8
I have done all the preliminary steps in the primary database like...
force logging
archivelog
creating standy redo loo.
etc....as per the documentation....
my problem is what about the standby system not db...i mean the node or os....
i have installed rhel 4.8 and the db 10.2.0.4 ...
In the standby os....am i have to create a db or only the oracle installation is enough....?
anyway...i have to copy all the datafiles and controlfile and pfile from primary os...
thanksIf you just install OS, it wont be enough, you should have control files, data files, standby redo log files.
Then only it can communicated.
Refer this link to create/configuring standby database
http://docs.oracle.com/cd/E11882_01/server.112/e25608/create_ps.htm#i67520
http://oracleinstance.blogspot.com/2010/01/step-by-step-document-for-creating.html -
hi all;
how many system r required to configure standby database
i m configure standby database in a single(same) system where my primary database already running.if this possible or not
i have configured my standby
but when i start "c:\sqlplus sys@orclstdy as sysdba"
then he create error ora-12154: TNS:could not resolve the connect identifier specified
and when i start with "c:\set oracl_sid=orclstdy"
sql>conn as sys/pass as sysdba
connected to an idle instance
sql> startup
ora-02778: Name given for the log directory is invalid
how can solve this problem . please replyHi user569791
you can configure standby to multiple destinations(up to 9 different destinations) and it is also possible to configure in same system also.
you need to create standby controlfile for Physical standby database.
check whether the standby instance run as a separate service and whether you
have an relevant entry in tnsnames.ora file. note that the db_name is same for both
sites but only the instance name differs.
Ensure that you have a
1.valid cold backup of datafiles,
2.valid standby controlfile
3.standby init parameters with db_file_name_convert and log_file_name_convert
parameters are valid
4. a special init parameter called lock_name_space need to be given when you configure standby on same site.
check all these condition and Try again.
Regards
SM -
Hello
Is there a way to configure standby databases in gc11g ?
When I enter sys credentials, I get the below error :
Failed to connect to the database: ORA-01033: ORACLE initialization or shutdown in progress The Connect Descriptor was (description=(address=(host=prddb)(protocol=tcp)(port=1824))(connect_data=(service_name=orclprd)(instance_name=orclprd)(UR=A)))Ricardinho wrote:
Hello
Is there a way to configure standby databases in gc11g ?
When I enter sys credentials, I get the below error :
Failed to connect to the database: ORA-01033: ORACLE initialization or shutdown in progress The Connect Descriptor was (description=(address=(host=prddb)(protocol=tcp)(port=1824))(connect_data=(service_name=orclprd)(instance_name=orclprd)(UR=A)))Do you want to create a standby standby database?
You are trying to "orclprd" - is it your primary database? Are you sure that it's open?
Regards
Gokhan -
How to configure standby database in a single machine
I am in Windows XP professional and oracle 9i . I want to configure a standby database for a database called proddb in the same machine. For doing this, I created a standby controlfile. But this work for the same name standby database?. How this happen ? two database with same name possible? How to create the second database (Standby) Please help?
ShijuThe Oracle Solaris Cluster concepts guide has some information on which zone model to choose:
http://docs.oracle.com/cd/E18728_01/html/821-2682/gcbkf.html#scrolltoc
When managing a Solaris zone with the HA Zones agent, the cluster basically regards the non-global zone as a blackbox.
As such you can either start the Oracle database as part of the runlevel/SMF startup of the non-global zone, or you can use the sczsh or sczsmf component and use your own scripts to start, probe and stop the Oracle database.
Usage of the standard HA Oracle data service is not supported in combination with the HA Zones agent.
If you require a more fine grained control of services running in non-global zones, why not setup a zone cluster and then having HA Oracle failover the Oracle database between non-global zones?
Regards
Thorsten -
Creating physical standby database on same machine with dataguard
hi every one
i m new in oracle databases,
i read documentation to create physical standby databases,
now i install virtual machine (vmware) on my system,
i install windows xp on this vm and oracle 9i
now i want to create standby database on the same machine in some other drive configured with datagurd
virtual machine
OS windows xp
database oracle 9i
plz reply me how i do this
explain clearly step by step.
plz reply me in detailWhen you need to have the standby database on the same server as the master, use lock_name_space in the init.ora.
This parameter permits this to occur without having to worry about changing the db_name.
http://www.oug-ottawa.org/pls/htmldb/f?p=103:21:729607614317189728::::P21_TIP_NUM:821 -
Issue in configuring Standby Database from Active database in 11g by RMAN
POSTED THE SAME IN DATA GUARD CATEGORY UNABLE TO DELETE
Hi All,
I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
Version of Database:11g(11.2.0.1.0)
Operating System:Linux 5
Error:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
RMAN-03015: error occurred in stored script Memory Script
RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Primary Database Entries:
Tnsentry:
SONYPRD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprd.localdomain)(UR=A)
SONYPRDSTBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprdstby)(UR=A)
Listner Entry:
SID_LIST_SONYPRD =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtproc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = SONYPRD)
(GLOBAL_DBNAME = SONYPRD)
Auxiliary Details:
Tns Entry:
SONYPRD =
(DESCRIPTION =
# (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprd.localdomain)
SONYPRDSTBY =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = sonyprdstby)(UR=A)
Listener Entry in auxiliary:
SID_LIST_SONYPRDSTBY =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = SONYPRDSTBY)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME = SONYPRDSTBY)
TNSPING from Primary DB:
[oracle@oracle11g ~]$ tnsping sonyprdstby
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
OK (0 msec)
TNSPING from Auxuliary server
[oracle@oracle11gstby ~]$ tnsping sonyprd
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
OK (10 msec)
Script Used for duplicate:
run {
allocate channel prmy1 type disk;
allocate channel prmy2 type disk;
allocate channel prmy3 type disk;
allocate channel prmy4 type disk;
allocate auxiliary channel stby type disk;
duplicate target database for standby from active database
spfile
parameter_value_convert 'sonyprd','sonyprdstby'
set db_unique_name='sonyprdstby'
set db_file_name_convert='/sonyprd/','/sonyprdstby/'
set log_file_name_convert='/sonyprd/','/sonyprdstby/'
set control_files='/u01/app/oracle/oradata/control01.ctl'
set log_archive_max_processes='5'
set fal_client='sonyprdstby'
set fal_server='sonyprd'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
Tried the script from both Primary and auxiliary but no luck
[oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: SONYPRD (DBID=3131093559)
connected to auxiliary database: SONYPRD (not mounted)
Listener Status from primary:
[oracle@oracle11g ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 20-DEC-2012 17:42:17
Uptime 1 days 0 hr. 26 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "sonyprd.localdomain" has 1 instance(s).
Instance "sonyprd", status READY, has 1 handler(s) for this service...
Service "sonyprdXDB.localdomain" has 1 instance(s).
Instance "sonyprd", status READY, has 1 handler(s) for this service...
The command completed successfully
Listener Status from Standby when database bring to Nomount state:
[oracle@oracle11gstby admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 21-DEC-2012 16:13:47
Uptime 0 days 1 hr. 58 min. 6 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
Services Summary...
Service "sonyprdstby" has 1 instance(s).
Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
Please provide any work arounds to proceed further in creating the standby database.
Thanks,
Ram.
Edited by: 895188 on Dec 21, 2012 5:50 PM
Edited by: 895188 on Dec 21, 2012 6:09 PM
Edited by: 895188 on Dec 21, 2012 6:22 PMHello;
Script has to be run from auxiliary.
Great details, but what I don't see is how you connect in RMAN.
Example
Start RMAN
$ORACLE_HOME/bin/rman target=sys/@recover2 auxiliary=sys/@reclone
Recovery Manager: Release 11.2.0.2.0 - Production on Wed Feb 22 14:50:31 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: RECOVER2 (DBID=3806912436)
connected to auxiliary database: RECLONE (not mounted)Nothing in your tnsnames or listener jumps out as wrong. I copied them into my text editor and compared against my working ones.
Generally for active duplication I start the future standby on a pfile NOMOUNT.
Auxiliary Instance Initialization Parameters Needed :
DB_NAME
CONTROL_FILES
DB_BLOCK_SIZE
( add extra parameters like DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT instead of using the SET command - clean up standby spfile right after duplication )
Then start RMAN and finally run a single line duplication command.
$ORACLE_HOME/bin/rman target=sys/@primary auxiliary=sys/@standby
RMAN>duplicate target database for standby from active database NOFILENAMECHECK;Best Regards
mseberg -
Configuring Standby Database from non ASM to ASM
Hi All,
i am trying to configure a standby database from non ASM file system to ASM file system.
my primary database having datafiles in /u02,/u03,/u04 etc, and my Standby database having filesystem in ASM diskgroup DATA.
can anyone of you help me in setting up of parameters db_file_name_convert and log_file_name_convert etc,;
thanks in Advance,
TEJASHi,
You can check this. May it help you
http://gavinsoorma.com/2010/04/creating-an-asm-duplicate-database-from-a-non-asm-database/ -
Hello Team
I am developing web application in asp.net. When application run from IIS(hosted in server machine running from client machine using web browser) application should list all the configured printers in local and network.
can any one please let me know the process, in this i was able to load printers from server, so need to load printers from local machine.
Thanks in Advance
BinduHi Bindu,
I am developing web application in asp.net. When application run from IIS(hosted in server machine running from client machine using web browser) application should list all the configured printers in local and network.
From this message, this is a web application in asp.net, and it also related to IIS.
You should post in the dedicated ASP.Net Forum
http://forums.asp.net
For IIS issue, http://forums.iis.net/ IIS forum should post.
Thanks
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem when configuring standby database
Hi,
i am getting the following error when i am configuring the standby database,i have set every thing right
ORA-28547: connection to server failed, probable Net8 admin error
PING[ARC0]: Heartbeat failed to connect to standby 'orcl5'. Error is 28547.
Error 28547 received logging on to the standby
Tue May 29 22:13:21 2007
Errors in file /u01/u06/bdump/orcl4_arc0_32147.trc:
ORA-28547: connection to server failed, probable Net8 admin error
PING[ARC0]: Heartbeat failed to connect to standby 'orcl5'. Error is 28547
please suggest me how to go about thisThis is my primary
*.background_dump_dest='/u01/u06/bdump'
*.compatible='10.1.0.2.0'
*.control_files='/u01/u06/ctrl01.ctl'
*.core_dump_dest='/u01/u06/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl4'
*.instance_name='orcl4'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl2XDB)'
*.job_queue_processes=10
*.log_archive_dest_1='LOCATION=/u01/u06/arch'
*.log_archive_dest_2='SERVICE=orcl5 reopen=60'
*.log_archive_format='%t_%s_%r.dbf'
*.open_cursors=300
*.pga_aggregate_target=200278016
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=601882624
.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/u06/udump'
#*.standby_archive_dest=/u01/u05/arch
#*.standby_file_management=manual
*.lock_name_space=orcl4
standby
#########3
*.background_dump_dest='/u01/u03/bdump'
*.compatible='10.1.0.2.0'
*.control_files='/u01/u03/stdbyctrl.ctl'
*.core_dump_dest='/u01/u03/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl4'
*.instance_name='orcl5'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl2XDB)'
*.job_queue_processes=10
*.log_archive_dest=/u01/u03/arch
*.log_archive_format='%t_%s_%r.dbf'
*.open_cursors=300
*.pga_aggregate_target=200278016
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=601882624
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/u03/udump'
*.standby_archive_dest=/u01/u03/arch
*.standby_file_management=manual
*.lock_name_space=orcl5 -
Standby database on same machine as primary database
hi,
I am testing the standby database and read all document on metalink also I am able to start the standby database in nomount mode nut when trying to mount the database I am getting following error
SQL> startup nomount
ORACLE instance started.
Total System Global Area 47679696 bytes
Fixed Size 731344 bytes
Variable Size 29360128 bytes
Database Buffers 16777216 bytes
Redo Buffers 811008 bytes
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01103: database name 'PRIMDB' in controlfile is not 'PRIMDBS'
I think the database name must be different on same machine. My os is Sun Solaris
Regards
BhushanWhen you need to have the standby database on the same server as the master, use lock_name_space in the init.ora.
This parameter permits this to occur without having to worry about changing the db_name.
http://www.oug-ottawa.org/pls/htmldb/f?p=103:21:729607614317189728::::P21_TIP_NUM:821 -
Regarding configuring design console in local machine
Hi all
Please help me in this.
i need to configure IDM design console in my localmachine(windows XP) where IDM sever is installed on Aix Machine which is there in client place.
what i need to do now.
weather i need to copy only design console folder from client server to my desktop and configure or elase?
please help me out in this and give me steps how to configure.
Thanks to all
Prasad
7799345966If you are on OIM9.x you can just copy/paste the design console directory from aix to windows and then change the xlclient.cmd and the classpath.bat etc to point to the correct local directories of the windows system. Addtionally you will have to modify the xlconfig.xml to point to the client's OIM. As a workaround, you can just use the same version installer in local and walk through the wizard.
If you are on OIM11g then you need to install WLS and IAM and then configure IAM and select just the design console check box and complete the wizard by providing rest of the details.
HTH,
BB -
Anyone succesful configuring standby database
by using data guard manager?? It always fail and showing java error. Please HELP!!
Please check metalink to install the latest Data Guard Manager patches for 9.0.1 (patch #1892082).
-
Physical standby database error
Hi,
I try to create physical standby in my local machine using oracle 10g
version :10.2.0.1.0
Os: windows xp.
I followed steps and parameter files
on primary :-
sql>alter database force logging;
orcl.__db_cache_size=155189248
orcl.__java_pool_size=4194304
orcl.__large_pool_size=4194304
orcl.__shared_pool_size=75497472
orcl.__streams_pool_size=0
*.audit_file_dest='D:\oracle\product\10.2.0/admin/orcl/adump'
*.background_dump_dest='D:\oracle\product\10.2.0/admin/orcl/bdump'
*.compatible='10.2.0.1.0'
*.control_files='D:\oracle\product\10.2.0\oradata\orcl\control01.ctl','D:\oracl
e\product\10.2.0\oradata\orcl\control02.ctl','D:\oracle\product\10.2.0\orad
ata\orcl\control03.ctl'
*.core_dump_dest='D:\oracle\product\10.2.0/admin/orcl/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_unique_name='orcl'
*.log_archive_config='DG_CONFIG=(orcl,stby)'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=80740352
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=244318208
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\oracle\product\10.2.0/admin/orcl/udump'
*.log_archive_dest_1='LOCATION=D:\oracle\archive
VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=orcl'
*.log_archive_dest_2='SERVICE=stby LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=stby'
*.log_archive_format=%t_%s_%r.arc
*.log_archive_dest_state_1=ENABLE
*.log_archive_dest_state_2=ENABLE
On standby
orcl.__db_cache_size=155189248
orcl.__java_pool_size=4194304
orcl.__large_pool_size=4194304
orcl.__shared_pool_size=75497472
orcl.__streams_pool_size=0
*.audit_file_dest='D:\stby\adump'
*.background_dump_dest='D:\stby\bdump'
*.compatible='10.2.0.1.0'
*.control_files='D:\stby\ctrl.ctl'
*.core_dump_dest='D:\stby\cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl'
*.db_unique_name='stby'
*.log_archive_config='DG_CONFIG=(orcl,stby)'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=80740352
*.processes=150
*.remote_login_passwordfile='NONE'
*.sga_target=244318208
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='D:\stby\udump'
*.db_file_name_convert='D:\oracle\product\10.2.0\oradata\orcl','D:\stby'
*.log_file_name_convert='D:\oracle\product\10.2.0\oradata\orcl','D:\stby'
*.log_archive_dest_1='LOCATION=D:\oracle\archive
VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stby'
*.log_archive_dest_2='SERVICE=orcl LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=orcl'
*.standby_archive_dest='D:\stby\archive'
*.log_archive_dest_state_1=ENABLE
*.log_archive_dest_state_2=ENABLE
*.standby_file_management='AUTO'
*.fal_server='orcl'
*.fal_client='stby'
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup pfile=D:\stby\initstby.ora nomount;
ORACLE instance started.
Total System Global Area 247463936 bytes
Fixed Size 1248332 bytes
Variable Size 79692724 bytes
Database Buffers 159383552 bytes
Redo Buffers 7139328 bytes
SQL> alter database mount standby database;
Database altered.
SQL> alter database recover managed standby database disconnect from session;
Database altered.
SQL> alter database open read only;
alter database open read only
ERROR at line 1:
ORA-01154: database busy. Open, close, mount, and dismount not allowed now
SQL> recover managed standby database cancel;
Media recovery complete.
SQL> alter database open read only;
Database altered.
SQL> select sequence#,first_time,next_time from v$archived_log order by sequence
no rows selected
No archive s generated in standby ..
what i mistake.
Reagrds
S.AzarAnand... wrote:
Firstly you can use "*select sequence#,first_time,next_time from v$archived_log order by sequence#;"* command in mount stage itself.No need to open the standby database in ready only mode.
No rows selected in mount stage also.
The V$ARCHIVED_LOG fixed view on the physical standby database shows all the archived redo log files received from the primary database.
sql> select * from v$archived_log;
no rows selected.
and No archived logs received from primary database to physical standby . i think here i wrongly configure parameter file.
sql> RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION; -- > start Redo Apply
When you do log switch on the primary are the archive logs getting transferred to the standby database???Is there some error in the alert log file in the primary database.
No..
>
[http://advait.wordpress.com/2007/06/12/setting-up-oracle-dataguard-for-10g/]
Regards
S.Azar
Maybe you are looking for
-
Using java server in linux..
Hello folks glad to be back! Heres my question.. I created a java chat server using windows and I'm about to run it on a linux machine from 8-9pm daily.. In windows when I want to close the server down, I simply exit the command prompt.. But how do I
-
Hi, first of all sorry by my English (I'm from Argentina and my language is Spanish). I have an internet connection via DSL service. My old eMac works fine (in fact i'm writing this post using the eMac) but i can't obtain a connection with my iMac (l
-
Hi All, We have a scenario in that the Purchase Order will pick up the Purchase Group from Contract not from Purchase Requisition. Currently, I have created PO wrt to PR and Contract but the Purchase Group was pick up from PR. Do we have any option i
-
IPod to Pioneer adaptor (CD-IB100) related question.
Hello there! Recently i have bought an adaptor mentioned in the subject line to hook up my ipod to my Pioneer AVH5700-DVD. Everything works cool, sound quality is great and i am happy that i don't have to copy my mp3 to a CD and keep a pile of them i
-
My Airport Extreme won't connect to the internet.
Everytime I try to connect the Modem through the WAN port, the airport utility says there is no internet connection, but when I connect the same ethernet line directly to my macbook it works fine. What's going on and how do I fix it?