Users Guide

문제 해결 사전 검사 실행
명령: POST https://{VC IP/FQDN}/api/esx/settings/clusters/{cluster ID}/software?vmw-task=true&action=check
설명: 클러스터에 있는 모든 호스트에 원하는 상태를 적용하기 전에 클러스터에 대한 검사를 실행합니다. 클러스터의 모든 호스트가
원하는 상태로 업데이트될 있는 양호한 상태인지 확인합니다.
HTTP 응답 코드: 200 모든 응답 코드의 목록은 응답 코드 페이지 162() 참조하십시오.
예제 응답:
{task-id}
문제 해결 사전 검사 작업 상태
명령: GET https://{VC IP/FQDN}/rest/cis/tasks/{task ID}
설명: 작업에 대한 정보를 반환합니다.
HTTP 응답 코드: 200 모든 응답 코드의 목록은 응답 코드 페이지 162() 참조하십시오.
예제 응답:
{
"value":
{
"parent": "",
"cancelable": true,
"end_time": "2020-02-12T18:03:59.391Z",
"description":
{
"args": [],
"default_message": "Task created by VMware vSphere Lifecycle Manager",
"id": "com.vmware.vcIntegrity.lifecycle.Task.Description"
},
"target":
{
"id": "domain-c8",
"type": "ClusterComputeResource"
},
"result":
{
"start_time": "2020-02-12T17:52:09.264Z",
"commit": "",
"end_time": "2020-02-12T18:03:59.386Z",
"entity_results":
[
{
"host": "host-47",
"type": "HOST",
"check_statuses": [],
"status": "OK"
}
{
"host": "host-41",
"type": "HOST",
"check_statuses": [],
"status": "OK"
},
{
"host": "host-22",
"type": "HOST",
"check_statuses": [],
"status": "OK"
},
{
"host": "host-16",
"type": "HOST",
"check_statuses": [
{
132 호스트 관리