ローカルクラスターサーバーの CLI

コマンド 説明

サーバーをクラスターに追加する

クラスターを削除する

環境内のすべてのクラスターをリストする

クラスターからサーバーを削除する

新しいクラスターを作成する

サーバークラスターの情報を表示する

クラスターを変更する

runtime-mgr cluster add server

> runtime-mgr cluster add server [options] <clusterId> <serverId>

このコマンドは、​clusterId​ のクラスターを ​serverId​ で渡されるサーバーに追加します。

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

runtime-mgr cluster delete

> runtime-mgr cluster delete [options] <clusterId>

このコマンドは、​clusterId​ で渡されるクラスターを削除します。

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

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

runtime-mgr cluster list

> runtime-mgr cluster list [options]

このコマンドは、環境内のすべてのクラスターをリストします。

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

runtime-mgr cluster remove server

> runtime-mgr cluster remove server [options] <clusterId> <serverId>

このコマンドは、​clusterId​ で渡されるクラスターから ​serverId​ で渡されるサーバーを削除します。

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

runtime-mgr cluster create

> runtime-mgr cluster create [options] <name>

このコマンドは、​name​ で渡される ID を使用してクラスターを作成します。

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

オプション 説明

--multicast

クラスターをマルチキャストにする必要があるかどうか

--server <id:ip>

サーバー ID と IP アドレスのペア。マルチキャストクラスターの場合、後者は省略可能です。複数のサーバーを追加するには、複数の値を指定します。

runtime-mgr cluster describe

> runtime-mgr cluster describe [options] <clusterId>

このコマンドは、​clusterId​ で渡されるクラスターの情報を表示します。

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

runtime-mgr cluster modify

> runtime-mgr cluster modify [options] <clusterId>

このコマンドは、​clusterId​ で渡されるクラスターを変更します。
クラスターの ID を更新するには、​--name​ オプションを渡す必要があります。

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