# US 2024/0370383 A1 · Method and system to perform compliance and availability check for internet small computer system interface (iscsi) service in distributed storage system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0370383 A1
- Document ID: US20240370383A1
- Status: Published application
- Kind: A1
- Application number: 18/141,995
- Filed: 2023-05-01
- Published: 2024-11-07
- Earliest claimed: 2023-05-01
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Sixuan YANG; Yang YANG; Zhaohui GUO; Zhou HUANG; Jian ZHAO; Jianxiang ZHOU; Jin FENG
- Web page: https://patentgrep.com/patent/US20240370383A1

## CPC

- G06F 13/102: {where the program performs an interfacing function, e.g. device driver (G06F13/105 takes precedence; contention policies within device drivers G06F9/4881; scheduling within device drivers G06F9/52)}
- G06F 2213/0036: Small computer system interface [SCSI]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One example method for a host in a virtual storage area network (vSAN) cluster to support vSAN Internet small computer system interface (iSCSI) target services in a distributed storage system of a virtualization system is disclosed. The method includes obtaining ownership information of a target and determining, from the ownership information, whether the host is an owner of the target. In response to determining that the host is the owner of the target, the method further includes determining whether the host commits to a policy provided by the vSAN to support the vSAN iSCSI target services. In response to determining that the host fails to commit to the policy, the method includes reporting a warning message.

## Claims

### Claim 1

A method for a host in a virtual storage area network (vSAN) cluster to support vSAN Internet small computer system interface (ISCSI) target services in a distributed storage system of a virtualization system, the method comprising:
obtaining ownership information of a target;
determining, from the ownership information, whether the host is an owner of the target;
in response to determining that the host is the owner of the target, determining whether the host commits to a policy provided by the vSAN to support the vSAN ISCSI target services; and
in response to determining that the host fails to commit to the policy, reporting a warning message.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining whether the host is the owner of the target further includes determining whether the host is an active owner or a candidate owner of the target.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining whether the host commits to the policy further includes:
checking a connection between the host and an initiator of the target; and
in response to determining that a connection issue exists between the host and the initiator, determining that the host fails to commit to the policy.

### Claim 4 (depends on 2)

The method of claim 2, wherein determining whether the host commits to the policy further includes:
obtaining a historical resource usage of the host and a historical iSCSI-based Input/Output (I/O) workload on the host;
predicting a resource usage of the host and a iSCSI-based I/O workload on the host in a period of time; and
in response to determining that the upcoming iSCSI-based I/O workload exceeds a workload threshold, determining that the host fails to commit to the policy.

### Claim 5 (depends on 4)

The method of claim 4, in response to determining that the upcoming iSCSI-based I/O workload does not exceed the workload threshold, further comprising:
calculating differences between the predicted resource usage and an actual resource usage of the host in the period of time and between the predicted iSCSI-based I/O workload and an actual iSCSI-based I/O workload in the period of time; and
adjusting the workload threshold based on the differences.

### Claim 6 (depends on 2)

The method of claim 2, after determining that the host, as the candidate owner of the target, fails to commit to the policy, further comprising updating an ownership of the target to indicate that the host is no longer the owner of the target to cause the vSAN cluster to nominate another host to be a new candidate owner of the target.

### Claim 7 (depends on 2)

The method of claim 2, after determining that the host, as the active owner of the target, fails to commit to the policy, further comprising updating an ownership of the target to indicate that the host is no longer the owner of the target to cause the vSAN cluster to use a candidate owner of the target to support the vSAN iSCSI target service.

### Claim 8

