Configure Manager's watchdog

Configure Manager's watchdog

The flexVDI Agent service in each host is also in charge of keeping the flexVDI Manager instance up. This API call distributes the watchdog configuration to all Hosts in the Image Storage that stores the flexVDI Manager's images whenever it changes.

Format

Method

POST

URL

/hosts/configwatchdog

Request contents

WatchdogConfig Object

Successful answer

ManagerResult Object

Unexpected error

HTTP 500

WatchdogConfig Object

Schema

imagestorage_id

String

Task type identifier. In this case, "host_action"

volume_id

String

Host's unique identifier

...

Other

Watchdog config fields are explained here.

JSON example

{ "vmname" : "flexVDI_Manager", "ipaddress" : "10.111.9.14", "vmbridge" : "virbr0", "vmvlan" : "", "instance" : "01", "storage_mode" : "ocfs2", "host_list" : [ "flexpre02" ], "ocfs2_primarydisk_id" : "35000c5007aff6846", "imagestorage_id" : "Local", "volume_id" : "Mecanico", "vmimage" : "/var/lib/flexvdi/image_storages/Local/Mecanico/flexvdi-manager-3.1.0", "vmdata" : "/var/lib/flexvdi/image_storages/Local/Mecanico/flexvdi-manager-data", "ha_mode" : "clustered", "vmpassword" : "tNWxJgZEyBP8" }