<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
 <!-- page name="oraclenet"-->
 <template>
  <do optional="false" label="Back" type="prev">
   <prev/>
  </do>
 </template>
 <card ordered="true" newcontext="false" id="oraclenet1a">
  <do optional="false" type="options" label="Next">
   <go enctype="application/x-www-form-urlencoded" method="get" sendreferer="true" href="ibmzos.wml#ibmzos"/>
  </do>
  <!-- h1 -->
  <h1>Check TCP/IP connectivity to the remote system</h1>
  <p align="left">ping -c 1 <i>hostname</i>&#8203;PING <i>hostname.domain.com</i>: (10.1.1.3): 56 data bytes64 bytes from 10.1.1.3: icmp_seq=0 ttl=64 time=0 ms----<i>hostname.domain.com</i> PING Statistics----1 packets transmitted, 1 packets received, 0% packet loss</p>
  <!-- h1 -->
  <h1>Check Oracle service name resolution and connectivity</h1>
  <p>The <span class="code">tnsping</span> command shows the connect descriptor that an Oracle service name is resolves to, and tests the connection to the service. </p>
  <p align="left">tnsping <i>svcname</i>&#8203;Used LDAP adapter to resolve the aliasAttempting to contact (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<i>hostname</i>)(PORT=1521)))(CONNECT_DATA=(SID=<i>xxxx</i>))(HS=OK))OK (10 msec)</p>
  <p>
   <i>svcname</i> can be the name of a service that has been defined as a Net Service Name in the LDAP server (OID) using Oracle Net Manager (<span class="code">oidadmin</span>). The details of LDAP entries can also be displayed and/or modified using Oracle Directory Manager (<span class="code">oidadmin</span>). <i>svcname</i> can also be a service name defined locally using the <span class="outlined">Local Net Service Name configuration</span> option of the Oracle Net Configuration Assistant. </p>
  <p align="left">
   <a href="ibmzos.wml#ibmzos">Next: Page 2</a>
   <br/>
   <a href="index.wml">Back Up: Oracle</a>
   <br/>
  </p>
 </card>
</wml>

