VMware vCenter Server Appliance 6.x のサービスの停止、開始、再起動
search cancel

VMware vCenter Server Appliance 6.x のサービスの停止、開始、再起動

book

Article ID: 324572

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

この記事では、vCenter Server Appliance の各種サービスを停止、起動、または再起動するための手順を説明します。
 
トラブルシューティングおよびメンテナンスを目的とした場合は、VMware Virtual Center Server、VMware vSphere Web Client、または VMware Directory Service などの、VMware vCenter Server Appliance サービスのステータスの変更が必要となる場合があります。

Symptoms:
免責事項:これは英文の記事「Stopping, starting, or restarting VMware vCenter Server Appliance 6.x services (2109887)」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。

Environment

VMware vCenter Server 7.0.x

Resolution

VMware vCenter Server 6.0 以降の場合、VMware では、vCenter Server Appliance の各種サービスを停止、開始、再起動する際に vSphere Web Client またはサービス コントロール コマンドライン ツールを使用することをお勧めしています。vCenter Server Appliance の旧バージョンの場合は、手順が異なります。

Windows にインストールされた vCenter Server 6.x については 「Stop, Start or Restart vCenter Server and Platform Services Controller services (2109881) 」を参照してください。

vCenter Server の前のバージョンについては、「Stopping, starting, or restarting vCenter Server Appliance services (2054085)」を参照してください。

vCenter Server Appliance サービスの一覧表示、起動、停止、再起動は以下を参照してください。

  • vCenter Server Appliance サービスの一覧表示

  • vCenter Server Appliance サービスの起動

  • vCenter Server Appliance サービスの停止

  • vCenter Server または Platform Services Controller(またはその両方)の各種サービスの再起動


vCenter Server Appliance サービスの一覧表示

vSphere Web Client 内の vCenter Server Appliance の各種サービスを一覧表示するには、次の手順を実行します。
  1. vCenter Single Sign-On 管理者アカウントで vSphere Web Client にログインします。
  2. [管理] > [デプロイ] > [システム構成] に移動します。
  3. [ノード] をクリックし、vCenter Server Appliance ノードを選択して、[関連オブジェクト] タブをクリックします。
コマンドラインを使用して vCenter Server Appliance の各種サービスを一覧表示するには、次の手順を実行します。
  1. vCenter Server Appliance で、SSH またはコンソール セッション経由で root としてログインします。
  2. 次のコマンドを実行して、シェルを有効にします。

    shell.set --enabled true
     
  3. 次のコマンドを実行して、シェルを起動します。

    shell
     
  4. 以下のコマンドを実行して、ディレクトリを /bin に変更します。

    cd /bin
     
  5. 次のコマンドを実行して vCenter Server Appliance の各種サービスを一覧表示します。

    service-control --list
     
  6. vCenter Server Appliance の各種サービスの現在のステータスを表示するには、次のコマンドを入力します。

    service-control --status
     

vCenter Server Appliance サービスの起動

vSphere Web Client を使用して停止している vCenter Server Appliance サービスを起動するには:
  1. vCenter Single Sign-On 管理者アカウントで vSphere Web Client にログインします。
  2. [管理] > [デプロイ] > [システム構成] に移動します。
  3. [ノード] をクリックし、vCenter Server Appliance ノードを選択して、[関連オブジェクト] タブをクリックします。
  4. 起動するサービスを右クリックして、[起動] を選択します。
コマンドラインを使用して停止している vCenter Server Appliance サービスを起動するには:
  1. vCenter Server Appliance で、SSH またはコンソール セッション経由で root としてログインします。
  2. 次のコマンドを実行してシェルを有効にします。

    shell.set --enabled true
     
  3. 次のコマンドを実行してシェルを起動します。

    shell
     
  4. 次のコマンドを実行して、ディレクトリを /bin に変更します。

    cd /bin
     
  5. 次のコマンドを実行して vCenter Server Appliance のサービスを一覧表示します。

    service-control --list
     
  6. 次のコマンドを実行して特定のサービスを起動します。

    service-control --start servicename
     
  7. 次のコマンドを入力して、すべてのサービスを起動することもできます。

    service-control --start --all
     
  8. コマンドのドライ ランを実行するには、コマンドにオプション --dry-run を追加します。これにより、そのコマンドによって実行されるアクションが表示されます。実際にアクションが実行されることはありません。たとえば、次のコマンドを入力します。

    service-control --start --all --dry-run
     

vCenter Server Appliance サービスの停止

vSphere Web Client を使用して起動している vCenter Server Appliance サービスを停止するには:
  1. vCenter Single Sign-On 管理者アカウントで vSphere Web Client にログインします。
  2. [管理] > [デプロイ] > [システム構成] に移動します。
  3. [ノード] をクリックし、vCenter Server Appliance ノードを選択して、[関連オブジェクト] タブをクリックします。
  4. 停止するサービスを右クリックして、[停止] を選択します。
コマンドラインを使用して起動している vCenter Server Appliance サービスを停止するには:
  1. vCenter Server Appliance で、SSH またはコンソール セッション経由で root としてログインします。
  2. 次のコマンドを実行してシェルを有効にします。

    shell.set --enabled true
     
  3. 次のコマンドを実行してシェルを起動します。

    shell
     
  4. 次のコマンドを実行して、ディレクトリを /bin に変更します。

    cd /bin
     
  5. 次のコマンドを実行して vCenter Server Appliance の各種サービスを一覧表示します。

    service-control --list
     
  6. 次のコマンドを実行して特定のサービスを停止します。

    service-control --stop servicename
     
  7. 次のコマンドを入力して、すべてのサービスを停止することもできます。

    service-control --stop --all
     
  8. コマンドのドライ ランを実行するには、コマンドにオプション --dry-run を追加します。これにより、そのコマンドによって実行されるアクションが表示されます。実際にアクションが実行されることはありません。たとえば、次のコマンドを入力します。

    service-control --stop --all --dry-run
     

