5.87.6. fence POST
ホストの電源管理デバイスを制御します。
たとえば、ホストを起動すると仮定します。これは、以下の方法で実行できます。
#!/bin/sh -ex
url="https://engine.example.com/ovirt-engine/api"
user="admin@internal"
password="..."
curl \
--verbose \
--cacert /etc/pki/ovirt-engine/ca.pem \
--user "${user}:${password}" \
--request POST \
--header "Version: 4" \
--header "Content-Type: application/xml" \
--header "Accept: application/xml" \
--data '
<action>
<fence_type>start</fence_type>
</action>
' \
"${url}/hosts/123/fence"
| Name | タイプ | 方向 | 概要 |
|---|---|---|---|
|
| In | フェンシングを非同期で実行する必要があるかどうかを示します。 | |
|
| In | ||
|
| Out |