6.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"
| 이름 | 유형 | direction | 요약 |
|---|---|---|---|
|
| in | 펜싱을 비동기식으로 수행해야 하는지 여부를 나타냅니다. | |
|
| in | ||
|
| out |