⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch5_net.htm

📁 Debian中文参考手册,系统介绍了Debian系统
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<p>Change the value of the MANAGER parameter to the IP address or hostname of the system where you want SNMP trap messages sent. 
</p>
<p>You can also make other changes to the <code>CONFIG.master</code> file as documented within the file.
</p>
</li>
<li>
<p>On AIX systems only, add the following line to the <code>&#047;etc&#047;snmpd.conf</code> file, where <em><code>ip&#095;address</code></em> is the IP address of the Oracle subagent:
</p>
<pre>smux 0.0 " " <em>ip&#095;address</em>

</pre>
</li>
</ol>
</div class="sect2">
<div class="sect2">
<!--
infolevel=all
infotype=general
--><a id="sthref587" name="sthref587"></a>
<h3>
<font face="arial, helvetica, sans-serif" color="#330099">
Configure the Encapsulator<a id="sthref588" name="sthref588"></a><a id="sthref589" name="sthref589"></a><a id="sthref590" name="sthref590"></a>
</font>
</h3>
<p>To configure the encapsulator, perform the following steps:
</p>
<ol type="1" start="1">
<li>
<p>Add the following line to the <code>snmpd.conf</code> file, where <em><code>hostname&#095;or&#095;IP&#095;address</code></em> represents the local system IP address or host name:
</p>
<pre>trap <em>hostname&#095;or&#095;IP&#095;address</em>

</pre>
</li>
<li>
<p>On AIX systems only, modify the port numbers specified for the NEW&#095;SNMPD&#095;PORT and NEW&#095;TRAPD&#095;PORT variables in the <code>start&#095;peer</code> script, if necessary. 
</p>
<p>The port number specified for the NEW&#095;SNMPD&#095;PORT variable must be different to the port number specified for the NEW&#095;TRAPD&#095;PORT variable.
</p>
</li>
<li>
<p>On all platforms except AIX, complete the following steps:
</p>
<ol type="a">
<li>
<p>If necessary, modify the port number specified in the <code>CONFIG.encap</code> file. The default port number is 1161.
</p>
</li>
<li>
<p>If you modified the port number in step a, change the value specified for the NEW&#095;SNMPD&#095;PORT variable in the <code>start&#095;peer</code> script to this port number.
</p>
</li>
<li>
<p>If necessary, modify the value specified for the NEW&#095;TRAPD&#095;PORT variable. 
</p>
<p>This variable specifies the PEER encapsulator port to which the <code>snmpd</code> agent sends traps. This port number must be different to the port number specified for the NEW&#095;SNMPD&#095;PORT variable.
</p>
</li>
</ol>
</li>
</ol>
</div class="sect2">
<div class="sect2">
<!--
infolevel=all
infotype=general
--><a id="sthref591" name="sthref591"></a>
<h3>
<font face="arial, helvetica, sans-serif" color="#330099">
Verify the Location of the SNMP Daemon in the start&#095;peer Script <a id="sthref592" name="sthref592"></a><a id="sthref593" name="sthref593"></a><a id="sthref594" name="sthref594"></a>
</font>
</h3>
<p>The <code>start&#095;peer</code> script contains a line similar to the following, where <em><code>snmpd&#095;executable&#095;path</code></em> is the path of the <code>snmpd</code> executable:
</p>
<pre>SNMPD&#061;<em>snmpd&#095;executable&#095;path</em>

