Docs Menu
Docs Home
/
MongoDB Ops Manager
/

MongoDB Agent を再起動する

項目一覧

  • MongoDB Agent を再起動する
  • MongoDB Agent の起動
  • MongoDB Agent の停止

メンテナンスやトラブルシューティングの目的で、MongoDB Agent を一時的にシャットダウンまたは再起動することをお勧めします。

RHEL、CentOS、SUSE など、 rpmパッケージを使用して MongoDB Agent をインストールした場合は、次のコマンドを実行して MongoDB Agent を再起動します。

sudo service mongodb-mms-automation-agent restart

Ubuntu と同様にdebパッケージを使用して MongoDB Agent をインストールした場合は、次のコマンドを実行して MongoDB Agent を再起動します。

sudo restart mongodb-mms-automation-agent

tarファイルを使用して Linux にインストールした場合は、これらのコマンドを使用します。 MongoDB Agent をインストールしたディレクトリから次のコマンドを実行します。

pkill -f mongodb-mms-automation-agent
nohup ./mongodb-mms-automation-agent >> automation-agent.log 2>&1 &

RHEL、CentOS、SUSE など、 rpmパッケージを使用して MongoDB Agent をインストールした場合は、次のコマンドを発行して MongoDB Agent を起動します。

sudo service mongodb-mms-automation-agent start

Ubuntu と同様にdebパッケージを使用して MongoDB Agent をインストールした場合は、次のコマンドを実行して MongoDB Agent を起動します。

sudo start mongodb-mms-automation-agent

tarファイルを使用して Linux にインストールした場合は、次のコマンドを使用します。 MongoDB Agent をインストールしたディレクトリから次のコマンドを実行します。

nohup ./mongodb-mms-automation-agent >> automation-agent.log 2>&1 &

RHEL、CentOS、SUSE など、 rpmパッケージを使用して MongoDB Agent をインストールした場合は、次のコマンドを発行して MongoDB Agent を停止します。

sudo service mongodb-mms-automation-agent stop

Ubuntu と同様にdebパッケージを使用して MongoDB Agent をインストールした場合は、次のコマンドを実行して MongoDB Agent を停止します。

sudo stop mongodb-mms-automation-agent

tarファイルを使用して Linux システムにインストールした場合は、次のコマンドを実行して MongoDB Agent を停止します。

pkill -f mongodb-mms-automation-agent

戻る

管理対象および管理されていないエージェントを使用した配置からの更新