11i clone to same host
Hi all,
OS = Red hat linux 4
Application version =11.5.10.2
Database version = 9.2.6.0
I want to configure Test and Prod environments on single node .
Can somebody share his/her experience in this regard.
Regards,
Ken
Prod and Test will be on same node for short duration(for around one month) after that they will be separated again.
I had confusion for database tier, if both instances were configured on single node. As in oracle 9i separate Context environments folders are created.
e.g
$ORACLE_HOME/network/admin/<CONTEXT_NAME>
$ORACLE_HOME/<CONTEXT_NAME>.env
$ORACLE_HOME/appsutil/scripts/<CONTEXT_NAME>
is there any way i can perform manual configuration(cloning) for DB tier only. This will give me better understanding of the process.
I want to keep single ORACLE_HOME on this node, so that this server can host more databases as well that may be required at some latter stage.
Regards,
Ken
Similar Messages
-
Hello,
I am cloning a database running in 11.2.0.3 version with ASM to a new database running in the same version with ASM in the same host.
The OS version is Redhat Linux 5.5.
The source database is SOURCE and the target to clone database is CLONE.
The source database datafiles are in DG_SOURCE diskgroup and the clone database datafiles are in DB_CLONE diskgroup.
After mounting the database source , I am now backing up the source database using this command:
run {
backup as copy database format '+DG_CLONE/CLONE/DATAFILE/%N_%f.dbf';
}This will copy the datafiles to the DG_CLONE which will be the diskgroup of CLONE instance.
I am thinking after that to :
1- startup nomount the clone database with an init.ora modified of the source database.
2- create the controlfile with CREATE CONTROLFILE command,
3- mount the clone instance.
4- run the following script with RMAN;
catalog start with '+DG_CLONE/CLONE/DATAFILE/';
restore database;
switch datafile all;
recover database;
alter database open resetlogs;I wonder if my steps are correct?
Thanks,
SDBA wrote:
Hello,
I am cloning a database running in 11.2.0.3 version with ASM to a new database running in the same version with ASM in the same host.
The OS version is Redhat Linux 5.5.
The source database is SOURCE and the target to clone database is CLONE.
The source database datafiles are in DG_SOURCE diskgroup and the clone database datafiles are in DB_CLONE diskgroup.
After mounting the database source , I am now backing up the source database using this command:
run {
backup as copy database format '+DG_CLONE/CLONE/DATAFILE/%N_%f.dbf';
}This will copy the datafiles to the DG_CLONE which will be the diskgroup of CLONE instance.
I am thinking after that to :
1- startup nomount the clone database with an init.ora modified of the source database.
2- create the controlfile with CREATE CONTROLFILE command,
3- mount the clone instance.
4- run the following script with RMAN;
catalog start with '+DG_CLONE/CLONE/DATAFILE/';
restore database;
switch datafile all;
recover database;
alter database open resetlogs;I wonder if my steps are correct?
Thanks,
S
I do not think you would be able to restore & recover the backup of your SOURCE database to create the CLONE database on the same host using the method you have stated. You can go with the RMAN duplicate command or since you are on 11g, you can go with the RMAN "duplicate from active database" method.
In your method, you would be restoring the backups of SOURCE on the same server where SOURCE exists and this backup would contain the DB NAME as SOURCE which already exists and is running and you cannot restore it on the same server.
You can refer this http://aprakash.wordpress.com/2011/01/24/duplicate-database-using-from-active-database-clause-11gr2/ for duplicate database using "FROM ACTIVE DATABASE" clause
For normal RMAN duplicate, you can refer this
http://www.shutdownabort.com/quickguides/clone_rman.php
http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta028.htm -
How Can I reconfigure or reinstall Discoverer 11 after cloning DB & EBS 12i on same host?
Hello,
I am running Oracle rdbms 11.2.3, EBS 12.1.3 & Discoverer 11i on the same host. I have just cloned DB & EBS from PROD onto TEST and found out that Discoverer (fusion) cannot be cloned. How do get Discoverer (fusion) to work? Is it easier to reinstall or to reconfigure the binaries I had before cloning of the DB and EBS?
Thanks
MathiasI have made the following changes and printing seems to work OK, full user testing pending - any feedback welcome ...
The sql below is renaming printers to reflect the linux print queues so for eg //its-printer/printername
becomes printername
Where printername is the name of the print queue setup.
create table fnd_profile_option_values_bup as select * from fnd_profile_option_values ;
create table FND_PRINTER_r12bup as select * from FND_PRINTER ;
create table FND_PRINTER_TL_r12bup as select * from FND_PRINTER_TL ;
create table FND_PRINTER_DRIVERS_r12bup as select * from FND_PRINTER_DRIVERS ;
create table FND_CONCURRENT_PROGRAMS_r12bup as select * from FND_CONCURRENT_PROGRAMS ;
update fnd_profile_option_values
set profile_option_value = replace(profile_option_value,'\\kmprint','')
where profile_option_value like '\\kmprint\%';
update FND_PRINTER
set printer_name = replace(printer_name,'\\kmprint','')
where printer_name like '\\kmprint\%';
update FND_PRINTER_TL
set printer_name = replace(printer_name,'\\kmprint','')
where printer_name like '\\kmprint\%';
update FND_PRINTER_DRIVERS
set arguments = replace(arguments,'print /D:$PROFILES$.PRINTER $PROFILES$.FILENAME',
'lp -d$PROFILES$.PRINTER -n$PROFILES$.CONC_COPIES -t"$PROFILES$.TITLE" $PROFILES$.FILENAME')
where arguments like 'print /D%' ;
update FND_CONCURRENT_PROGRAMS
set printer_name = replace(printer_name,'\\kmprint','')
where printer_name like '\\kmprint\%';
commit
Web page does not display //kmprint in replace statement above however I hope you get the picture ...
Cheers, Rob
Edited by: Diesel on Apr 7, 2011 4:34 PM -
Cloning of database to same host give error, unable to re-create online log
clone the database to same host
oracle version: 9.2.0.5
os HP
target db: tardb
catlog catlog
auxiliary: auxbr
After running this script, I am getting error unable to re-create online log.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directory
I tried to shutdown, and mount, recover with backup contorlfile until cancel. and open with reset logs ,
I am not able to make the copy of the database on same host.
Help is appreciated.
complete error log
oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:11:23 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to an idle instance.
SQL> startup nomount pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
ORACLE instance started.
Total System Global Area 219115512 bytes
Fixed Size 737272 bytes
Variable Size 83886080 bytes
Database Buffers 134217728 bytes
Redo Buffers 274432 bytes
SQL> create spfile from pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
File created.
SQL> exit
Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0 - Production
oracle@dimondz{auxbr}/db/app/oracle/dba/sql>
oracle@dimondz{auxbr}/db/app/oracle/dba/sql> rman
Recovery Manager: Release 9.2.0.5.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
RMAN> connect catalog rman/rman@catlog
connected to recovery catalog database
RMAN> connect target sys/dimondz@tardb
connected to target database: tardb (DBID=3063303886)
RMAN> connect auxiliary sys/dimondz@auxbr
connected to auxiliary database: auxbr (not mounted)
RMAN>
RMAN> RUN
2> {
3> SET NEWNAME FOR DATAFILE 1 TO '/db/catalog1.001/oradata/system01.dbf';
4>
5> SET NEWNAME FOR DATAFILE 2 TO '/db/catalog1.001/oradata/undotbs01.dbf';
6>
SET NEWNAME FOR DATAFILE 3 TO '/db/catalog1.001/oradata/ptest01.dbf';
7> 8>
9> SET NEWNAME FOR DATAFILE 4 TO '/db/catalog1.001/oradata/users_01.dbf';
10>
11> SET NEWNAME FOR DATAFILE 5 TO '/db/catalog1.001/oradata/drsys_01.dbf';
12>
13> SET NEWNAME FOR DATAFILE 6 TO '/db/catalog1.001/oradata/qms_dat_01.dbf';
14>
15> SET NEWNAME FOR DATAFILE 7 TO '/db/catalog1.001/oradata/ultradat_01.dbf';
16>
17> SET NEWNAME FOR DATAFILE 11 TO '/db/catalog1.001/oradata/xmltbs_01.dbf';
18>
19> DUPLICATE TARGET DATABASE TO auxbr
20>
21> pfile=/db/app/oracle/admin/catlog/pfile/initauxbr.ora
22> logfile
23> ' /db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
24> ' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
25> ' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;
26> }
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 08-JUN-09
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: sid=11 devtype=DISK
printing stored script: Memory Script
set until scn 229907626;
set newname for datafile 1 to
"/db/catalog1.001/oradata/system01.dbf";
set newname for datafile 2 to
"/db/catalog1.001/oradata/undotbs01.dbf";
set newname for datafile 3 to
"/db/catalog1.001/oradata/ptest01.dbf";
set newname for datafile 4 to
"/db/catalog1.001/oradata/users_01.dbf";
set newname for datafile 5 to
"/db/catalog1.001/oradata/drsys_01.dbf";
set newname for datafile 6 to
"/db/catalog1.001/oradata/qms_dat_01.dbf";
set newname for datafile 7 to
"/db/catalog1.001/oradata/ultradat_01.dbf";
set newname for datafile 11 to
"/db/catalog1.001/oradata/xmltbs_01.dbf";
restore
check readonly
clone database
executing script: Memory Script
executing command: SET until clause
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 08-JUN-09
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backupset restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to /db/catalog1.001/oradata/system01.dbf
restoring datafile 00002 to /db/catalog1.001/oradata/undotbs01.dbf
restoring datafile 00003 to /db/catalog1.001/oradata/ptest01.dbf
restoring datafile 00004 to /db/catalog1.001/oradata/users_01.dbf
restoring datafile 00005 to /db/catalog1.001/oradata/drsys_01.dbf
restoring datafile 00006 to /db/catalog1.001/oradata/qms_dat_01.dbf
restoring datafile 00007 to /db/catalog1.001/oradata/ultradat_01.dbf
restoring datafile 00011 to /db/catalog1.001/oradata/xmltbs_01.dbf
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/dump/DBA/RMAN/tardb_bkup/db_tardb_f_04kgt77h tag=WHOLE_DATABASE_tardb params=NULL
channel ORA_AUX_DISK_1: restore complete
Finished restore at 08-JUN-09
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 907
LOGFILE
GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
DATAFILE
'/db/catalog1.001/oradata/system01.dbf'
CHARACTER SET UTF8
printing stored script: Memory Script
switch clone datafile all;
executing script: Memory Script
datafile 2 switched to datafile copy
input datafilecopy recid=1 stamp=689037446 filename=/db/catalog1.001/oradata/undotbs01.dbf
datafile 3 switched to datafile copy
input datafilecopy recid=2 stamp=689037446 filename=/db/catalog1.001/oradata/ptest01.dbf
datafile 4 switched to datafile copy
input datafilecopy recid=3 stamp=689037446 filename=/db/catalog1.001/oradata/users_01.dbf
datafile 5 switched to datafile copy
input datafilecopy recid=4 stamp=689037446 filename=/db/catalog1.001/oradata/drsys_01.dbf
datafile 6 switched to datafile copy
input datafilecopy recid=5 stamp=689037446 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
datafile 7 switched to datafile copy
input datafilecopy recid=6 stamp=689037446 filename=/db/catalog1.001/oradata/ultradat_01.dbf
datafile 11 switched to datafile copy
input datafilecopy recid=7 stamp=689037446 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
printing stored script: Memory Script
set until scn 229907626;
recover
clone database
delete archivelog
executing script: Memory Script
executing command: SET until clause
Starting recover at 08-JUN-09
using channel ORA_AUX_DISK_1
starting media recovery
channel ORA_AUX_DISK_1: starting archive log restore to default destination
channel ORA_AUX_DISK_1: restoring archive log
archive log thread=1 sequence=3
channel ORA_AUX_DISK_1: restoring archive log
archive log thread=1 sequence=4
channel ORA_AUX_DISK_1: restored backup piece 1
piece handle=/dump/DBA/RMAN/tardb_bkup/db_arch_tardb_f_06kgt7ih tag=ARCHIVE_LOG_tardb_BACKUP params=NULL
channel ORA_AUX_DISK_1: restore complete
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc thread=1 sequence=3
channel clone_default: deleting archive log(s)
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc recid=1 stamp=689037447
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc thread=1 sequence=4
channel clone_default: deleting archive log(s)
archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc recid=2 stamp=689037447
media recovery complete
Finished recover at 08-JUN-09
printing stored script: Memory Script
shutdown clone;
startup clone nomount pfile= '/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
executing script: Memory Script
database dismounted
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 219115512 bytes
Fixed Size 737272 bytes
Variable Size 83886080 bytes
Database Buffers 134217728 bytes
Redo Buffers 274432 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 907
LOGFILE
GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
DATAFILE
'/db/catalog1.001/oradata/system01.dbf'
CHARACTER SET UTF8
printing stored script: Memory Script
catalog clone datafilecopy "/db/catalog1.001/oradata/undotbs01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/ptest01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/users_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/drsys_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/qms_dat_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/ultradat_01.dbf";
catalog clone datafilecopy "/db/catalog1.001/oradata/xmltbs_01.dbf";
switch clone datafile all;
executing script: Memory Script
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/undotbs01.dbf recid=1 stamp=689037456
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/ptest01.dbf recid=2 stamp=689037456
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/users_01.dbf recid=3 stamp=689037456
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/drsys_01.dbf recid=4 stamp=689037457
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/qms_dat_01.dbf recid=5 stamp=689037457
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/ultradat_01.dbf recid=6 stamp=689037457
cataloged datafile copy
datafile copy filename=/db/catalog1.001/oradata/xmltbs_01.dbf recid=7 stamp=689037457
datafile 2 switched to datafile copy
input datafilecopy recid=1 stamp=689037456 filename=/db/catalog1.001/oradata/undotbs01.dbf
datafile 3 switched to datafile copy
input datafilecopy recid=2 stamp=689037456 filename=/db/catalog1.001/oradata/ptest01.dbf
datafile 4 switched to datafile copy
input datafilecopy recid=3 stamp=689037456 filename=/db/catalog1.001/oradata/users_01.dbf
datafile 5 switched to datafile copy
input datafilecopy recid=4 stamp=689037457 filename=/db/catalog1.001/oradata/drsys_01.dbf
datafile 6 switched to datafile copy
input datafilecopy recid=5 stamp=689037457 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
datafile 7 switched to datafile copy
input datafilecopy recid=6 stamp=689037457 filename=/db/catalog1.001/oradata/ultradat_01.dbf
datafile 11 switched to datafile copy
input datafilecopy recid=7 stamp=689037457 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
printing stored script: Memory Script
Alter clone database open resetlogs;
executing script: Memory Script
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directory
RMAN>
I tried to shutdown and open with resetlogs , it still error
oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:27:05 2009
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.5.0 - Production
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 219115512 bytes
Fixed Size 737272 bytes
Variable Size 83886080 bytes
Database Buffers 134217728 bytes
Redo Buffers 274432 bytes
Database mounted.
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 229907626 generated at 06/06/2009 11:58:09 needed for thread
1
ORA-00289: suggestion : /oradump/oradata/catlog/arch/catlog-1814470384_1_5.arc
ORA-00280: change 229907626 for thread 1 is in sequence #5
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
CANCEL
Media recovery cancelled.
SQL> alter database open resetlogs;
alter database open resetlogs
ERROR at line 1:
ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/
/db/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directory
SQL>
Thanks, Your help and guide will appreciated very much.Hello,
The directory for the creation of the logfiles does not exist, from the error:
RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
/redolog.001/catalog1/catalog1_log1.rdo'
ORA-27040: skgfrcre: create error, unable to create file
HP-UX Error: 2: No such file or directoryI.e., there is no such directory as *'/db/app/oracle/product/9.2.0.5/dbs/ /db/redolog.001/catalog1/catalog1_log1.rdo'*
Your db_recovery_file_dest parameter may be set here, therefore change this:
'/db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;To this:
'catalog1_log1.rdo' size 5m,
'catalog1_log2.rdo' size 5m,
'catalog1_log3.rdo' size 5m;And try again. -
As far as I remember 10.1.2.2 was not supporting installation of multiple OID on the same host?
Can multiple 10.1.4.0.1 IDMS servers be installed on the same host?
TIANothing would stop you from installing 11i and R12 on the same server as long as ORACLE_HOMEs, APPL_TOPs, and COMMON_TOPs of each instance are installed in separate directories. The only pitfall would be the performance (unless you have sufficient resources).
Please don't consider this plan for production instances!
Thanks,
Hussein -
SSO within an ABAP+JAVA on the same host
Experts:
We have a dual stack (ABAP+JAVA) NW04s on the same host.
The usage type EP7 is enabled.
From this EP7 we want to access its own ITS thru SSO.
We configured the SSO just like we did for the EP7 + ECC on 2 different hosts.
However, we are always asked for an ID/password when trying to test the SSO from the EP7.
The error is:
"SSO logon not possible; browser logon ticket cannot be accepted"
Please advise. Points guaranteed. Thanks!hi,
I also tried to do the same, but i think it's not possible.
I read somewhere that SAP recommends to use different instances of ABAP and Java. I installed seperate ABAP and Java instances on the same host and then configured SSO using the Configuration Wizard in NWA configuration. and it works perfectly.
regards,
Ankur -
TDE Wallets & Multiple Databases on same Host
The Oracle TDE Best Practices (doc ID 130696) states this:
Multiple databases on the same host
If there are multiple Oracle Databases installed on the same server, they
must access their own individual TDE wallet. Sharing the same wallet between independent instances is not supported
and can potentially lead to the loss of encrypted data.
If the databases share the same ORACLE_HOME, they also share the same
sqlnet.ora file in $TNS_ADMIN . In order to access their individual wallet, the
DIRECTORY entry for the ENCRYPTION_WALLET_LOCATION
needs to point each database to its own wallet location:
DIRECTORY= /etc/ORACLE/WALLETS/$ORACLE_UNQNAME
The names of the subdirectories under /etc/ORACLE/WALLETS/ reflect
the ORACLE_UNQNAME names of the individual databases.
If the databases do not share the same ORACLE_HOME, they will also have their individual sqlnet.ora
files that have to point to the individual subdirectories.
What is the correct sqlnet.ora syntax to do this? I currently have what is below but it doesn't seem to be correct:
ENCRYPTION_WALLET_LOCATION =
(SOURCE = (METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /local/oracle/admin/wallet/DB#1)
(DIRECTORY = /local/oracle/admin/wallet/DB#2)Hi,
You can check this :Setting ENCRYPTION_WALLET_LOCATION For Wallets Of Multiple Instances Sharing The Same Oracle Home (Doc ID 1504783.1)
i haven't done this for multiple database, but as per Doc you can use the syntex like
ENCRYPTION_WALLET_LOCATION =
(SOURCE = (METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = /local/oracle/admin/wallet/$ORACLE_UNQNAME)
Whenever you set the Environmnet with
export $ORACLE_UNQNAME=DB#1
it will choose the file from respective directory like /local/oracle/admin/wallet/DB#1
HTH -
Multiple IDM instances on same host
Can multiple Identity Manager app server instances be run on the same host, connecting to the same db? If so, how is this accomplished. From what I see Identity Manager instances attempt to register themselves using the host name. Is there a property in the properties file that can set a unique name?
It appears to be possible, at least in IDM 7.1
The release notes and Installation guide reference a setting called waveset.serverId that you set in your application server startup script like so:
-Dwaveset.serverId=Name
This would allow each JVM to identify itself differently from any others running on the same physical server.
I haven't tried this yet myself, so caveat emptor.
Jason -
Creation of Standby database on same host
Hi All,
I am using oracle 9.2.0.1.0 on windows XP machine.
*I want to create the standby database for my primary database on same machine.
But both tha data base is heaving diff instance as well as the diff database name say "ASHU" for primary & "TEST" for standby database.
I took the backup of all datafile and copied it in the standby location.
Generate the standby control file also and copied to the standby location.
But when i am going to start the standby database it is giving the below error:
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01103: database name 'ASHU' in controlfile is not 'TEST'
How to rectify it? Please help me
(* This is only for learning pupose , that's why i am going to create both on same host">
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01103: database name 'ASHU' in controlfile is not 'TEST'
How to rectify it? Please help me
>
You do not change the dbname of the physical standby database. They always must have the same name as the primary.
Here is a snippet from my standby initialization file for a 9i installation. Notice the parameter LOCK_NAME_SPACE that was replaced in 10g with DB_UNIQUE_NAME
db_file_name_convert=('E:\PRIMA','E:\PHYST')
db_name='PRIMA'
instance_name='PHYST'
service_names='PHYST'
lock_name_space='PHYST'
log_archive_dest_1='LOCATION=E:\PHYST\ARCHIVE'
log_archive_start=TRUE
log_archive_format='%t_%s.arc'
log_file_name_convert=('E:\PRIMA','E:\PHYST')Kind regards
Uwe
http://uhesse.wordpress.com
Edited by: Uwe Hesse on 27.07.2009 13:36 -
How to Create Primary DB and Physical/Logical Standby DB on the same host?
Now I encounter a issue. I want to create one Primary DB and one Physical standby DB and one Logical standby DB on the same host.
Create this env on the same host aims to test whether we can using EM Patching DP to apply patches on Primary/Physical/Logical DB successfully.
I try to setup this env but fails. I want to know more related issues about create Primary DB /Physical DB/Logical DB on the same host and how to configure between them.
Below steps is my try:
1. Create Primary DB on the /scratch/primary_db
2. Create Physical Db software only on the /scratch/physical_db
3. Create Logical Db software only on the /scratch/logical_db
4. Using EM Wizard to create physical standby database and logical standby database, and these two targets can show up on the "All Targets" Page.
5. But when using EM Patching DP, it fails and the reason is the listener of physical and logical db cannot configured well.
Issues:
So I want to know about how to configure physical db and logical db's listener using EM or manually?
If the listener name of Primary Db is LISTENER and the port is 1521,and the listener.ora is under the /scratch/primary_db/network/admin directory, then how to config physical db and logical db's listener's name and port?Hi,
As this a test case then you need to create two more listener for each Oracle Home (/scratch/physical_db & /scratch/logical_db) make sure that they have different names and ports.
Then add the new listeners manually using GC?
Try it and let me know
Regards
Amin -
GoldenGate Replication - Between Schemas On Same Host
Guys - My requirement is fairly simple.I have two schemas, GG [Source] and GGR [Target] on the same host. Have one table called GG.SYNC_TABLE. I am having difficulties to push data from GG to GGR
Below are the extract and replicat information
EXTRACT EXT_AP1
SETENV (ORACLE_SID=ERPA4)
RMTHOST mdeagaix825, mgrport 7809
USERID GG@ERPA4, PASSWORD goldengate1
DISCARDFILE ./dirrpt/ext_ap1_discard.rpt, append, megabytes 50
RMTTRAIL ./dirdata/sa
TABLE GG.AP_AE_HEADERS_ALL;
TABLE GG.AP_AE_LINES_ALL;
TABLE GG.AP_BANK_ACCOUNTS_ALL;
TABLE GG.AP_BANK_BRANCHES;
TABLE GG.AP_CARDS_ALL;
TABLE GG.AP_CHECKS_ALL;
TABLE GG.AP_CREDIT_CARD_TRXNS_ALL;
TABLE GG.AP_EXPENSE_REPORTS_ALL;
TABLE GG.AP_EXPENSE_REPORT_HEADERS_ALL;
TABLE GG.AP_EXPENSE_REPORT_LINES_ALL;
TABLE GG.AP_EXPENSE_REPORT_PARAMS_ALL;
TABLE GG.AP_EXP_REPORT_DISTS_ALL;
TABLE GG.AP_HOLDS_ALL;
TABLE GG.AP_HOLD_CODES;
TABLE GG.AP_INVOICES_ALL;
TABLE GG.AP_INVOICE_DISTRIBUTIONS_ALL;
TABLE GG.AP_INVOICE_LINES_ALL;
TABLE GG.AP_INVOICE_PAYMENTS_ALL;
TABLE GG.AP_NOTES;
TABLE GG.AP_PAYMENT_HISTORY_ALL;
TABLE GG.AP_PAYMENT_HIST_DISTS;
TABLE GG.AP_PAYMENT_SCHEDULES_ALL;
TABLE GG.AP_POL_VIOLATIONS_ALL;
TABLE GG.AP_SELF_ASSESSED_TAX_DIST_ALL;
TABLE GG.AP_SUPPLIERS;
TABLE GG.AP_SUPPLIER_SITES_ALL;
TABLE GG.AP_SYSTEM_PARAMETERS_ALL;
TABLE GG.AP_TERMS_LINES;
TABLE GG.AP_TOLERANCE_TEMPLATES;
TABLE GG.SYNC_TABLE;
REPLICAT REP_AP1
SETENV (ORACLE_SID=ERPA4)
USERID GG@ERPA4, PASSWORD goldengate1
ASSUMETARGETDEFS
REPORTCOUNT EVERY 1 MINUTES, RATE
DISCARDFILE ./dirrpt/rep_ap1.dsc, PURGE
MAP GG.AP_AE_HEADERS_ALL, TARGET GGR.AP_AE_HEADERS_ALL;
MAP GG.AP_AE_LINES_ALL, TARGET GGR.AP_AE_LINES_ALL;
MAP GG.AP_BANK_ACCOUNTS_ALL, TARGET GGR.AP_BANK_ACCOUNTS_ALL;
MAP GG.AP_BANK_BRANCHES, TARGET GGR.AP_BANK_BRANCHES;
MAP GG.AP_CARDS_ALL, TARGET GGR.AP_CARDS_ALL;
MAP GG.AP_CHECKS_ALL, TARGET GGR.AP_CHECKS_ALL;
MAP GG.AP_CREDIT_CARD_TRXNS_ALL, TARGET GGR.AP_CREDIT_CARD_TRXNS_ALL;
MAP GG.AP_EXPENSE_REPORTS_ALL, TARGET GGR.AP_EXPENSE_REPORTS_ALL;
MAP GG.AP_EXPENSE_REPORT_HEADERS_ALL, TARGET GGR.AP_EXPENSE_REPORT_HEADERS_ALL;
MAP GG.AP_EXPENSE_REPORT_LINES_ALL, TARGET GGR.AP_EXPENSE_REPORT_LINES_ALL;
MAP GG.AP_EXPENSE_REPORT_PARAMS_ALL, TARGET GGR.AP_EXPENSE_REPORT_PARAMS_ALL;
MAP GG.AP_EXP_REPORT_DISTS_ALL, TARGET GGR.AP_EXP_REPORT_DISTS_ALL;
MAP GG.AP_HOLDS_ALL, TARGET GGR.AP_HOLDS_ALL;
MAP GG.AP_HOLD_CODES, TARGET GGR.AP_HOLD_CODES;
MAP GG.AP_INVOICES_ALL, TARGET GGR.AP_INVOICES_ALL;
MAP GG.AP_INVOICE_DISTRIBUTIONS_ALL, TARGET GGR.AP_INVOICE_DISTRIBUTIONS_ALL;
MAP GG.AP_INVOICE_LINES_ALL, TARGET GGR.AP_INVOICE_LINES_ALL;
MAP GG.AP_INVOICE_PAYMENTS_ALL, TARGET GGR.AP_INVOICE_PAYMENTS_ALL;
MAP GG.AP_NOTES, TARGET GGR.AP_NOTES;
MAP GG.AP_PAYMENT_HISTORY_ALL, TARGET GGR.AP_PAYMENT_HISTORY_ALL;
MAP GG.AP_PAYMENT_HIST_DISTS, TARGET GGR.AP_PAYMENT_HIST_DISTS;
MAP GG.AP_PAYMENT_SCHEDULES_ALL, TARGET GGR.AP_PAYMENT_SCHEDULES_ALL;
MAP GG.AP_POL_VIOLATIONS_ALL, TARGET GGR.AP_POL_VIOLATIONS_ALL;
MAP GG.AP_SELF_ASSESSED_TAX_DIST_ALL, TARGET GGR.AP_SELF_ASSESSED_TAX_DIST_ALL;
MAP GG.AP_SUPPLIERS, TARGET GGR.AP_SUPPLIERS;
MAP GG.AP_SUPPLIER_SITES_ALL, TARGET GGR.AP_SUPPLIER_SITES_ALL;
MAP GG.AP_SYSTEM_PARAMETERS_ALL, TARGET GGR.AP_SYSTEM_PARAMETERS_ALL;
MAP GG.AP_TERMS_LINES, TARGET GGR.AP_TERMS_LINES;
MAP GG.AP_TOLERANCE_TEMPLATES, TARGET GGR.AP_TOLERANCE_TEMPLATES;
MAP GG.SYNC_TABLE, TARGET GGR.SYNC_TABLE;
Extract, Replicat and Manager processes are running fine. But a commit on target is not propagating the data across to GGR schema. Supplemental logging is enabled. Archiving is not [I hope its not required]. What do you think I am missing here?
I am fairly new to GoldenGate, Hence if you want me to run any commands, Please provide the commands. Thanks much in advance.Duplicate post.
-
hi,
i'm trying to make some test with an antivirus. i have only one server i installed ims 5.2 (smtp at port 10026) with iDS 5.2 (port 389), and i installed another iMS in the same host but the smtp is at port 25, before i install the antivirus software i tried to make some test with the IMS.
both iMS share the Directory Server.
first i send an email at port 25 then the server send the message at port 10026 in the same sarver (i saw the logs and it did it) but in the instance that use the port 10026 only enqueue the mail, does anybody have any idea of what is going on!, maybe the things i'm testing are wrong. ....
When i run the ./msg-stop smtp in the instance that use the port 25 then the instance with the port 10026 delivery the enqued mail..thanks for your answer..
i read the documentation that you send,
but the documentation of the antivirus say that needs two mta to make a special configuration, the thing is the doc say that needs 3 servers:
1 mta/IN (pto 25)
1 server AV (100025)
1 mta (pto 10026)
the thing is that i only have one server, and i'm trying to do the same configuration with my server..
The people that sell the Av software said that they can do the same configuration in one server but using like mta Postfix.
i'm tryin doing the same with IMS. -
How to dup d'base on same host ???
Hi,
I want to create dup d'base on the same host with
diff directory structure with rman.I have few question to ask.
I am using oracle 9.0.1 on win 2000 server and I am using stand
alone server so what step I should take to avoid future mishapes?
please answer these question ...
1.Can I use same Oracle host and same dir structure?
2.Can I use primary d'base datafiles for the stdby d'base?
3.Is it necessary to have catalog d'base or it can be ---
created w'out a catalog d'base?
4.Can I use same datafiles of primary d'base?
4.I also connect to taget d'se but,when I tried to connect aux db
I got these errors :
error from auxiliary database: ORA-12519: TNS:no appropriate
service handlet found.
my main pproblem is that, I am not able to create aux instance
and connect to it. please let me know the remedy of these problems.
and if you could let me know the step by step solution all of
these considering regarding problems,which I mention above.
With regards : Alok KumarThe docs might help:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#442448
Kailash. -
How to create dup d'base on same host??
Hi,
I want to create dup d'base on the same host with
diff directory structure with rman.I have few question to ask.
I am using oracle 9.0.1 on win 2000 server and I am using stand
alone server so what step I should take to avoid future mishapes?
please answer these question ...
1.Can I use same Oracle host and same dir structure?
2.Can I use primary d'base datafiles for the stdby d'base?
3.Is it necessary to have catalog d'base or it can be ---
created w'out a catalog d'base?
4.Can I use same datafiles of primary d'base?
4.I also connect to taget d'se but,when I tried to connect aux db
I got these errors :
error from auxiliary database: ORA-12519: TNS:no appropriate
service handlet found.
my main pproblem is that, I am not able to create aux instance
and connect to it. please let me know the remedy of these problems.
and if you could let me know the step by step solution all of
these considering regarding problems,which I mention above.
With regards : Alok KumarThe docs might help:
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#442448
Kailash. -
RMAN restore database from another backup of different database in the same host
Hi Experts,
I have taken FULL Database Backup using RMAN , now I want to Restore and Recover the same database on different instance on Same Host.
Could u suggest any document or Steps to achieve this task.....
Thanks,
Mouni.No Problem.
Please check this :
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupdb.htm#BRADV420
ORACLE-BASE - Duplicate a Database Using RMAN in Oracle Database 11g Release 2
Ensure you follow what Mr. Hemant has mentioned.
Regards
Karan
Maybe you are looking for
-
Question about mini dvi to vga cable
hey what up guys i have a macbook and i want to hook it up to my 27inch samsung lcd tv. i am pretty sure this will work but i was wondering how long is the cable that apple has cause it doenst say on the site i would say i need about 1 ft and a half
-
Determining document type: Debit Request vs Sales Order
Our scenario: o Business activities that are not our core revenue-generating business and currently invoiced out of FI-AR (FB70) o Intend to change the billing process to invoice out of SD instead of FI-AR, one of the reasons is being able to
-
Optical audio out light always on
Hello, I've noticed that the optical audio output on my MBP is permanently on - it's projecting a red dot onto the wall. In system preferences, output is set to my USB speakers. Does anyone know if this is normal? Thanks
-
I have downloaded CS3 Beta to my main computer and my laptop (so I can test when away from base). My laptop does not show any image when you click on the film strip. I have JPEG and RAW files on the computer, but now way can I preview them. My main c
-
Revision: 10151 Author: [email protected] Date: 2009-09-11 06:20:44 -0700 (Fri, 11 Sep 2009) Log Message: Modified the Channel.applySettings() ASDoc comment. Removed the XML snippet for the method parameter, which wasn't relevant to the primary