A non-transitory computer-readable storage medium that includes a set of instructions which, in response to execution by a processor of a computer system, cause the processor to perform a method for a host in a virtual storage area network (vSAN) cluster to support vSAN Internet small computer system interface (iSCSI) target services in a distributed storage system of a virtualization system, the method comprising:
obtaining ownership information of a target;
determining whether the host is an owner of the target based on subscribed information from the vSAN cluster;
in response to determining that the host is the owner of the target, determining whether the host commits to a policy provided by the vSAN to support the vSAN ISCSI target services based on a connection associated with the iSCSI target services; and
in response to determining that the host fails to commit to the policy, reporting a warning message.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein determining whether the host is the owner of the target further includes determining whether the host is an active owner or a candidate owner of the target.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the connection is a connection between the host and an initiator of the target.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein determining whether the host commits to the policy further includes:
checking the connection; and
in response to determining that a connection issue exists between the host and the initiator, determining that the host fails to commit to the policy.

### Claim 12 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the non-transitory computer-readable storage medium includes additional instructions which, in response to execution by the processor, cause the processor to perform:
after determining that the host, as the candidate owner of the target, fails to commit to the policy, updating an ownership of the target to indicate that the host is no longer the owner of the target to cause the vSAN cluster to nominate another host to be a new candidate owner of the target.

### Claim 13 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the non-transitory computer-readable storage medium includes additional instructions which, in response to execution by the processor, cause the processor to perform:
after determining that the host, as the active owner of the target, fails to commit to the policy, updating an ownership of the target to indicate that the host is no longer the owner of the target to cause the vSAN cluster to use a candidate owner of the target to support the vSAN iSCSI target services.

### Claim 14

A host in a virtual storage area network (vSAN) cluster to support vSAN Internet small computer system interface (ISCSI) target services in a distributed storage system of a virtualization system, comprising:
a processor; and
a non-transitory computer-readable medium having stored thereon instructions that, in response to execution by the processor, cause the processor to:
obtain ownership information of a target;
determine whether the host is an owner of the target based on subscribed information from the vSAN cluster;
in response to determining that the host is the owner of the target, determine whether the host commits to a policy provided by the vSAN to support the vSAN ISCSI target services based on resource usages of the host; and
in response to determining that the host fails to commit to the policy, report a warning message.

### Claim 15 (depends on 14)

The host of claim 14, wherein the non-transitory computer-readable medium has stored thereon additional instructions that, in response to execution by the processor, cause the processor to determine whether the host is an active owner or a candidate owner of the target.

### Claim 16 (depends on 15)

The host of claim 15, wherein the non-transitory computer-readable medium has stored thereon additional instructions that, in response to execution by the processor, cause the processor to:
obtain a historical resource usage of the host and a historical iSCSI-based Input/Output (I/O) workload on the host;
predict a resource usage of the host and a iSCSI-based I/O workload on the host in a period of time; and
in response to determining that the upcoming iSCSI-based I/O workload exceeds a workload threshold, determine that the host fails to commit to the policy.

### Claim 17 (depends on 16)

The host of claim 16, wherein the non-transitory computer-readable medium has stored thereon additional instructions that, in response to execution by the processor, cause the processor to:
calculate a first difference between the predicted resource usage and an actual resource usage of the host in the period of time and a second difference between the predicted iSCSI-based I/O workload and an actual iSCSI-based I/O workload in the period of time; and
adjust the workload threshold based on the first difference and the second difference.

### Claim 18 (depends on 15)

The host of claim 15, wherein the non-transitory computer-readable medium has stored thereon additional instructions that, in response to execution by the processor, cause the processor to:
after determining that the host, as the candidate owner of the target, fails to commit to the policy, update an ownership of the target to indicate that the host is no longer the owner of the target to cause the vSAN cluster to nominate another host to be a new candidate owner of the target.

### Claim 19 (depends on 15)

The host of claim 15, wherein the non-transitory computer-readable medium has stored thereon additional instructions that, in response to execution by the processor, cause the processor to:
after determining that the host, as the active owner of the target, fails to commit to the policy, update an ownership of the target to indicate that the host is no longer the owner of the target to cause the vSAN cluster to use a candidate owner of the target to support the vSAN ISCSI target services.
