MSiSCSI_InitiatorNodeFailureEvent structure (iscsimgt.h)
The MSiSCSI_InitiatorNodeFailureEvent structure is used to report an event when a node failure occurs.
Syntax
typedef struct _MSiSCSI_InitiatorNodeFailureEvent {
ULONGLONG FailureTime;
UCHAR FailureType;
WCHAR TargetFailureName[223 + 1];
ISCSI_IP_Address TargetFailureAddr;
} MSiSCSI_InitiatorNodeFailureEvent, *PMSiSCSI_InitiatorNodeFailureEvent;
Members
FailureTime
A timestamp that indicates when the node failure occurred.
FailureType
The type of node failure. This member can have the following integer values, which are defined in a ValueMap in Mgmt.mof.
Value | Failure type |
---|---|
LoginOtherFail | The logon failed for unspecified reasons. |
LoginAuthFail | The logon failed, because the initiator and target do not have compatible authentication algorithms. |
LoginAuthenticateFail | The logon failed, because the credentials of the initiator and target do not match and the initiator could not authenticate the target. |
LoginNegotiateFail | The logon failed, because the initiator could not successfully negotiate a connection with the target. |
LogoutOthers | The logout failed due to other reasons. |
TargetFailureName[223 + 1]
A wide character string that specifies the name of the target that a logon or logoff failed for.
TargetFailureAddr
A ISCSI_IP_Address structure that specifies the IP address of the target that a logon or logoff failed for.
Remarks
It is optional that you implement this class.
Requirements
Requirement | Value |
---|---|
Header | iscsimgt.h (include Iscsimgt.h) |