TCP delay on same host
Hi there. I have two TCP applications running on the same host and one app needs to periodically send messages to the other at very short intervals. I am noticing an 80 to 100 millisecond delay from when the sender does a send() and the receiver's select() indicates the message has been received. It is very important for our application that there be as little latency as possible so 80-100ms is way too much. I cannot understand why this is so because as I said both processes are on the same host.
Do I need to tune some TCP parameters or do something special in setting up the sockets to avoid this delay? Any help or hints would be greatly appreciated!
[In case it helps: 1) if a message is transmitted after a gap of 1 second or greater, the receiver gets the message immediately without the latency mentioned above 2) the two processes are binding to the IP address of their host and not "localhost" or INADDR_ANY].
Thanks a lot in advance.
Sam.
hi gp and thank you very much for responding to this unusual problem.
- switch ports to the PCs are configured as portfast.
- switch ports between two catalyst switches are not configured (default)
- i didnt use the 'switchport access' command since they are default layer 2 interfaces. would 'switchport access vlan 1' command make any difference?
- i looked at the port status and confirmed connection is 100 mbps full duplex.
unusual issue is; ping, udp, multicast shows up in a very short time after I re-plug the uplink. that proves all ports are in forwarding state. only TCP shows up with delay, which doesnt occur on 200 $ unmanaged switch??
thanks in advance for any suggestions
Similar Messages
-
i experienced a TCP delay on catalyst 4506, avoid the problem when i replaced 4506's with dummy unmanaged switches.
i used two PCs(PC 1 and PC 2) and two 4506 switches (S1 and S2)
PC 1 is connected to S1 (fast ethernet port)
PC 2 is connected to S2 (fast ethernet port)
S1 is connected to S2 (SFP gigabit ethernet port)
-I started continuous UDP,TCP,MULTICAST and PING from PC1 to PC2
-I unplugged link between Switch 1 and Switch 2
all communication stopped.
-I plugged link between Switch 1 and Switch 2
-UDP,MULTICAST and PING started immediately but TCP started with approximately 15 seconds delay. :-(
I repeated same procedure with unmanaged dummy switches instead of 4506, there wasnt 15 seconds delay. TCP showed up in 1 second.
How can I avoid TCP delay on catalyst switches? Probably some tuning with configuration would do the job?
tx for helpinghi gp and thank you very much for responding to this unusual problem.
- switch ports to the PCs are configured as portfast.
- switch ports between two catalyst switches are not configured (default)
- i didnt use the 'switchport access' command since they are default layer 2 interfaces. would 'switchport access vlan 1' command make any difference?
- i looked at the port status and confirmed connection is 100 mbps full duplex.
unusual issue is; ping, udp, multicast shows up in a very short time after I re-plug the uplink. that proves all ports are in forwarding state. only TCP shows up with delay, which doesnt occur on 200 $ unmanaged switch??
thanks in advance for any suggestions -
Multiple dialog instances on same host for different System
Dear Sir,
I install two dialog instances on same host ,one for DEV one for QAS.
First I install dialog instance for DEV and startup with no error.
Second dialog instance for QAS install with success end ,but can not start dispatchers.
Service
sapmsDEV 3600/tcp # SAP System Message Port
sapmsQAS 3601/tcp # SAP System Message Port
sapdp01s 4701/tcp # SAP System Dispatcher Security Port
sapgw01s 4801/tcp # SAP System Gateway Security Port
sapdp00 3200/tcp # SAP System Dispatcher Port
sapdp00s 4700/tcp # SAP System Dispatcher Security Port
sapgw00 3300/tcp # SAP System Gateway Central Instance Port
sapgw00s 4800/tcp # SAP System Gateway Security Port
Disp_dev
***LOG Q0I=> NiPConnect2: SiPeekPendConn (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 8716]
ERROR => MsIAttachEx: NiBufConnect to sap-qas/sapmsQAS failed (rc=NIECONN_REFUSED) [msxxi.c 633]
***LOG Q0L=> DpLoopInit, nomscon () [dpxxdisp.c 1549]
Stderr
D:\usr\sap\QAS\D01\work>ntscmgr start MSSQLSERVER -m sap-qas
failure: StartService, NT ErrorMessage: An instance of the service is already running. StartService SUCCESS
D:\usr\sap\QAS\D01\work>ntscmgr start SQLSERVERAGENT -m sap-qas
failure: StartService, NT ErrorMessage: An instance of the service is already running. StartService SUCCESS
It seem that first startup dialog instance already start MSSQLSERVER -m sap-dev and SQLSERVERAGENT -m sap-dev, so next instance can not start again ,and cause NICONN_REFUSED.
Could someone help me?
Thanks
Regards,
MattIt 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 -
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. -
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. -
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 -
Start/stop the OMS Services on Same Host
Hi,
I have OMS, Repository database and Agent on the same host.....
I want to stop and start the services...
==========================
FOR Shutdown
=====================================
Stop the Agent
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
stop the OMS Services
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopall
Stop the Repository Databas Listner
$cd $ORACLE_HOME/bin/lsnrctl stop LISTENER
STOP THE database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> shutdown immediate
====================================
FOR Startup
=====================================
start the Repository Listener
$cd $ORACLE_HOME/bin/lsnrctl start LISTENER
start the Database
$cd $ORACLE_HOME/bin/sqlplus '/as sysdba'
sql> startup
start the OMS Service
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl startall
start the Management Agent
$cd $ORACLE_HOME/agent10g/bin/emctl start agent
======================================
is this the correct procedure...
can anybody help in this regard....As an outline, it looks ok I think.
You may need some env variables set up in the script, add some error handling, etc...
I want to stop and start the services...
$cd $ORACLE_HOME/agent10g/bin/emctl stop agent
$cd $ORACLE_HOME/oms10g/opmn/bin/opmnctl stopallRemove the "cd" from your command lines.
Maybe you are looking for
-
How do I remove "other users" folder in mail and on my iPhone
On one account only I have "other users" folder that lists all of the folders of every user on the server. On my iphone I have to scroll past pages of other user folders to get to any folder named with anything after "O" Does anyone know how to get t
-
Deleting itunes store apple id
How do I delete an old itunes store id I no longer use?
-
Unable to reference Hibernate libraries in NW CE 7.1
Hi, I am unable to reference Hibernate liberaries in NW CE 7.1. Though I have followed the steps mentioned in the some example (blog), still getting the same error. Can somebody help me if this is limitation or if I missed any setting. Thanks in adva
-
If someone can just tell me when Lightroom5 will be compatible with RAW images from my new Nikon D750. I have tried chat, phone and now here. Very frustrated first time Adobe user. I purchased this product to be able to develop RAW images to find out
-
LogShipping: recover_replace of logs too slow. Can we tune it?
Hello, after having trouble with bad pages on MaxDB we built up a standby db with LogShipping to be prepared for future trouble. All in all, it works. We wrote a script, that makes a dbmcli session. It begins with recover_start, after that it continu