Re: How to backup MTS database with RMAN

2001-12-21 Thread kevin wang
Title: How to backup MTS database with RMAN




Hi, Hulmet,
I tried. To use RMAN on MTS database 
environment, both database server machine and the RMAN machine(the machine you 
run RMAN on it) should use dedicated server mode instead of shared mode. It 
means the tnsnames.ora file on these two machines(or one machine) 
should
contain SERVER=DEDICATED line. Maybe only 
application box can use shared-mode(server=shared).
example: 
SHAGGY = (DESCRIPTION 
= (ADDRESS_LIST = 
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.25)(PORT = 
1521)) ) (CONNECT_DATA 
= (SERVICE_NAME = 
SHAGGY) (server = 
dedicated) ) )

Kevin Wang

  - Original Message - 
  From: 
  Daiminger, Helmut 
  To: Multiple recipients of list ORACLE-L 
  
  Sent: Wednesday, December 19, 2001 5:25 
  AM
  Subject: How to backup MTS database with 
  RMAN
  
  Hi! 
  Since I'm pretty new to RMAN I have a rather basic 
  question: is it possible to backup databases running in multithreaded server 
  mode with RMAN? Or does this have to be dedicated server mode?
  $ rman target sys/@kpmgi rcvcat rman/x@admserv 
  Recovery Manager: Release 8.1.7.2.0 - 
  Production 
  RMAN-06005: connected to target database: 
  KPMGI (DBID=3995384462) RMAN-06008: 
  connected to recovery catalog database 
  RMAN register database; 
  RMAN-03022: compiling command: 
  register RMAN-03023: executing 
  command: register RMAN-08006: 
  database registered in recovery catalog RMAN-03023: executing command: full resync RMAN-03026: error recovery releasing channel 
  resources RMAN-00571: 
  === RMAN-00569: === ERROR MESSAGE STACK 
  FOLLOWS === RMAN-00571: 
  === RMAN-07005: error during channel cleanup 
  RMAN-07004: unhandled exception during 
  command execution on channel default RMAN-10035: exception raised in RPC: ORA-19550: cannot use 
  backup/restore functions while using dispatcher RMAN-10031: ORA-19550 occurred during call to 
  DBMS_BACKUP_RESTORE.CFILEUSECURRENT RMAN-03008: error while performing automatic resync of recovery 
  catalog RMAN-07004: unhandled 
  exception during command execution on channel default RMAN-10035: exception raised in RPC: ORA-19550: 
  cannot use backup/restore functions while using dispatcher RMAN-10031: ORA-19550 occurred during call to 
  DBMS_BACKUP_RESTORE.CFILEMAKEANDUSESNAPSHOT 
  Do I just have to take out mts_dispatchers = 
  "(protocol=TCP)" from the init.ora file? 
  This is 8.1.7.2.0 on Sun Solaris. 
  Thanks, Helmut 


RE: How to backup MTS database with RMAN

2001-12-19 Thread Mercadante, Thomas F
Title: How to backup MTS database with RMAN



Helmut,

From 
the Oracle Documentation:

To use RMAN with an MTS 
database:
Net8 configuration varies greatly 
from system to system. The following procedure illustrates only one method. 

This scenario assumes that the 
following net service name in the tnsnames.ora file connects to the target 
database using the MTSarchitecture, where inst1 is a value of the 
SERVICE_NAMES initialization parameter: 

inst1_mts = 
(description= 
(address=(protocol=tcp)(host=inst1_host)(port1521)) 
(connect_data=(service_name=inst1)(server=shared)) ) 

 1.Create a net service 
name in the tnsnames.ora file that connects to the non-shared SID. For example, 
enter: 
 inst1_ded 
= 
(description= 
(address=(protocol=tcp)(host=inst1_host)(port1521)) 
(connect_data=(service_name=inst1)(server=dedicated)) 
)
 2.Connect using 
SQL*Plus using both the MTS and dedicated service names to confirm the mode of 
each session. For example, toconnect 
to a dedicated session you can issue: 

 SQL 
connect sys/oracle@inst1_ded 
Connected. SQL SELECT server FROM v$session 
WHERE sid = (SELECT DISTINCT sid FROM v$mystat);

 
SERVER  
- DEDICATED 1 
row selected.

To connect to an MTS session, you can 
issue: 

SQL connect 
sys/oracle@inst1_mtsConnected.SQL SELECT server FROM v$session WHERE 
sid = (SELECT DISTINCT sid FROM v$mystat);

SERVER 
-SHARED 1 row selected.
 Connect to the target database 
(and optionally the recovery catalog) using the dedicated service name. For 
example, enter: 

