NFS: RPC Port Mapper サービスの状態

Microsoft.Windows.FileServices.Service.NFS.6.3.Portmap.ServiceState (UnitMonitor)

このオブジェクトは、RPC Port Mapper サービスの状態を監視し、サービスが開始されていないときにアラートを生成します (アラートが、このモニターに対して有効になっている場合)。

Knowledge Base article:

概要

このオブジェクトは、RPC Port Mapper サービスの状態を監視し、サービスが開始されていないときにアラートを生成します (アラートが、このモニターに対して有効になっている場合)。

RPC Port Mapper サービス (portmap または rpcbind) を使用すると、UNIX ベースのコンピューターが、Windows ベースのコンピューターで使用可能な UNIX 互換のサービスを検出できます。RPC Port Mapper サービスがなければ、NFS サーバーは起動できません。また、NFS クライアントがサーバー上のファイルにアクセスできません。

原因

このモニターは、RPC Port Mapper サービスが予期せずにまたは管理操作によって停止した場合に、警告ヘルス状態になる可能性があります。

ヘルス状態が不明な場合は、このオブジェクトの監視がまだ開始されていないことを示します。

注意 NFS サーバーおよび NFS サーバー ドライバーは、RPC Port Mapper サービスに依存しています。RPC Port Mapper サービスを停止すると、NFS サーバーとそのドライバーも停止します。

解決方法

RPC Port Mapper サービスを開始する

RPC Port Mapper サービスを開始するには、該当サーバーの管理者特権でのコマンド プロンプトで、「net start portmap」と入力します。

検証

RPC Port Mapper サービスの開始状態を確認するには、次の手順を使用します。

1. 該当サーバーの管理者特権でのコマンド プロンプトで、「devmgmt.msc」と入力します。

2. [表示] メニューの [非表示のデバイスの表示] をクリックします。

3. [プラグ アンド プレイではないドライバー] ノードを展開します。

4. [Server for NFS Open RPC (ONRPC) Portmapper] を右クリックし、[プロパティ] をクリックしてから、[デバイス] の状態を確認します。

RPC Port Mapper サービスの状態を確認するには、次の手順を使用します。

1. コマンド プロンプトで「sc query portmap」と入力します。

2. [STATE] が "RUNNING" であることを確認します。

NFS サーバーの状態を確認するには、次の手順を使用します。

1. コマンド プロンプトで「sc query >Microsoft-Windows-ServicesForNFS-Server」と入力します。

2. [STATE] が "RUNNING" であることを確認します。

このモニターは、NFS サーバーの再起動後に、正常な状態に自動的にリセットされます。

追加情報

NFS サーバーの構成の詳細については、「 NFS (Network File System) 用サービス」(http://go.microsoft.com/fwlink/?LinkId=185983) を参照してください。

Element properties:

TargetMicrosoft.Windows.FileServices.Service.NFS.6.3
Parent MonitorMicrosoft.Windows.FileServices.Service.NFS.6.3.Portmap
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
NFS: RPC Port Mapper サービスの状態
詳細については、アラートのコンテキストを参照してください。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.NFS.6.3.Portmap.ServiceState" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.NFS.6.3" ParentMonitorID="Microsoft.Windows.FileServices.Service.NFS.6.3.Portmap" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServices.Service.NFS.6.3.Portmap.ServiceState_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>Portmap</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>