検索

6.94. FenceAgents

download PDF

特定のホストのフェンスエージェントを管理するサービス。

表6.268 メソッドの概要
名前概要

add

ホストに新しい fencing-agent を追加します。

list

ホストに設定されたフェンシングエージェントの一覧を返します。

6.94.1. add POST

ホストに新しい fencing-agent を追加します。

POST /ovirt-engine/api/hosts/123/fenceagents

You should consult the /usr/sbin/fence_<agent_name> manual page for
the legal parameters to [name1=value1, name2=value2,...] in the options field.
If any parameter in options appears by name that means that it is mandatory.
For example in <options>slot=7[,name1=value1, name2=value2,...]</options>
slot is mandatory.

apc、bladecenter、wti フェンシングエージェントのサンプルリクエスト:

  <agent>
    <type>apc</type>
    <order>1</order>
    <ip>192.168.1.101</ip>
    <user>user</user>
    <password>xxx</password>
    <port>9</port>
    <options>slot=7[,name1=value1, name2=value2,...]</options>
  </agent>

apc_snmp、hpblade、ilo、ilo2、ilo_ssh、redfish、rsa フェンシングエージェントのサンプルリクエスト:

  <agent>
    <type>apc_snmp</type>
    <order>1</order>
    <ip>192.168.1.101</ip>
    <user>user</user>
    <password>xxx</password>
    <port>9</port>
    <options>[name1=value1, name2=value2,...]</options>
  </agent>

cisco_ucs、drac5、eps フェンシングエージェントのサンプルリクエスト:

  <agent>
    <type>cisco_ucs</type>
    <order>1</order>
    <ip>192.168.1.101</ip>
    <user>user</user>
    <password>xxx</password>
    <options>slot=7[,name1=value1, name2=value2,...]</options>
  </agent>

drac7、ilo3、ilo4、ipmilan、rsb フェンシングエージェントのサンプルリクエスト:

  <agent>
    <type>drac7</type>
    <order>1</order>
    <ip>192.168.1.101</ip>
    <user>user</user>
    <password>xxx</password>
    <options>[name1=value1, name2=value2,...]</options>
  </agent>
表6.269 パラメーターの概要
名前タイプ方向概要

agent (エージェント)

エージェント

In/Out

 

6.94.2. list GET

ホストに設定されたフェンシングエージェントの一覧を返します。

GET /ovirt-engine/api/hosts/123/fenceagents

応答の例を以下に示します。

<agents>
  <agent id="0">
    <type>apc</type>
    <order>1</order>
    <ip>192.168.1.101</ip>
    <user>user</user>
    <password>xxx</password>
    <port>9</port>
    <options>name1=value1, name2=value2</options>
  </agent>
</agents>

返されたフェンシングエージェントのリストの順序は保証されません。

表6.270 パラメーターの概要
名前タイプ方向概要

agents

Agent[]

Out

フェンスエージェントの詳細のリスト。

follow

文字列

In

たどる 必要のある内部リンクを指定します。

max

Integer

In

返すエージェントの最大数を設定します。

6.94.2.1. follow

たどる 必要のある内部リンクを指定します。これらのリンクで参照されるオブジェクトは、現在の要求の一部としてフェッチされます。詳細は、こちら を参照してください。

6.94.2.2. max

返すエージェントの最大数を設定します。指定しない場合、すべてのエージェントが返されます。

Red Hat logoGithubRedditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

© 2024 Red Hat, Inc.