ローカルサーバーグループの CLI

コマンド 説明

サーバーのサーバーグループを作成する

サーバーグループの情報を表示する

サーバーグループを変更する

サーバーをサーバーグループに追加する

サーバーグループを削除する

環境内のすべてのサーバーグループをリストする

サーバーグループのサーバーを削除する

runtime-mgr serverGroup create

> runtime-mgr serverGroup create [options] <name> [serverIds...]

このコマンドは、後で引数として渡されるサーバー ID を使用して、​name​ で渡される名前でサーバーグループを作成します。

このコマンドはデフォルトのオプション ​--help​、​-f​/​--fields​、​-o​/​--output​ のみを受け入れます。

runtime-mgr serverGroup describe

> runtime-mgr serverGroup describe [options] <serverGroupId>

このコマンドは、​serverGroupId​ で渡されるサーバーグループの情報を表示します。

このコマンドはデフォルトのオプション ​--help​、​-f​/​--fields​、​-o​/​--output​ のみを受け入れます。

runtime-mgr serverGroup modify

> runtime-mgr serverGroup modify [options] <serverGroupId>

このコマンドは、​serverGroupId​ で渡されるサーバーグループを変更します。

クラスターの ID を更新するには、​--name​ オプションを渡す必要があります。

このコマンドでは、​--name​ オプション以外にデフォルトの ​--help​、​-f​/​--fields​、​-o​/​--output​ オプションも使用できます。

runtime-mgr serverGroup add server

> runtime-mgr serverGroup add server [options] <serverGroupId> <serverId>

このコマンドは、​serverId​ で渡されるサーバーを ​serverGroupId​ で渡されるサーバーグループに追加します。

このコマンドはデフォルトのオプション ​--help​、​-f​/​--fields​、​-o​/​--output​ のみを受け入れます。

runtime-mgr serverGroup delete

> runtime-mgr serverGroup delete [options] <serverGroupId>

このコマンドは、​serverGroupId​ で渡されるサーバーグループを削除します。

このコマンドはデフォルトのオプション ​--help​、​-f​/​--fields​、​-o​/​--output​ のみを受け入れます。

このコマンドは、削除する前に 2 回入力を促しません。削除命令を送信する場合、確認を求められることはありません。

runtime-mgr serverGroup list

> runtime-mgr serverGroup list [options]

このコマンドは、環境内のすべてのサーバーグループをリストします。

このコマンドはデフォルトのオプション ​--help​、​-f​/​--fields​、​-o​/​--output​ のみを受け入れます。

runtime-mgr serverGroup remove server

> runtime-mgr serverGroup remove server [options] <serverGroupId> <serverId>

このコマンドでは、​serverGroupId​ で渡されるサーバーグループから ​serverId​ で渡されるサーバーを削除します。

このコマンドはデフォルトのオプション ​--help​、​-f​/​--fields​、​-o​/​--output​ のみを受け入れます。