If you want to set up DG, set listener and TNS service, test tnsping, and Ping fails, the following error is reported.
[Grid @ Rac1 ~] $ Tnsping sharon_st
TNS Ping utility for Linux: Version 11.2.0.3.0-production on 30-jul-2013 22:18:29
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.56.8) (Port = 1521) (CONNECT_DATA = (Server = dedicated) (SERVICE_NAME = sharon_st )))
TNS-12543: TNS: destination host unreachable
[Oracle @ Rac1 ~] $ Oerr TNS 12543
12543,000 00, "TNS: Destination Host Unreachable"
// * Cause: contact can not be made with remote party.
// * Action: Make sure the network driver is functioning and the network is up.
After searching, it is found that the firewall is faulty and the firewall is enabled. As a result, other servers cannot tnsping the server.
Disable the firewall to enable tnsping.
[Grid @ Rac1 ~] $ Tnsping sharon_st
TNS Ping utility for Linux: Version 11.2.0.3.0-production on 30-jul-2013 22:19:26
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.56.8) (Port = 1521) (CONNECT_DATA = (Server = dedicated) (SERVICE_NAME = sharon_st )))
OK (10 msec)