not connected to auxiliary database with a net service name
Bonjour,
Au moment de la réinitialisation rman de dataguard, j'ai:
Code:
1 2 3 4 5 6
| RMAN-00571: ==================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ================================================
RMAN-03002: failure of Duplicate Db command at
RMAN-05501: aborting duplication of target database
RMAN-06217: not connected to auxiliary database with a net service name |
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| [oracle]$ rman
Recovery Manager: Release 11.2.0.3.0 - Production
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN> connect target sys/*****@PRDTST
connected to target database: PRODTST (DBID=3445454)
RMAN> connect auxiliary sys/******
connected to auxiliary database: PRODTST (not mounted)
RMAN> run
2> {
3> duplicate target database for standby from active database
4> spfile
5> parameter_value_convert 'PRODTST','PRDSTBY'
6> set db_unique_name='PRDSTBY'
7> set fal_client='PRDSTBY'
8> set fal_server='PRODTST'
9> set standby_file_management='auto'
10> set log_archive_config='dg_config=(PRODTST,PRDSTBY)'
11> set log_archive_dest_2='service=PRODTST async valid_for=(online_logfile, primary_role) db_unique_name=PRODTST'
12> set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=server)(PORT=1541))))';
13> }
Starting Duplicate
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command
RMAN-05501: aborting duplication of target database
RMAN-06217: not connected to auxiliary database with a net service name
[oracle]$ tnsping PRDSTBY
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on 15:46:51
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
..
(CONNECT_DATA = (SERVICE_NAME = PRDSTBY)))
OK (0 msec)
[oracle]$ tnsping PRODTST
TNS Ping Utility for Linux: Version 11.2.0.3.0 - Production on
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
..
(CONNECT_DATA = (SERVICE_NAME = PRODTST)))
OK (0 msec) |
Le server Oracle est sur un Linux.
Comment verifier si le transfert de fichier entre mes 2 servers se passe bien ?
Merci.