VmFaultToleranceStateChangedEvent

VmFaultToleranceStateChangedEvent
VmFaultToleranceStateChangedEvent

This event records a fault tolerance state change.

A default alarm will be triggered upon this event, which would change the vm state: the vm state is red if the newState is needSecondary; the vm state is yellow if the newState is disabled; the vm state is green if the newState is notConfigured, starting, enabled or running

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "key": 0,
    "chainId": 0,
    "createdTime": "string",
    "userName": "string",
    "datacenter": {
        "_typeName": "string",
        "name": "string",
        "datacenter": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "computeResource": {
        "_typeName": "string",
        "name": "string",
        "computeResource": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "host": {
        "_typeName": "string",
        "name": "string",
        "host": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "vm": {
        "_typeName": "string",
        "name": "string",
        "vm": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "ds": {
        "_typeName": "string",
        "name": "string",
        "datastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "net": {
        "_typeName": "string",
        "name": "string",
        "network": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "dvs": {
        "_typeName": "string",
        "name": "string",
        "dvs": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        }
    },
    "fullFormattedMessage": "string",
    "changeTag": "string",
    "template": false,
    "oldState": "string",
    "newState": "string"
}
oldState
Required

The FaultToleranceState type defines a simple set of states for a fault tolerant virtual machine: disabled, starting, and enabled.

Possible values:

  • notConfigured: This state indicates that the virtual machine has not been configured for fault tolerance.

  • disabled: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine has at least one registered secondary, but no secondary is enabled.

    For a virtual machine that is the secondary in a fault tolerant group, this state indicates that the secondary is disabled.

  • enabled: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine is not currently powered on, but has at least one enabled secondary For a virtual machine that is the secondary in a fault tolerant group, this state indicates that the secondary is enabled, but is not currently powered on.

  • needSecondary: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine is powered on and has at least one enabled secondary, but no secondary is currently active.

    This state is not valid for a virtual machine that is a secondary in a fault tolerant group.

  • starting: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine is powered on and has at least one secondary that is synchronizing its state with the primary.

    For a virtual machine that is the secondary in a fault tolerant group, this state indicates that the secondary is powered on and is synchronizing its state with the primary virtual machine.

  • running: This state indicates that the virtual machine is running with fault tolerance protection.

Possible values are : notConfigured, disabled, enabled, needSecondary, starting, running,
newState
Required

The FaultToleranceState type defines a simple set of states for a fault tolerant virtual machine: disabled, starting, and enabled.

Possible values:

  • notConfigured: This state indicates that the virtual machine has not been configured for fault tolerance.

  • disabled: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine has at least one registered secondary, but no secondary is enabled.

    For a virtual machine that is the secondary in a fault tolerant group, this state indicates that the secondary is disabled.

  • enabled: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine is not currently powered on, but has at least one enabled secondary For a virtual machine that is the secondary in a fault tolerant group, this state indicates that the secondary is enabled, but is not currently powered on.

  • needSecondary: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine is powered on and has at least one enabled secondary, but no secondary is currently active.

    This state is not valid for a virtual machine that is a secondary in a fault tolerant group.

  • starting: For a virtual machine that is the primary in a fault tolerant group, this state indicates that the virtual machine is powered on and has at least one secondary that is synchronizing its state with the primary.

    For a virtual machine that is the secondary in a fault tolerant group, this state indicates that the secondary is powered on and is synchronizing its state with the primary virtual machine.

  • running: This state indicates that the virtual machine is running with fault tolerance protection.

Possible values are : notConfigured, disabled, enabled, needSecondary, starting, running,