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

📄 appf_ocm.htm

📁 Debian中文参考手册,系统介绍了Debian系统
💻 HTM
📖 第 1 页 / 共 3 页
字号:
</h3>
<p>To start the Watchdog daemon, enter the following:
</p>
<pre>&#036; su root
&#035; cd &#036;ORALE&#095;HOME&#047;oracm&#047;bin
&#035; watchdogd

</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>Always start the Watchdog daemon as the <code>root</code> user.
</td>
</tr></tbody>
</table><br />
<p>The default Watchdog daemon log file is <code>&#036;ORACLE&#095;HOME&#047;oracm&#047;log&#047;wdd.log</code>. 
</p>
<p>The Watchdog daemon does not have configuration files. <a href="#g640035">Table F-1</a> describes the arguments that you can use when starting the Watchdog daemon.
</p><a id="sthref775" name="sthref775"></a><a id="g640035" name="g640035"></a>
<p><strong><em><font face="arial, helvetica, sans-serif">Table F-1 Watchdogd Daemon Arguments 
</font></em></strong></p>
<table title="Watchdogd Daemon Arguments " summary="This table describes the Watchdogd daemon arguments." 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>Argument
</strong></font></th>
<th id="r1c2" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Valid Values
</strong></font></th>
<th id="r1c3" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Default Value
</strong></font></th>
<th id="r1c4" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Description
</strong></font></th>
</tr>
</thead><tbody>
<tr align="left" valign="top">
<td id="r2c1" headers="r1c1" align="left" colspan="1" rowspan="1"><code>-l </code><em><code>number</code></em>
</td>
<td headers="r2c1 r1c2" align="left" colspan="1" rowspan="1">0 or 1
</td>
<td headers="r2c1 r1c3" align="left" colspan="1" rowspan="1">1
</td>
<td headers="r2c1 r1c4" align="left" colspan="1" rowspan="1">If the value is 0, no resources are registered for monitoring. This argument is used for debugging system configuration problems.If the value is 1, the Cluster Managers are registered for monitoring. Oracle Corporation recommends using this option for normal operations.
</td>
</tr>
<tr align="left" valign="top">
<td id="r3c1" headers="r1c1" align="left" colspan="1" rowspan="1"><code>-m </code><em><code>number</code></em>
</td>
<td headers="r3c1 r1c2" align="left" colspan="1" rowspan="1">5000 to 180000 ms
</td>
<td headers="r3c1 r1c3" align="left" colspan="1" rowspan="1">5000
</td>
<td headers="r3c1 r1c4" align="left" colspan="1" rowspan="1">The Watchdog daemon expects to receive heartbeat messages from all clients (<code>oracm</code> threads) within the time specified by this value. If a client fails to send a heartbeat message within this time, the Watchdog daemon stops sending heartbeat message to the kernel Watchdog timer, causing the system to reset. 
</td>
</tr>
<tr align="left" valign="top">
<td id="r4c1" headers="r1c1" align="left" colspan="1" rowspan="1"><code>-d </code><em><code>string</code></em>
</td>
<td headers="r4c1 r1c2" align="left" colspan="1" rowspan="1">
<br />
</td>
<td headers="r4c1 r1c3" align="left" colspan="1" rowspan="1"><code>&#047;dev&#047;watchdog</code>
</td>
<td headers="r4c1 r1c4" align="left" colspan="1" rowspan="1">Path of the device file for the Watchdog timer.
</td>
</tr>
<tr align="left" valign="top">
<td id="r5c1" headers="r1c1" align="left" colspan="1" rowspan="1"><code>-e </code><em><code>string</code></em>
</td>
<td headers="r5c1 r1c2" align="left" colspan="1" rowspan="1">
<br />
</td>
<td headers="r5c1 r1c3" align="left" colspan="1" rowspan="1"><code>&#036;ORACLE&#095;HOME&#047;oracm&#047;log&#047;wdd.log</code>
</td>
<td headers="r5c1 r1c4" align="left" colspan="1" rowspan="1">Filename of the Watchdog daemon log file.
</td>
</tr></tbody>
</table>
</div class="sect2"><a id="i638965" name="i638965"></a>
<div class="sect2">
<!--
infolevel=all
infotype=general
--><a id="sthref776" name="sthref776"></a>
<h3>
<font face="arial, helvetica, sans-serif" color="#330099">
Configuring the Cluster Manager<a id="sthref777" name="sthref777"></a>
</font>
</h3>
<p>You must create the <code>&#036;ORACLE&#095;HOME&#047;oracm&#047;admin&#047;cmcfg.ora</code> Cluster Manager configuration file on each node of the cluster before starting OCMS. Include the following parameters in this file: 
</p>
<ul>
<li type="disc">
<p>PublicNodeNames
</p>
</li>
<li type="disc">
<p>PrivateNodeNames
</p>
</li>
<li type="disc">
<p>CmDiskFile
</p>
</li>
<li type="disc">
<p>WatchdogTimerMargin
</p>
</li>
<li type="disc">
<p>HostName
</p>
</li>
</ul>
<p>Before creating the <code>cmcfg.ora</code> file, verify that the <code>&#047;etc&#047;hosts</code> file on each node of the cluster has an entry for the public network (public name) and an entry for the private network (private name for each node). The private network is used by the Oracle9<em>i</em> Real Application Clusters internode communication. The CmDiskFile parameter defines the location of the Cluster Manager quorum partition. The CmDiskFile parameter on each node in a cluster must specify the same quorum partition.
</p>
<p>The following example shows a <code>cmcfg.ora</code> file on the first node of a four node cluster:
</p>
<pre>PublicNodeNames&#061;pubnode1 pubnode2 pubnode3 pubnode4
PrivateNodeNames&#061;prinode1 prinode2 prinode3 prinode4
CmDiskFile&#061;&#047;dev&#047;raw1
WatchdogTimerMargin&#061;1000
HostName&#061;prinode1

