$ tnsping std_HW3CP
TNS Ping Utility for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production on 16-OCT-2008 09:25:23
Copyright (c) 1997 Oracle Corporation.All rights reserved.
Used parameter files:
/data1/orahw3c/hw3cdb/9.2.0/network/admin/HW3C_h3cmr01-or/sqlnet_ifile.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=10.63.8.42)(PORT=1521)) (CONNECT_DATA= (SID=HW3C)))
OK (20 msec)
$ exit
Errors in file /data1/orahw3c/hw3cdb/9.2.0/admin/HW3C_h3cmr01-or/bdump/hw3c_arc1_5853552.trc:
ORA-12535: TNS
peration timed out
Creating archive destination LOG_ARCHIVE_DEST_1: '/oraarch/hw3c/redo_1_24494.dbf'
ARC0: Completed archivinglog 3 thread 1 sequence 24494
orahw3c@h3cmr01-or-HW3C> sqlplus apps/apps@std_HW3CP
SQL*Plus: Release 9.2.0.6.0 - Production on Thu Oct 16 09:36:13 2008
Copyright (c) 1982, 2002, Oracle Corporation.All rights reserved.
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied
orahw3c@h3cmr01-or-HW3C> ping 10.63.8.42
PING 10.63.8.42: (10.63.8.42): 56 data bytes
64 bytes from 10.63.8.42: icmp_seq=0 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=1 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=2 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=3 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=4 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=5 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=6 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=7 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=8 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=9 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=10 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=11 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=12 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=13 ttl=255 time=0 ms
64 bytes from 10.63.8.42: icmp_seq=14 ttl=255 time=0 ms
^C
----10.63.8.42 PING Statistics----
15 packets transmitted, 15 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
You have mail in /usr/spool/mail/orahw3c
并且standby open read only 是可以连的
select name,value from v$parameter where name like '%fal%';
select name,value from v$parameter where name like '%log%';
alter system set log_archive_dest_state_3=enable;
alter system set fal_client='std_HW3CP';
select *
from v$archive_dest_status
where status != 'INACTIVE';