---
schema_version: "1"
id: d70721063fd995f50226f065f460e19b8537d9315b90c9a265f80a4aa4e4b5cf
title: ローカルクラスターサーバーの CLI
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/anypoint-cli/3.x/server-clusters.md
canonical_url: https://docs.mulesoft.com/jp/anypoint-cli/3.x/server-clusters
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 659d348bd3038ca997279616489a82504adf204de5211106bd09c034da2a009c
description: MuleSoft Documentation Site
release: 3.x
latest: false
---
# ローカルクラスターサーバーの 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 \[options\] <clusterId> <serverId>

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

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

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

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

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

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

<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 \[options\]

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

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

## [](#runtime-mgr-cluster-remove-server)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

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

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

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

<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>

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

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

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

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

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

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

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

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