vCenter Server または Platform Services Controller(またはその両方)の各種サービスの再起動

vSphere Web Client を使用して vCenter Server Appliance サービスを再起動するには、次の手順を実行します。
  1. vCenter Single Sign-On 管理者アカウントで vSphere Web Client にログインします。
  2. [管理] > [デプロイ] > [システム構成] に移動します。
  3. [ノード] をクリックし、vCenter Server Appliance ノードを選択して、[関連オブジェクト] タブをクリックします。
  4. 再起動するサービスを右クリックして、[再起動] を選択します。
コマンドラインを使用して vCenter Server または Platform Services Controller(またはその両方)の各種サービスを再起動するには、次の手順を実行します。
  1. vCenter Server Appliance で、SSH またはコンソール セッション経由で root としてログインします。
  2. 次のコマンドを実行してシェルを有効にします。

    shell.set --enabled true
     
  3. 次のコマンドを実行してシェルを起動します。

    shell
     
  4. 次のコマンドを実行して、ディレクトリを /bin に変更します。

    cd /bin
     
  5. 次のコマンドを実行して vCenter Server Appliance の各種サービスを一覧表示します。

    service-control --list
     
  6. 次のコマンドを実行して特定のサービスを停止します。

    service-control --stop servicename
     
  7. 次のコマンドを入力して、すべてのサービスを停止することもできます。

    service-control --stop --all
     
  8. 次のコマンドを実行して特定のサービスを起動します。

    service-control --start servicename
     
  9. 次のコマンドを入力して、すべてのサービスを起動することもできます。

    service-control --start --all


Additional Information

vCenter Server 7.x サービス:
 
vmware-vmon VMware Service Lifecycle Manager
vmonapi VMware Service Lifecycle Manager API
vmafdd VMware Authentication Framework
vmdird VMware Directory Service
vmcad VMware Certificate Service
lookupsvc VMware Lookup Service
vmware-sca VMware Service Control Agent
vmware-stsd VMware Security Token Service
vmware-rhttpproxy VMware HTTP Reverse Proxy
vmware-envoy VMware Envoy Proxy
vmware-netdumper VMware vSphere ESXi Dump Collector
vmware-vapi-endpoint VMware vAPI Endpoint
vmware-vpxd-svcs VMware vCenter-Services
vmware-perfcharts VMware Performance Charts
applmgmt VMware Appliance Management Service
vmware-statsmonitor VMware Appliance Monitoring Service
vmware-cis-license VMware License Service
vmware-vpostgres VMware Postgres
vmware-postgres-archiver VMware Postgres Archiver
vmware-vdtc VMware vSphere Distrubuted Tracing Collector
vmware-vpxd VMware vCenter Server
vmware-eam VMware ESX Agent Manager
vmware-vsm VMware vService Manager
vmware-sps VMware vSphere Profile-Driven Storage Service
pschealth VMware Platform Services Controller Health Monitor
vmware-rbd-watchdog VMware vSphere Auto Deploy Waiter
vmware-content-library VMware Content Library Service
vmware-imagebuilder VMware Image Builder Manager
lwsmd Likewise Service Manager
vmcam VMware vSphere Authentication Proxy
vmware-vcha VMware vCenter High Availability
vmware-updatemgr VMware Update Manager
vmware-vsan-health VMware VSAN Health Service
vsphere-ui VMware vSphere Client
vmware-hvc VMware Hybrid VC Service
vmware-trustmanagement VMware Trust Management Service
vmware-certificatemanagement VMware Certificate Management Service
vmware-certificateauthority VMware Certificate Authority Service
vmware-pod VMware Patching and Host Management Service
vlcm VMware vCenter Lifecycle API
vmware-analytics VMware Analytics Service
vmware-topologysvc VMware Topology Service
vmware-infraprofile VMware Infraprofile Service
wcp Workload Control Plane
vtsdb VMware vTsdb Service
vstats VMware vStats Service
observability VMware VCSA Observability Service
observability-vapi VMware VCSA Observability VAPI Service

vCenter Server Appliance サービス:
 
サービス名説明
applmgmtVMware Appliance Management Service
vmware-cis-licenseVMware License Service
vmware-cmVMware Component Manager
vmware-eamVMware ESX Agent Manager
vmware-sts-idmdVMware Identity Management Service
vmware-invsvcVMware Inventory Service
vmware-mbcsVMware Message Bus Configuration Service
vmware-netdumperVMware vSphere ESXi Dump Collector
vmware-perfchartsVMware Performance Charts
vmware-rbd-watchdogVMware vSphere Auto Deploy Waiter
vmware-rhttpproxyVMware HTTP Reverse Proxy
vmware-scaVMware Service Control Agent
vmware-spsVMware vSphere Profile-Driven Storage サービス
vmware-stsdVMware Security Token Service
vmware-syslogVMware Common Logging Service
vmware-syslog-healthVMware Syslog Health Service
vmware-vapi-endpointVMware vAPI Endpoint
vmware-vdcsVMware Content Library Service
vmafddVMware Authentication Framework
vmcadVMware Certificate Service
vmdirdVMware Directory Service
vmware-vpostgresVMware Postgres
vmware-vpx-workflowVMware vCenter ワークフロー マネージャ
vmware-vpxdVMware vCenter Server
vmware-vsmVMware vService Manager
vsphere-clientvSphere Web Client
vmware-vwsVMware システムおよびハードウェア健全性マネージャ
vmware-vsan-healthVMware vSAN 健全性サービス
Stopping, starting, or restarting VMware vCenter Server Appliance 6.x services