MINI MINI MANI MO
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta name="OAC_IGNORE_SKIP_NAV" content="true" />
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Creating a Net Service Alias</title>
<meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Merged Version 1055" />
<meta name="date" content="2015-05-07T4:10:29Z" />
<meta name="robots" content="noarchive" />
<meta name="doctitle" content=" Oracle Database Network Manager Context-Sensitive Online Help, 12c Release 2 (12.2)" />
<meta name="relnum" content="12c Release 2 (12.2)" />
<meta name="partnum" content="E59368-01" />
<meta name="docid" content="no_value_supplied" />
<meta name="topic-id" content="nmhelp_create_an_alias" />
<link rel="copyright" href="./dcommon/html/cpyr.htm" title="Copyright" type="text/html" />
<link rel="stylesheet" href="./dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" />
</head>
<body>
<p><a id="nmhelp_create_an_alias" name="nmhelp_create_an_alias"></a></p>
<div class="sect1"><a id="sthref167" name="sthref167"></a>
<h1>Creating a Net Service Alias</h1>
<p><span class="bold">Notes:</span></p>
<ul>
<li>
<p>Only users that are members of either the OracleNetAdmins or the OracleContextAdmins group can create <a href="nmhelp_net_service_alias.htm">net service alias</a> entries in a <a href="n8ahelpdirectory_server.htm">directory</a>.</p>
</li>
<li>
<p>Net service aliases are not supported using Microsoft Active Directory.</p>
</li>
<li>
<p>You can export existing alias objects from an Oracle Names server. See the chapter <span class="italic">Exporting Naming Data to a Directory Server,</span> of the <span class="italic">Oracle10i Net Services Administrator's Guide</span> for further information.</p>
</li>
</ul>
<p>You can create net service aliases for directory naming objects-- <a href="n8ahelpnet_service_name.htm">net service names</a> or database services--in a directory server. A net service alias stores the name of the object it is referencing.</p>
<p>When a client requests a directory lookup of a net service alias, the directory determines that the entry is a net service alias and completes the lookup as if it is the referenced entry. For example, a net service alias of <code dir="ltr">salesalias</code> can be created for a net service name of <code dir="ltr">sales.</code> When <code dir="ltr">salesalias</code> is used to connect to a database service, as in <code dir="ltr">CONNECT scott/tiger@salesalias,</code> it will actually resolve to and use the connect descriptor information for <code dir="ltr">sales.</code></p>
<p>There are two main uses for net service name aliases:</p>
<ul>
<li>
<p>Use a net service name alias as a way for clients to refer to a database service or net service name by another name.</p>
</li>
<li>
<p>Use a net service name alias in one <a href="n8ahelporacle_context.htm">Oracle Context</a> for a database service or net service name in a different Oracle Context. This enables that database service or net service name to be defined once in the directory server, but used out of other Oracle Contexts.</p>
</li>
</ul>
<p>To create a net service name alias:</p>
<ol>
<li>
<p>In the navigator pane, expand <span class="bold">Oracle Net Configuration > Directory > Service Naming > Aliases.</span></p>
</li>
<li>
<p>Choose plus (+) from the toolbar, or choose <span class="bold">Edit > Create</span> from the menu bar. The <a href="nmhelp_create_net_service_alias.htm">Create Net Service Alias</a> dialog box appears.</p>
</li>
<li>
<p>In the <span class="bold">Net Service Alias</span> field, enter a name for the net service alias.</p>
</li>
<li>
<p>In the Net Service or Database Service box, enter the following information about the net service name or database service:</p>
<ul>
<li>
<p><span class="bold">Oracle Context:</span> Specify the Oracle Context of the database service or net service name by selecting one from the list or entering one in the field.</p>
</li>
<li>
<p><span class="bold">Name:</span> Specify the <a href="n8ahelpdistinguished_name_dn.htm">distinguished name (DN)</a> of the database service or net service name by selecting one from the list or entering one in the field.</p>
</li>
</ul>
</li>
<li>
<p>Choose <span class="bold">Create.</span></p>
</li>
</ol>
<p><span class="bold">Related Topics</span></p>
<p><a href="n8ahelpdatabase_identification_by_servi.htm">Database Identification by Service Name</a></p>
<p><a href="n8ahelpnet8_overview.htm">Oracle Net Services Overview</a></p>
</div>
<!-- class="sect1" -->
<!-- Start Footer -->
<div class="footer">
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" />
<col width="*" />
<tr>
<td align="left"><a href="./dcommon/html/cpyr.htm"><span class="copyrightlogo">Copyright © 1996, 2016, Oracle and/or its affiliates. All rights reserved.</span></a></td>
</tr>
</table>
</div>
<!-- class="footer" -->
</body>
</html>
OHA YOOOO