% rman target sys/oracle@inst1_ded 
catalog rman/rman@rcat
HTH
Tom 
Mercadante Oracle Certified 
Professional 

  -Original Message-From: Daiminger, Helmut 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 
  19, 2001 8:25 AMTo: Multiple recipients of list 
  ORACLE-LSubject: How to backup MTS database with 
  RMAN
  Hi! 
  Since I'm pretty new to RMAN I have a rather basic 
  question: is it possible to backup databases running in multithreaded server 
  mode with RMAN? Or does this have to be dedicated server mode?
  $ rman target sys/@kpmgi rcvcat 
  rman/x@admserv 
  Recovery Manager: Release 8.1.7.2.0 - 
  Production 
  RMAN-06005: connected to target database: 
  KPMGI (DBID=3995384462) RMAN-06008: 
  connected to recovery catalog database 
  RMAN register database; 
  RMAN-03022: compiling command: 
  register RMAN-03023: executing 
  command: register RMAN-08006: 
  database registered in recovery catalog RMAN-03023: executing command: full resync RMAN-03026: error recovery releasing channel 
  resources RMAN-00571: 
  === RMAN-00569: === ERROR MESSAGE STACK 
  FOLLOWS === RMAN-00571: 
  === RMAN-07005: error during channel cleanup 
  RMAN-07004: unhandled exception during 
  command execution on channel default RMAN-10035: exception raised in RPC: ORA-19550: cannot use 
  backup/restore functions while using dispatcher RMAN-10031: ORA-19550 occurred during call to 
  DBMS_BACKUP_RESTORE.CFILEUSECURRENT RMAN-03008: error while performing automatic resync of recovery 
  catalog RMAN-07004: unhandled 
  exception during command execution on channel default RMAN-10035: exception raised in RPC: ORA-19550: 
  cannot use backup/restore functions while using dispatcher RMAN-10031: ORA-19550 occurred during call to 
  DBMS_BACKUP_RESTORE.CFILEMAKEANDUSESNAPSHOT 
  Do I just have to take out mts_dispatchers = 
  "(protocol=TCP)" from the init.ora file? 
  This is 8.1.7.2.0 on Sun Solaris. 
  Thanks, Helmut 


Re: How to backup MTS database with RMAN

2001-12-19 Thread kevin wang
Title: How to backup MTS database with RMAN



Hi, Hulmet,
I tried. To use RMAN on MTS database 
environment, both database server machine and the RMAN machine(the machine you 
run RMAN on it) should use dedicated server mode instead of shared mode. It 
means the tnsnames.ora file on these two machines(or one machine) 
should
contain SERVER=DEDICATED line. Maybe only 
application box can use shared-mode(server=shared).
example: 
SHAGGY = (DESCRIPTION 
= (ADDRESS_LIST = 
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.25)(PORT = 
1521)) ) (CONNECT_DATA 
= (SERVICE_NAME = 
SHAGGY) (server = 
dedicated) ) )

Kevin Wang




  - Original Message - 
  From: 
  Daiminger, Helmut 
  To: Multiple recipients of list ORACLE-L 
  
  Sent: Wednesday, December 19, 2001 5:25 
  AM
  Subject: How to backup MTS database with 
  RMAN
  
  Hi! 
  Since I'm pretty new to RMAN I have a rather basic 
  question: is it possible to backup databases running in multithreaded server 
  mode with RMAN? Or does this have to be dedicated server mode?
  $ rman target sys/@kpmgi rcvcat rman/x@admserv 
  Recovery Manager: Release 8.1.7.2.0 - 
  Production 
  RMAN-06005: connected to target database: 
  KPMGI (DBID=3995384462) RMAN-06008: 
  connected to recovery catalog database 
  RMAN register database; 
  RMAN-03022: compiling command: 
  register RMAN-03023: executing 
  command: register RMAN-08006: 
  database registered in recovery catalog RMAN-03023: executing command: full resync RMAN-03026: error recovery releasing channel 
  resources RMAN-00571: 
  === RMAN-00569: === ERROR MESSAGE STACK 
  FOLLOWS === RMAN-00571: 
  === RMAN-07005: error during channel cleanup 
  RMAN-07004: unhandled exception during 
  command execution on channel default RMAN-10035: exception raised in RPC: ORA-19550: cannot use 
  backup/restore functions while using dispatcher RMAN-10031: ORA-19550 occurred during call to 
  DBMS_BACKUP_RESTORE.CFILEUSECURRENT RMAN-03008: error while performing automatic resync of recovery 
  catalog RMAN-07004: unhandled 
  exception during command execution on channel default RMAN-10035: exception raised in RPC: ORA-19550: 
  cannot use backup/restore functions while using dispatcher RMAN-10031: ORA-19550 occurred during call to 
  DBMS_BACKUP_RESTORE.CFILEMAKEANDUSESNAPSHOT 
  Do I just have to take out mts_dispatchers = 
  "(protocol=TCP)" from the init.ora file? 
  This is 8.1.7.2.0 on Sun Solaris. 
  Thanks, Helmut