---
schema_version: "1"
id: e046eafd43209d1daf55db448d771ffbf3aea809068f7c4249c42d3759a30d4a
title: ローカルクラスターサーバーの CLI
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/anypoint-cli/latest/server-clusters.md
canonical_url: https://docs.mulesoft.com/jp/anypoint-cli/latest/server-clusters
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 108ba49e8fd711506b924442d583cd22923177d075e6d20f2bd859c5aa3d63cd
description: MuleSoft Documentation Site
release: 4.x
latest: true
---
# ローカルクラスターサーバーの CLI

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 35%;">
<col style="width: 65%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">コマンド</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-add-server">runtime-mgr:cluster:add:server</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>サーバーをクラスターに追加する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-delete">runtime-mgr:cluster:delete</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>クラスターを削除する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-list">runtime-mgr:cluster:list</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>環境内のすべてのクラスターをリストする</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-remove-server">runtime-mgr:cluster:remove:server</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>クラスターからサーバーを削除する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-create">runtime-mgr:cluster:create</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>新しいクラスターを作成する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-describe">runtime-mgr:cluster:describe</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>サーバークラスターの情報を表示する</p>
</div></div></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p><a href="#runtime-mgr-cluster-modify">runtime-mgr:cluster:modify</a></p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>クラスターを変更する</p>
</div></div></td>
</tr>
</tbody>
</table>

## [](#runtime-mgr-cluster-add-server)runtime-mgr:cluster:add:server

\> runtime-mgr:cluster:add:server \[flags\] <clusterId> <serverId>

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

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

## [](#runtime-mgr-cluster-delete)runtime-mgr:cluster:delete

\> runtime-mgr:cluster:delete \[flags\] <clusterId>

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

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

<table><tbody><tr><td class="icon"><i class="fa icon-warning" title="Warning"></i></td><td class="content">このコマンドは、削除する前に 2 回入力を促しません。削除命令を送信する場合、確認を求められることはありません。</td></tr></tbody></table>

## [](#runtime-mgr-cluster-list)runtime-mgr:cluster:list

\> runtime-mgr:cluster:list \[flags\]

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

このコマンドには ​`--output`​ フラグを使用できます。​`--output`​ フラグを使用して、応答形式を指定します。サポートされている値は、​`table`​ (デフォルト) および ​`json`​ です。

このコマンドでは、デフォルトのフラグ ​`--help`​ も受け入れます。

## [](#runtime-mgr-cluster-remove-server)runtime-mgr:cluster:remove:server

\> runtime-mgr:cluster:remove:server \[flags\] <clusterId> <serverId>

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

このコマンドでは、デフォルトのフラグ ​`--help`​ のみを受け入れます。

## [](#runtime-mgr-cluster-create)runtime-mgr:cluster:create

\> runtime-mgr:cluster:create <name> \[flags\]

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

このコマンドでは、デフォルトの ​`--help`​ フラグ以外に次のフラグも受け入れます。

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 30%;">
<col style="width: 70%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">フラグ</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>--multicast</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">クラスターをマルチキャストにする必要があるかどうか</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>--server &lt;id:ip&gt;</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">サーバー ID と IP アドレスのペア。マルチキャストクラスターの場合、後者は省略可能です。複数のサーバーを追加するには、複数の値を指定します。</p></td>
</tr>
</tbody>
</table>

<table><tbody><tr><td class="icon"><i class="fa icon-note" title="Note"></i></td><td class="content">このコマンドには複数オプションのフラグがあります。コマンドで複数オプションのフラグを使用する場合は、フラグの前にパラメーターを置くか、パラメーターの前に ​`-- `​ (2 つのダッシュの後にスペース) を使用します。</td></tr></tbody></table>

## [](#runtime-mgr-cluster-describe)runtime-mgr:cluster:describe

\> runtime-mgr:cluster:describe \[flags\] <clusterId>

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

このコマンドには ​`--output`​ フラグを使用できます。​`--output`​ フラグを使用して、応答形式を指定します。サポートされている値は、​`table`​ (デフォルト) および ​`json`​ です。

このコマンドでは、デフォルトのフラグ ​`--help`​ も受け入れます。

## [](#runtime-mgr-cluster-modify)runtime-mgr:cluster:modify

\> runtime-mgr:cluster:modify \[flags\] <clusterId>

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

このコマンドでは、​`--name`​ フラグ以外にデフォルトの ​`--help`​ フラグも使用できます。