Pluggable Storage Architecture (PSA)

Pluggable Storage Architecture (PSA) is a modular storage management framework, which was introduced with VMware vSphere 5. It has a plugin framework, which can be used by third party vendors to create Multipathing plugins, which can leverage array-specific Multipathing, load balancing, or failover features. VMware has its own default Multipathing plugin called the Native Multipathing Plugin (NMP):

Pluggable Storage Architecture (PSA)

Since, third party plugins are beyond the scope of this book, we will delve deeper into the components and functions of VMware NMP.

Every storage device detected by the ESXi host will be associated with a Multipathing plugin (MPP). This is achieved with the help of a claim rule. If there aren't any claim rules for a third party MPP, then the VMware NMP will claim the device and associate an SATP and PSP to it.

VMware NMP has two main components:

  • Storage Array Type Plugin (SATP)
  • Path Selection Plugin (PSP)

SATP is responsible for keeping a tab on the status of every storage path it is associated with and capture details of a path failure, whereas PSP determines which physical path has to be chosen to send the I/O to the device. PSP relies on the path status information from the SATP.

VMware NMP uses both SATP and PSP to maintain access to the storage devices presented to the ESXi host. When I/O is issued to a storage device the NMP will instruct the PSP corresponding to the LUN to place the I/O on a path based on the policy (MRU/Fixed/RR) chosen. If for some reason the I/O operation failed to complete, it is reported back to the NMP. The NMP in turn instructs the SATP to determine the cause of the failure and take appropriate action. If the I/O had failed due to a path failure, SATP will mark that path as dead and make another path active. NMP will then call the PSP again to retry the I/O. This time the PSP can choose to use the new active path.

PSA allows storage vendors to code their own SATPs, PSPs, or an entire MPP itself. The vendor SATPs and PSPs can plug into the VMware NMP and be active alongside the VMware bundled SATPs and PSPs.

VMware NMP includes an SATP for every supported storage array. Depending on the array type, every SATP will have a default PSP.

Note

The following command can be issued to view a list of all STAPs and their associated PSPs:

# esxcli storagenmp satp list

Although every array type will have an SATP associated with it, there can be only three PSPs associated with them, and they are:

  • Most recently used
  • Fixed
  • Round robin

Each of these Path Selection Policies (PSP) function uniquely. VMware NMP uses the following names to represent them in the PSA framework:

  • VMW_PSP_MRU
  • VMW_PSP_Fixed
  • VMW_PSP_RR

Note

The following command can be issued to view the list of PSPs supported by the framework: #esxcli storage nmp psp list

  • The Most Recently Used (MRU) path selection policy will continue to use the new path after a failover even if the failed path subsequently becomes active. MRU is commonly used as a PSP for active/passive arrays.
  • The fixed path selection policy will have a preferred path configured for data transport. In the event of a failed preferred path becoming active subsequent to a failover, the policy will failback to the preferred path. This policy is commonly used with active/active or ALUA arrays.

The Round robin (RR) path selection policy will distribute I/O over active or active optimized paths (in case of ALUA array) in a round robin fashion after every 1000 IOPS per path.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.62.105