</pre>
<p>Make sure that <em><code>snmpd&#095;executable&#095;path</code></em> is the location of the <code>snmpd</code> executable on your system. 
</p>
</div class="sect2">
<div class="sect2">
<!--
infolevel=all
infotype=general
--><a id="sthref595" name="sthref595"></a>
<h3>
<font face="arial, helvetica, sans-serif" color="#330099">
Start the SNMP Components
</font>
</h3>
<p>To start the SNMP components, perform the following steps:
</p>
<ol type="1" start="1">
<li>
<p>Enter the following commands to verify that the SNMP components (<code>master&#095;peer</code>, <code>encap&#095;peer</code>, and <code>snmpd</code>) are <em>not</em> running: 
</p>
<pre>&#036; ps -aef &#124; grep peer
&#036; ps -aef &#124; grep snmp

</pre>
<p>&thinsp;If any of the components are running, log in as the <code>root</code> user and use the <code>kill</code> command to terminate the processes before proceeding.
</p>
</li>
<li>
<p>On AIX systems only, enter the following command as the <code>root</code> user to start the native AIX SNMP agent: 
</p>
<pre>&#035; startsrc -s snmpd "-f &#047;tmp&#047;snmpd.log"

</pre>
<p>This command starts the SNMP daemon and logs information in the <code>&#047;tmp&#047;snmpd.log</code> file.
</p>
</li>
<li>
<p>On all platforms except AIX, complete the following steps:
</p>
<ol type="a">
<li>
<p>As the <code>root</code> user, run the <code>start&#095;peer</code> script to start the PEER master agent, PEER encapsulator, and native UNIX SNMP agent: 
</p>
<pre>&#035; cd &#036;ORACLE&#095;HOME&#047;network&#047;snmp&#047;peer
&#035; .&#047;start&#095;peer -a

</pre>
<br /><table summary="This is a layout table to format a note" title="This is a layout table to format a note" dir="ltr" border="1" width="80%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"><tbody>
<tr>
<td align="left" colspan="1" rowspan="1">
<p>
<font face="arial, helvetica, sans-serif">
<strong>Note:</strong>
</font>
</p>If you do not have the native UNIX SNMP agent on your system, yo must <em>not</em> use the PEER encapsulator. To start the master agent only, enter <code>start&#095;peer -m</code>.
</td>
</tr></tbody>
</table><br />
</li>
<li>
<p>Enter the following commands to verify that the SNMP components are running:
</p>
<pre>&#035; ps -aef &#124; grep peer 
&#035; ps -aef &#124; grep snmp 

</pre>
</li>
</ol>
</li>
</ol>
</div class="sect2">
<div class="sect2">
<!--
infolevel=all
infotype=general
--><a id="sthref596" name="sthref596"></a>
<h3>
<font face="arial, helvetica, sans-serif" color="#330099">
Configure and Start the Database Subagent
</font>
</h3>
<p>For information on configuring and starting the database subagent (the Oracle Intelligent Agent), see the <em>Oracle Enterprise Manager Configuration Guide</em>.
</p>
</div class="sect2">
</div class="sect1"><a id="i26528" name="i26528"></a>
<div class="sect1">
<!--
infolevel=all
infotype=general
--><a id="sthref597" name="sthref597"></a>
<h2>
<font face="arial, helvetica, sans-serif" color="#330099">Oracle Advanced Security<a id="sthref598" name="sthref598"></a><a id="sthref599" name="sthref599"></a>
</font>
</h2>
<p>When you install Oracle Advanced Security, three <code>.bak</code> files are created: <code>naeet.o.bak</code>, <code>naect.o.bak</code>, and <code>naedhs.o.bak</code>. These files are located in the <code>&#036;ORACLE&#095;HOME&#047;lib</code> directory. They are required for relinking during deinstallation of Oracle Advanced Security. Do not delete them.
</p>
</div class="sect1"><a id="CHDCDFJF" name="CHDCDFJF"></a>
<div class="sect1"><a id="sthref600" name="sthref600"></a>
<h2>
<font face="arial, helvetica, sans-serif" color="#330099">Calling 32-Bit External Procedures from PL&#047;SQL (AIX, HP, and Solaris 64-Bit Only)
</font>
</h2>
<p>The 64-bit Extproc executable (extproc) and the 32-bit Extproc executable (<code>extproc32)</code> are installed in the <code>&#036;ORACLE&#095;HOME&#047;bin</code> directory. By default, the <code>extproc</code> executable is enabled to run 64-bit external procedures. To enable 32-bit external procedures:
</p>
<ol type="1" start="1">
<li>
<p>Set the value of the PROGRAM parameter in the <code>listener.ora</code> file: 
</p>
<pre>(PROGRAM&#061;extproc32)

</pre>
</li>
<li>
<p>Include the <code>&#036;ORACLE&#095;HOME&#047;lib32</code> directory in one of the following environment variables, depending on your platform:
</p>
<table title="Path environment variables." summary="Lists the path environment variables for AIX, HP, and Solaris 64-bit." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<thead>
<tr align="left" valign="top">
<th id="r1c1" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Platform
</strong></font></th>
<th id="r1c2" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Environment Variable
</strong></font></th>
</tr>
</thead><tbody>
<tr align="left" valign="top">
<td id="r2c1" headers="r1c1" align="left" colspan="1" rowspan="1">AIX
</td>
<td headers="r2c1 r1c2" align="left" colspan="1" rowspan="1">LIBPATH
</td>
</tr>
<tr align="left" valign="top">
<td id="r3c1" headers="r1c1" align="left" colspan="1" rowspan="1">HP
</td>
<td headers="r3c1 r1c2" align="left" colspan="1" rowspan="1">SHLIB&#095;PATH
</td>
</tr>
<tr align="left" valign="top">
<td id="r4c1" headers="r1c1" align="left" colspan="1" rowspan="1">Solaris 64-bit
</td>
<td headers="r4c1 r1c2" align="left" colspan="1" rowspan="1">LD&#095;LIBRARY&#095;PATH
</td>
</tr></tbody>
</table>
</li>
<li>
<p>Shut down and restart the listener. 
</p>
<div align="center">
<br /><table summary="This is a layout table to format a note" title="This is a layout table to format a note" dir="ltr" border="1" width="80%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"><tbody>
<tr>
<td align="left" colspan="1" rowspan="1">
<p>
<font face="arial, helvetica, sans-serif">
<strong>Note:</strong>
</font>
</p>You can configure the listener to run either 32-bit or 64-bit external procedures, but not both at the same time. 
</td>
</tr></tbody>
</table><br />
</div>
</li>
</ol>
</div class="sect1">
</p>
</div>
<!-- Start Footer -->
<div>
<hr />
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td valign="bottom" width="33%">
<table cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<a href="ch4_comp.htm">
<img src="../Support/gifs/larrow.gif" alt="Previous" border="0" height="30" width="30"></a>
</td>
<td align="center">
<a href="appa_aix.htm">
<img src="../Support/gifs/rarrow.gif" alt="Next" border="0" height="30" width="30"></a>
</td>
</tr>
</table>
</td>
<td align="center" width="34%">
<a href="../Support/html/cpyr.htm">
<img src="../Support/gifs/oracle.gif" alt="Oracle Logo" border="0"><br />
<font size="-2">Copyright&nbsp;&copy;&nbsp;1996, 2002&nbsp;Oracle&nbsp;Corporation</font></a>
<br />
<font size="-2">All&nbsp;rights&nbsp;reserved</font>
</td>
<td valign="bottom" align="right" width="33%">
<table cellspacing="0" cellpadding="0" width="144">
</tr>

<td align="center" valign="top" width="25%"><a href="toc.htm"><img src="../Support/gifs/conticon.gif" alt="Go To Table Of Contents" border="0" height="30" width="30"><br /><font size="-2">Contents</font></a></td>

<td align="center" valign="top" width="25%"><a href="index.htm"><img src="../Support/gifs/indxicon.gif" alt="Go To Index" border="0" height="30" width="30"><br /><font size="-2">Index</font></a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -