|
Objective 3.1 – Configure FC SAN Storage |
|
|
|
Written by Matthijs van den Berg
|
|
Wednesday, 14 October 2009 23:56 |
Knowledge
- Scan for new LUNs
When new LUNs are presented from the storage controller to ESX hosts the ESX host needs to scan for LUNs before they are visible on the system. Do to so we use the GUI:
- Select a ESX host
- Select the tab “Configuration”
- Select “Storage Adaptors”
- Select the HBA to where the new LUNs are presented
- Click “Rescan” in the upper right corner

- Optionally adjust where to scan for
- Click OK to start scanning. This process van take a few minutes depending on you configuration.
On ESXi, it is not possible to rescan a single storage adapter. If you rescan a single adapter, all adapters are rescanned.
- Determine and configure the appropriate multi-pathing policy
Multipathing is a technique to optimize the usage of all paths to a storage controller. To manage storage multipathing, ESX uses a special VMkernel layer, Pluggable Storage Architecture (PSA). The PSA is an open modular framework that coordinates the simultaneous operation of multiple multipathing plugins (MPPs). You can choose to use the default build in Native Multipathing Plugin, or use a vendor procides policy. The native pathing policies that can be used with ESX 4 are:
- Most Recently Used (MRU)
Selects the first working path discovered at system boot time. If this path becomes unavailable, the ESX host switches to an alternative path and continues to use the new path while it is available. This is the default policy for LUNs presented from an Active/Passive array.
- Fixed (Fixed)
Uses the designated preferred path, if it has been configured. Otherwise, it uses the first working path discovered at system boot time. If the ESX host cannot use the preferred path, it selects a random alternative available path. The ESX host automatically reverts back to the preferred path as soon as the path becomes available. This is the default policy for LUNs presented from an Active/Active array.
- Round Robin (RR)
Uses an automatic path selection rotating through all available paths and enabling the distribution of the load across the paths. For Active/Passive arrays, only the paths to the active controller will used in the round robin. For Active/Active arrays, all paths will used in the round robin. This policy is not currently supported for LUNs that are part of a Microsoft Cluster Service (MSCS) virtual machine. These only apply to VMware's Native Multipathing (NMP) Path Selection Plugins (PSP). Third party PSPs have their own restrictions.
VMware does not recommend changing the LUN policy from Fixed to MRU as this policy is based on the array that has been detected by the NMP PSP.
Switching to Round Robin is safe and supported for all arrays.
- Differentiate between NMP and third-party MPP
The VMkernel multipathing plugin that ESX provides by default is the VMware Native Multipathing Plugin (NMP). The NMP is an extensible module that manages subplugins. There are two types of NMP subplugins
- Storage Array Type Plugins (SATPs)
- Selection Plugins (PSPs).
- SATPs and PSPs can be built-in and provided by VMware, or can be provided by a third party.
If more multipathing functionality is required, a third party can also provide an Mulitple Multipathing Plugin (MPP) to run in addition to, or as a replacement for, the default NMP. A MPP is provided especially for one type of storage array by you vendor and can contain specific multipathing configurations the further improve performance. The multipathing modules perform the following operations:
- Manage physical path claiming and unclaiming.
- Manage creation, registration, and deregistration of logical devices.
- Associate physical paths with logical devices.
- Process I/O requests to logical devices:
- Select an optimal physical path for the request.
- Depending on a storage device, perform specific actions necessary to handle path failures and I/O command retries.
- Support management tasks, such as abort or reset of logical devices.
Tools
|