[Root @ Rac1 admin] # tnsping rac2
TNS Ping utility for Linux: Version 11.2.0.3.0-production on 19-jul-2013 20:40: 45
Copyright (c) 1997,201 1, Oracle. All rights reserved.
Used parameter files:
/U01/APP/GRID/11.2.0/Network/admin/sqlnet. ora
TNS-03505: failure to resolve name
The tnsnames. ora file is sensitive and multiple spaces in it may cause a TNS-03505 error. Therefore, it is best to use the netca or netmgr tool to configure tsping.
[Oracle @ Rac1 admin] $ tnsping rac2
TNS Ping utility for Linux: Version 11.2.0.3.0-production on 19-jul-2013 20:54:41
Copyright (c) 1997,201 1, Oracle. All rights reserved.
Used parameter files:
Used tnsnames adapter to resolve the alias
Attempting to contact (description = (address_list = (address = (Protocol = TCP) (host = 192.168.1.203) (Port = 1521) (CONNECT_DATA = (Server = dedicated) (SERVICE_NAME = RAC) (instance_name = rac2 )))
OK (140 msec)