</pre>
<p><a href="#g639928">Table F-2</a> lists all of the configurable Cluster Manager parameters in the <code>cmcfg.ora</code> file.
</p><a id="sthref778" name="sthref778"></a><a id="g639928" name="g639928"></a>
<p><strong><em><font face="arial, helvetica, sans-serif">Table F-2 Cluster Manager Parameters of the cmcfg.oraFile 
</font></em></strong></p>
<table title="Cluster Manager Parameters of the cmcfg.oraFile " summary="This table describes the Node Monitor parameters of the nmcfg.ora file." 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>Parameter
</strong></font></th>
<th id="r1c2" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Valid Values
</strong></font></th>
<th id="r1c3" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Default Value
</strong></font></th>
<th id="r1c4" align="left" colspan="1" rowspan="1" valign="bottom">
<font face="Arial, Helvetica, sans-serif">
<strong>Description
</strong></font></th>
</tr>
</thead><tbody>
<tr align="left" valign="top">
<td id="r2c1" headers="r1c1" align="left" colspan="1" rowspan="1">CmDiskFile
</td>
<td headers="r2c1 r1c2" align="left" colspan="1" rowspan="1">Directory path, up to 256 characters in length
</td>
<td headers="r2c1 r1c3" align="left" colspan="1" rowspan="1">No default value. You must set the value explicitly.
</td>
<td headers="r2c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the pathname of the quorum partition.
</td>
</tr>
<tr align="left" valign="top">
<td id="r3c1" headers="r1c1" align="left" colspan="1" rowspan="1">MissCount
</td>
<td headers="r3c1 r1c2" align="left" colspan="1" rowspan="1">2 to 1000
</td>
<td headers="r3c1 r1c3" align="left" colspan="1" rowspan="1">5
</td>
<td headers="r3c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the time that the Cluster Manager waits for a heartbeat from the remote node before declaring that node inactive. The time in seconds is determined by multiplying the value of the MissCount parameter by 3.
</td>
</tr>
<tr align="left" valign="top">
<td id="r4c1" headers="r1c1" align="left" colspan="1" rowspan="1">PublicNodeNames
</td>
<td headers="r4c1 r1c2" align="left" colspan="1" rowspan="1">List of host names, up to 4096 characters in length
</td>
<td headers="r4c1 r1c3" align="left" colspan="1" rowspan="1">No default value.
</td>
<td headers="r4c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the list of all host names for the public network, separated by spaces. List host names in the same order on each node. 
</td>
</tr>
<tr align="left" valign="top">
<td id="r5c1" headers="r1c1" align="left" colspan="1" rowspan="1">PrivateNodeNames
</td>
<td headers="r5c1 r1c2" align="left" colspan="1" rowspan="1">List of host names, up to 4096 characters in length
</td>
<td headers="r5c1 r1c3" align="left" colspan="1" rowspan="1">No default value.
</td>
<td headers="r5c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the list of all host names for the private network, separated by spaces. List host names in the same order on each node.
</td>
</tr>
<tr align="left" valign="top">
<td id="r6c1" headers="r1c1" align="left" colspan="1" rowspan="1">HostName
</td>
<td headers="r6c1 r1c2" align="left" colspan="1" rowspan="1">A host name, up to 256 characters in length
</td>
<td headers="r6c1 r1c3" align="left" colspan="1" rowspan="1">No default value.
</td>
<td headers="r6c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the local host name for the private network. Define this name in the <code>&#047;etc&#047;hosts</code> file.
</td>
</tr>
<tr align="left" valign="top">
<td id="r7c1" headers="r1c1" align="left" colspan="1" rowspan="1">ServiceName
</td>
<td headers="r7c1 r1c2" align="left" colspan="1" rowspan="1">A service, up to 256 characters in length
</td>
<td headers="r7c1 r1c3" align="left" colspan="1" rowspan="1">CMSrvr
</td>
<td headers="r7c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the service name to be used for communication between Cluster Managers. If a Cluster Manager cannot find the service name in the <code>&#047;etc&#047;services</code> file, it uses the port specified by the ServicePort parameter.
<p>ServiceName is a fixed-value parameter in this release. Use the ServicePort parameter if you need to choose an alternative port for the Cluster Manager to use.
</p>
</td>
</tr>
<tr align="left" valign="top">
<td id="r8c1" headers="r1c1" align="left" colspan="1" rowspan="1">ServicePort
</td>
<td headers="r8c1 r1c2" align="left" colspan="1" rowspan="1">Any valid port number
</td>
<td headers="r8c1 r1c3" align="left" colspan="1" rowspan="1">9998
</td>
<td headers="r8c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the number of the port to be used for communication between cluster managers when the ServiceName parameter does not specify a service.
</td>
</tr>
<tr align="left" valign="top">
<td id="r9c1" headers="r1c1" align="left" colspan="1" rowspan="1">WatchdogTimerMargin
</td>
<td headers="r9c1 r1c2" align="left" colspan="1" rowspan="1">1000 to 180000ms
</td>
<td headers="r9c1 r1c3" align="left" colspan="1" rowspan="1">No default value
</td>
<td headers="r9c1 r1c4" align="left" colspan="1" rowspan="1">The same as the value of the soft&#095;margin parameter specified at Linux <code>softdog</code> startup. The value of the soft&#095;margin parameter is specified in seconds and the value of the WatchdogTimerMargin parameter is specified in milliseconds. 
<p>This parameter is part of the formula that specifies the time between when the Cluster Manager on the local node detects an Oracle instance failure or join on any node and when it reports the cluster reconfiguration to the Oracle instance on the local node. See <a href="#i635111">"Configuring Timing for Cluster Reconfiguration"</a> for information on this formula.
</p>
</td>
</tr>
<tr align="left" valign="top">
<td id="r10c1" headers="r1c1" align="left" colspan="1" rowspan="1">WatchdogSafetyMargin
</td>
<td headers="r10c1 r1c2" align="left" colspan="1" rowspan="1">1000 to 180000ms
</td>
<td headers="r10c1 r1c3" align="left" colspan="1" rowspan="1">5000ms
</td>
<td headers="r10c1 r1c4" align="left" colspan="1" rowspan="1">Specifies the time between when the cluster manager detects a remote node failure and when the cluster reconfiguration is started.This parameter is part of the formula that specifies the time between when the Cluster Manager on the local node detects an Oracle instance failure or join on any node and when it reports the cluster reconfiguration to the Oracle instance on the local node. See <a href="#i635111">"Configuring Timing for Cluster Reconfiguration"</a> for information on this formula.
</td>
</tr></tbody>
</table>
</div class="sect2"><a id="i633352" name="i633352"></a>
<div class="sect2">
<!--
infolevel=all
infotype=general
--><a id="sthref779" name="sthref779"></a>

⌨️ 快捷键说明

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