Creating a standby control file for cloning a standby database
Hi
I am in the process of trying to document the cloning of a standby database. I am trying to amalgamate three different documents - one for a normal clone, one for the creation of a SB database, and the other a formal Oracle document - the Business Continuity doc.
Among the several things that confuse me, is the issue of creating (or not) a standby control file.
I am not doing any kind of data file deletion / copying from source to target, as the SB database is updated all day with data file changes. I am doing a complete copying over of the APPL_TOP and techstacks.
My question then, is this: should I be worried about creating a standby control file? I am told by our Senior here that "you can get away with not doing it", which sounds like too much of a risk to me.
I am under a bit of pressure for this and I am not 100% sure about certain issues (see my other post for knowing how many DATA_TOPS we have on the SB, for instance).
Thanks for listening.
AIX 5.2.
Oracle 10g.
DA
Do you already have a Standby running ? (then it may be using a standby controlfile).
Yes. And there is already a standby control file there. It seems to me, that if the data (logs) transfers are done each minute or whatever between source and SB, and the SB is a copy of the db, then we dont need to worry about any kind of data files, since they should be identical. The only things I will need to change are the configuration files like the ifile in both dbs and tns_names, listener, tnsnames.ora, and the init.ora.
b. Are you creating a document about the process of creating standby from production ? If you plan to use DataGuard, you will need a standby controlfile. Otherwise , it depends on how you configure the standby.
No. I am creating a doc for how to clone from Production to a SB environment. A reason behind this is that the Apps side of the SB is about 9 patches behind the Production box, and we need to update it. I believe this is the main reason for doing this.
c. Just to check : You are NOT using Storage Mirroring -- ie D.R. ?
No, no DR on this environment.
Thanks.
DA
Similar Messages
-
Error in creating control file for 2 node RAC database
SQL> CREATE CONTROLFILE set DATABASE "SBLS" RESETLOGS NOARCHIVELOG
2 MAXLOGFILES 192
3 MAXLOGMEMBERS 3
4 MAXDATAFILES 1024
5 MAXINSTANCES 32
6 MAXLOGHISTORY 292
7 DATAFILE
8 '+SBLDATA/SBLTST/DATAFILE/system.dbf'
9 '+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
10 '+SBLDATA/SBLTST/DATAFILE/undotbs1.dbf'
11 '+SBLDATA/SBLTST/DATAFILE/undotbs2.dbf'
12 '+SBLDATA/SBLTST/DATAFILE/users.dbf'
13 '+SBLDATA/SBLTST/DATAFILE/sbl_data.dbf'
14 '+SBLDATA/SBLTST/DATAFILE/sbl_idx.dbf';
'+SBLDATA/SBLTST/DATAFILE/sysaux.dbf'
ERROR at line 9:
ORA-01967: invalid option for CREATE CONTROLFILE
Please advice.ASMCMD> pwd
+sblDATA/SBLTST/DATAFILE
ASMCMD> ls -l
Type Redund Striped Time Sys Name
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_DATA.258.815440497
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SBL_IDX.259.815441389
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSAUX.272.802440861
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y SYSAUX.282.804173239
DATAFILE UNPROT COARSE MAY 29 13:00:00 Y SYSTEM.262.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y SYSTEM.271.802440859
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS1.270.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS1.273.802440861
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y UNDOTBS2.265.804173409
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y UNDOTBS2.279.802441035
DATAFILE UNPROT COARSE MAY 29 14:00:00 Y USERS.264.804173239
DATAFILE UNPROT COARSE DEC 26 11:00:00 Y USERS.274.802440861
N sbl_data.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_DATA.258.815440497
N sbl_idx.dbf => +SBLDATA/SBLTST/DATAFILE/SBL_IDX.259.815441389 -
Reg Creating Physical Standby Control File
Hi,
I am trying to create a physical standby in the same server in a different partition.
I have copied the home and changed the init.ora file.
I have created listeners.
I did creating standby Control file Using
alter database create standby controlfile as '/some/path/to/a/file'
Then i copied the datafiles from primary to standby and when i tried to mount the database it gives error
RACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1267044 bytes
Variable Size 88083100 bytes
Database Buffers 188743680 bytes
Redo Buffers 7118848 bytes
ORA-01103: database name 'WMSTDBY' in control file is not 'WMTEST'
My Primary Sid is WMSTDBY
My Standby SId is WMTEST.
Please help in this regard.
Krishna.V.VYou cannot change the DB_NAME of the standby. It has to be the same as the Primary. You can change (and should) the INSTANCE_NAME (SID) and the DB_UNIQUE_NAME parameters to WMTEST.
Larry -
12c Create Control File for Entire CDB (CDB-root + PDBs)
Hi,
In 12c, I understand that there is a single redo log and a single control file for an entire CDB. My question is what datafiles should I use to create control file for the entire CDB. According to Managing Control Files, I suppose I should use all the datafiles (the result of query from CDB-Root: select name from v$datafile), but in practice, the control file creation process can only be successful when I use CDB-Root databfiles. Thanks in advance for any advice.The actual error message is duplicate tablespace (system, sysaux), but the root-CDB and PDBs should have separate system and sysaux. The following is the script I used.
CREATE CONTROLFILE REUSE DATABASE "CDB" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 1024
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 '/cdbdata/cdb/redo01.log' SIZE 50M BLOCKSIZE 512,
GROUP 2 '/cdbdata/cdb/redo02.log' SIZE 50M BLOCKSIZE 512,
GROUP 3 '/cdbdata/cdb/redo03.log' SIZE 50M BLOCKSIZE 512
DATAFILE
'/cdbdata/cdb/system01.dbf',
'/cdbdata/cdb/sysaux01.dbf',
'/cdbdata/cdb/undotbs01.dbf',
'/cdbdata/cdb/pdbseed/system01.dbf',
'/cdbdata/cdb/users01.dbf',
'/cdbdata/cdb/pdbseed/sysaux01.dbf',
'/cdbdata/cdb/pdb1/system01.dbf',
'/cdbdata/cdb/pdb1/sysaux01.dbf',
'/cdbdata/cdb/pdb1/pdb1_users01.dbf'
CHARACTER SET WE8MSWIN1252 -
ORA-01665 : control file is not a standby control file
I've already tested Dataguard configuration on Oracle 10g Enterprise edition for Windows.
While configuring the same in Sun Solaris, I'm receiving this error:
ORA-01665: control file is not a standby control file
Steps I follow are as below:
1) Creating a password file on both databases (primary and standby)
2) Force logging primary db and shut it down. Take a cold backup of redo log files and datafiles.
3) Transferring them to Standby db.
4) Starting primary db in mount mode and creating a standby controlfile. Transferring standby controlfile to proper location defined in standby init file.
5) Start primary db in read-write mode and secondary db in mount mode using:
alter database mount standby database;
I receive this error while firing this SQL.
Can anyone please help me out solving the same.I'm already done with the same. Find log below:
bash-3.00$ sqlplus sys/sys123@orcl as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Feb 19 11:54:29 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL>
SQL>
SQL> alter database create standby controlfile as '/export/home/oracle/abc/control4.ctl';
Database altered.
SQL> alter database create standby controlfile as '/export/home/oracle/abc/control5.ctl';
Database altered.
SQL> -
I have a working RDS RemoteApp site and looking to test out the feature in Windows 7 Control Panel\All Control Panel Items\RemoteApp and Desktop Connections
I came across this link: Create a Client Configuration File for RemoteApp and Desktop Connection and I believe this is what I need to do first, but these instructions are for
Server 2008, and I'm running 2012.
Any suggestions or tips on how I can begin testing this with Server 2012?Hi,
You can manually enter the path to the 2012 feed and it will connect and download the RemoteApps and Desktop connections.
If you need a sample .wcx file I have posted one here a couple of times. If you want I will look for it and post a link.
-TP
I tried adding my URL's below, these are sample links that work for me right now for when I log into the web page, but neither of these work. And I'm not sure what I would need to do with or how to create a .wcx file.
When I type in my URL of: https://connect.mydomain.org/RDWeb, I get redirected to:
https://connect.mydomain.org/RDWeb/Pages/en-US/login.aspx?ReturnUrl=/RDWeb/Pages/en-US/Default.aspx -
Concatenate positions in control file for sql*loader utility.
Is there a way to concatenate several character positions in a control file for sql*loader???
example... field1 position(1:3) || position(5:7) ????
I would rather not create any unnecessary temp tables for a straight load...How about...
/code
field1 position(1:7) char "substr(:field1, 1, 3) || substr(:field1, 5)" -
How to create parameter and control file like filename + date
Hello there
I am trying to create parameter and control file with following command
in SQLPLUS
create pfile='/u03/oradata/WEBDB/backup/initWEBDB.ora' from spfile;
In RMAN
copy current controlfile to '/u03/oradata/WEBDB/backup/cf_longterm.cpy';
how can I put date at the end of filename like
initWEBDB8jan06.ora and cf_longterm8jan06.cpy
Thanks in advance
LionelASM is reliable but a smart DBA is very careful. If ASM is doing mirroring this is like RAID doing mirroring. What happens if you accidentally delete one copy ... the other one disappears instantly. Not a good idea.
With respect to redo logs you need a minimum of three groups, two members, and one thread per instance. So a 2 node cluster should, at a minimum have 12 physical files.
Not mirroring the redo logs, assuming multiple members, is not as critical. -
How to create a positve pay file for ACH and Wire transfers through F110
Hi All,
I need to create a positive pay file for ACH and Wire transfers to the bank for auto clearing. For checks we have a standard program (RFCHKE00) to create the positive pay file which creates the output lists after the F110 payment process. Is there any standard SAP program available which creates the Positive pay file (Output list) for ACH and wire transfers through F110.
Thanks
SridharPlease let your abaper create a 'Z' program using RFCHKE00. For example 'ZRFCHKE00' and use it in the same way as you currently use RFCHKE00 for checks.
After the program is created, use SE38 and save it as a variant using your own specifications. Thereafter, in F110, when carrying out a payment run, under 'Printout/data medium', enter the program name under "Lists" with the variant. Then click on 'Maintain Variants' and make the necessay specifications there as well.
Instruct your end-users to enter this program when running ACH and wire transactions through F110.
Please let us know if this information was helpful.
Thanks,
Elias -
Lost 2 of 3 Control Files for 8i - Can I recover?
I had a hard drive crash and lost 2 of my 3 CONTROL files for my 8.1.6 database. I do have a backup, but I also have a 9i database on this machine and am afraid I will have to reinstall both of them. Is there a way that I will be able to restore my database (aka rebuild the control files) from just ONE Control File?
Any help would be much appreciated. ThanksThat's the reason you have 3 control files - so that you can recover from losing one of them. In theory (and also in practice) all 3 control files are exact copies of each other. Just copy the remaining one to the location(s) where Oracle is expecting to see the other 2 controlfiles.
-
Is it possible to create materialized view log file for force refresh
Is it possible to create materialized view log file for force refresh with join condition.
Say for example:
CREATE MATERIALIZED VIEW VU1
REFRESH FORCE
ON DEMAND
AS
SELECT e.employee_id, d.department_id from emp e and departments d
where e.department_id = d.department_id;
how can we create log file using 2 tables?
Also am copying M.View result to new table. Is it possible to have the same values into the new table once the m.view get refreshed?You cannot create a record as a materialized view within the Application Designer.
But there is workaround.
Create the record as a table within the Application Designer. Don't build it.
Inside your database, create the materialized with same name and columns as the record created previously.
After that, you'll be able to work on that record as for all other within the Peoplesoft tools.
But keep in mind do never build that object, that'll drop your materialized view and create a table instead.
Same problem exists for partitioned tables, for function based-indexes and some other objects database vendor dependant. Same workaround is used.
Nicolas. -
Control file for the sql*loader
hi
i'm doing my project in database management as the part of my project i have to write the control file for the sql*loader so, any one please clear the funda...so that i can get back to my project work...help me with sample code ..Refer chapter 3 and 5 on this url for sql loader and its control file references :
http://download-west.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
or
http://download-east.oracle.com/docs/cd/A91202_01/901_doc/server.901/a90192/toc.htm
You may also refer sql loader examples on this page:
http://otn.oracle.com/sample_code/products/intermedia/htdocs/avi_bulk_loading.html
Chandar -
Control file for SQL*Loader
Hello,
I have the following file (2 line) which I want to intend in an oracle database with the SQL*Loader.
tommy050+3423
tom 070-0006
The file consists of two lines and three columns.
Column1 has always 5 digits and is a String. Additional empty digits will be filled with blanks. Here: tommy and tom
Column2 has three digits and is a number. Here: 050 and 070.
Column 3 is also a number and consists of four digits. Additionally there is a fifth digit for the leading sign ("+" or "-"). Here: +3423 and -0006.
This file I want to import in my table MyTab.
MyTab(
thing VARCHAR2(5)
number NUMBER(3)
amount NUMBER
How would the control file for the SQL*Loader look like for this example?
Regards
HomerThis is a start (untested)
LOAD DATA
INFILE 'sample.dat'
BADFILE 'sample.bad'
DISCARDFILE 'sample.dsc'
APPEND
INTO TABLE MyTab
( thing POSITION(1:5) CHAR ,
NUMBER POSITION(6:8) INTEGER,
amount POSITION(9:12) INTEGER )Can you have a column named number? -
Control file for Oracle Restore
Hello All,
We are making use of only ABAP stack of SAP ECC 6.0 Sr3 version
Database version is Oracle 10.2
how can i generate control file for ABAP stack only for database restore?
Please Guide
Best Regards,
Amol DoundeHi Amol,
We discussed the issue in my previous threads;
http://scn.sap.com/thread/3223223
Best regards,
Orkun Gedik -
How to create an unsigned appxbundle file for windows store app?
Hi,
Is it possible create an unsigned appxbundle file for windows store app and later sign it with my company certificate?
If yes, how can I achieve it?
ThanksYou would create your own appx pacakge using
MakeAppx.exe.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.
Maybe you are looking for
-
Next step? iPod appears dead
Last night, while I was listening to the iPod (fifth generation 60GB), it stopped midsong (I was charging it at the time). After I tried to toggle back to a directory and then to shut it down, it brought up the sad icon and the prompt to the apple.co
-
HELP! I cannot figure this out, differences between 9i and 10g installation
This is for class, and my instructor who obviously has a bad sense of humor has provided me with the following "good" link to get these answers: http://www.stanford.edu/dept/itss/docs/oracle/10g/nav/portal_1.htm Within the comparison document you cre
-
What is the default username and password for a Airport Time Capsule 3TB
What is the default username and password for a Airport Time Capsule 3TB
-
This discussion is actually a follow on to an earlier one where I thought the issue was resolved. I am using CS5 extended 64 bit with WIN 7 64bit and ACR version 6.7. I verified the ACR version checking for updates and was informed I am up to date. A
-
Installing Adobe Web premium cs6.0 in Imac and windows.
I would lile to install some components of adobe web premium - dreamviewer,flash in windows and other items in imac. And use it parallel. Is it possible ?