4
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VMWare vSphere 6にマルチパスプラグインをインストールする 1

Posted at

vSphere6になってありがたいこととして、サードパーティ製マルチパスプラグインが利用できるようになったこと。
多分VVOL対応のためだと思う。
今までEnterprise以上でないと使えなかったのが使えるのはいいこと。

VMWare標準のプラグインはNMP(Native Multipath Plugin)という物で、標準的動作をする汎用的なモジュールといくつかのベンダーが自社向けに作ったモジュールが含まれる。
サードパーティ製プラグインは上記NMPに組み込まれていない独自モジュールという感じ。
別に汎用モジュールでも問題は起きないが、より最適化されたモジュールって響きは魅力的w

この独自マルチパスプラグインは無償提供しているベンダー、有償のベンダーといろいろあり、同じベンダーでも機種によって違うなどはざらにある。
うちで使ってるストレージベンダーはサポート契約者向けに無償提供していたので入れてみることにする。

NMPにはSATPとPSPっていうのがある。
ざっくり言うと、SATPはストレージのパス切り替えの制御をするモジュールで、PSPってのはどのパスを使って通信するかを決めるもの。

ESXiで以下のコマンドを実行すると、どんなSATPが組み込まれているかがわかる。
HPやEMCあたりのが標準ではいっている模様。
LSI Logicのも入ってる(LSI Logic OEMなストレージって結構あるらしい)

> esxcli storage nmp satp list
Name                 Default PSP    Description                                            
-------------------  -------------  -------------------------------------------------------
VMW_SATP_ALUA        VMW_PSP_MRU    Supports non-specific arrays that use the ALUA protocol
VMW_SATP_MSA         VMW_PSP_MRU    Placeholder (plugin not loaded)                        
VMW_SATP_DEFAULT_AP  VMW_PSP_MRU    Placeholder (plugin not loaded)                        
VMW_SATP_SVC         VMW_PSP_FIXED  Placeholder (plugin not loaded)                        
VMW_SATP_EQL         VMW_PSP_FIXED  Placeholder (plugin not loaded)                        
VMW_SATP_INV         VMW_PSP_FIXED  Placeholder (plugin not loaded)                        
VMW_SATP_EVA         VMW_PSP_FIXED  Placeholder (plugin not loaded)                        
VMW_SATP_ALUA_CX     VMW_PSP_RR     Placeholder (plugin not loaded)                        
VMW_SATP_SYMM        VMW_PSP_RR     Placeholder (plugin not loaded)                        
VMW_SATP_CX          VMW_PSP_MRU    Placeholder (plugin not loaded)                        
VMW_SATP_LSI         VMW_PSP_MRU    Placeholder (plugin not loaded)                        
VMW_SATP_DEFAULT_AA  VMW_PSP_FIXED  Supports non-specific active/active arrays             
VMW_SATP_LOCAL       VMW_PSP_FIXED  Supports direct attached devices            

以下のコマンドでもう少し詳しい情報が見える。
比較的古いモデルが多いようです。NetAppは新しいモデルも大丈夫みたい。

> esxcli storage nmp satp rule list
Name                 Device  Vendor   Model             Driver  Transport  Options                     Rule Group  Claim Options                        Default PSP  PSP Options  Description                                                               
-------------------  ------  -------  ----------------  ------  ---------  --------------------------  ----------  -----------------------------------  -----------  -----------  --------------------------------------------------------------------------
VMW_SATP_ALUA                LSI      INF-01-00                            reset_on_attempted_reserve  system      tpgs_on                              VMW_PSP_MRU               NetApp E-Series arrays with ALUA support                                  
VMW_SATP_ALUA                NETAPP                                        reset_on_attempted_reserve  system      tpgs_on                              VMW_PSP_RR                NetApp arrays with ALUA support                                           
VMW_SATP_ALUA                IBM      2810XIV                                                          system      tpgs_on                              VMW_PSP_RR                IBM 2810XIV arrays with ALUA support                                      
VMW_SATP_ALUA                IBM      2107900                              reset_on_attempted_reserve  system                                           VMW_PSP_RR                                                                                          
VMW_SATP_ALUA                IBM      2145                                                             system                                           VMW_PSP_RR                                                                                          
VMW_SATP_ALUA                                                                                          system      tpgs_on                                                        Any array with ALUA support                                               
VMW_SATP_MSA                          MSA1000 VOLUME                                                   system                                                                     MSA 1000/1500 [Legacy product, Not supported in this release]             
VMW_SATP_DEFAULT_AP          DEC      HSG80                                                            system                                                                                                                                               
VMW_SATP_DEFAULT_AP                   HSVX700                                                          system      tpgs_off                                                       active/passive HP StorageWorks SVSP                                       
VMW_SATP_DEFAULT_AP                   HSV100                                                           system                                                                     active/passive EVA 3000 GL [Legacy product, Not supported in this release]
VMW_SATP_DEFAULT_AP                   HSV110                                                           system                                                                     active/passive EVA 5000 GL [Legacy product, Not supported in this release]
VMW_SATP_EQL                 EQLOGIC                                                                   system                                                                     All EqualLogic Arrays                                                     
VMW_SATP_INV                 EMC      Invista                                                          system                                                                                                                                               
VMW_SATP_INV                 EMC      LUNZ                                                             system                                                                     Invista LUNZ                                                              
VMW_SATP_EVA                          HSV200                                                           system      tpgs_off                                                       active/active EVA 4000/6000 XL                                            
VMW_SATP_EVA                          HSV210                                                           system      tpgs_off                                                       active/active EVA 8000/8100 XL                                            
VMW_SATP_EVA                          HSVX740                                                          system      tpgs_off                                                       active/active HP StorageWorks SVSP                                        
VMW_SATP_EVA                          HSV101                                                           system      tpgs_off                                                       active/active EVA 3000 GL [Legacy product, Not supported in this release] 
VMW_SATP_EVA                          HSV111                                                           system      tpgs_off                                                       active/active EVA 5000 GL [Legacy product, Not supported in this release] 
VMW_SATP_EVA                          HSV300                                                           system      tpgs_off                                                       active/active EVA 4400                                                    
VMW_SATP_EVA                          HSV400                                                           system      tpgs_off                                                       active/active EVA 6400                                                    
VMW_SATP_EVA                          HSV450                                                           system      tpgs_off                                                       active/active EVA 8400                                                    
VMW_SATP_ALUA_CX             DGC                                                                       system      tpgs_on                                                        CLARiiON array in ALUA mode                                               
VMW_SATP_SYMM                EMC      SYMMETRIX                                                        system                                                                     EMC Symmetrix                                                             
VMW_SATP_CX                  DGC                                                                       system      tpgs_off                                                       All non-ALUA Clariion Arrays                                              
VMW_SATP_LSI                 IBM      ^1742*                                                           system      tpgs_off                                                       FAStT 700/900                                                             
VMW_SATP_LSI                 IBM      ^3542*                                                           system      tpgs_off                                                       FAStT 200                                                                 
VMW_SATP_LSI                 IBM      ^3552*                                                           system      tpgs_off                                                       FAStT 500                                                                 
VMW_SATP_LSI                 IBM      ^1722*                                                           system      tpgs_off                                                       FAStT 600/DS4300                                                          
VMW_SATP_LSI                 IBM      ^1815*                                                           system      tpgs_off                                                       FAStT DS4800                                                              
VMW_SATP_LSI                 IBM      ^1724*                                                           system      tpgs_off                                                       FAStT 100                                                                 
VMW_SATP_LSI                 IBM      ^1726-*                                                          system      tpgs_off                                                       DS3X00                                                                    
VMW_SATP_LSI                 IBM      ^1814*                                                           system      tpgs_off                                                       DS4000                                                                    
VMW_SATP_LSI                 IBM      ^1818*                                                           system      tpgs_off                                                       DS5100/DS5300                                                             
VMW_SATP_LSI                          Universal Xport                                                  system      tpgs_off                                                       FAStT                                                                     
VMW_SATP_LSI                 DELL     MD3000                                                           system      tpgs_off                                                       Dell MD3000                                                               
VMW_SATP_LSI                 DELL     MD3000i                                                          system      tpgs_off                                                       Dell MD3000i                                                              
VMW_SATP_LSI                 STK      OPENstorage 9176                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      OPENstorage D173                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      OPENstorage D178                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      OPENstorage D210                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      OPENstorage D220                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      OPENstorage D240                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      OPENstorage D280                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr BC82                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr BC84                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr BC88                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr B210                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr B220                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr B240                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      BladeCtlr B280                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      INF-01-00                                                        system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 STK      FLEXLINE 380                                                     system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage 9176                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage D173                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage D178                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage D210                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage D220                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage D240                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      OPENstorage D280                                                 system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr BC82                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr BC84                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr BC88                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr B210                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr B220                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr B240                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      BladeCtlr B280                                                   system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      INF-01-00                                                        system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 LSI      FLEXLINE 380                                                     system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      CSM100_R_FC                                                      system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      FLEXLINE 380                                                     system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      CSM200_R                                                         system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      LCSM100_F                                                        system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      LCSM100_I                                                        system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      LCSM100_S                                                        system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 SUN      STK6580_6780                                                     system      tpgs_off                                                       Sun StorageTek 6580/6780                                                  
VMW_SATP_LSI                 ENGENIO  INF-01-00                                                        system      tpgs_off                                                                                                                                 
VMW_SATP_LSI                 IBM      ^1746*                                                           system      tpgs_off                                                       IBM DS3512/DS3524                                                         
VMW_SATP_LSI                 DELL     MD32xx                                                           system      tpgs_off                                                       Dell MD3200                                                               
VMW_SATP_LSI                 DELL     MD32xxi                                                          system      tpgs_off                                                       Dell MD3200i                                                              
VMW_SATP_LSI                 SGI      IS500                                                            system      tpgs_off                                                       SGI InfiniteStorage 4000/4100                                             
VMW_SATP_LSI                 SGI      IS600                                                            system      tpgs_off                                                       SGI InfiniteStorage 4600                                                  
VMW_SATP_LSI                 SUN      SUN_6180                                                         system      tpgs_off                                                       Sun Storage 6180                                                          
VMW_SATP_LSI                 DELL     MD36xxi                                                          system      tpgs_off                                                       Dell MD3600i                                                              
VMW_SATP_LSI                 DELL     MD36xxf                                                          system      tpgs_off                                                       Dell MD3600f                                                              
VMW_SATP_DEFAULT_AA          HITACHI                                                                   system      inq_data[128]={0x44 0x46 0x30 0x30}  VMW_PSP_RR                                                                                          
VMW_SATP_DEFAULT_AA          IBM      2810XIV                                                          system      tpgs_off                             VMW_PSP_RR                IBM 2810XIV arrays without ALUA support                                   
VMW_SATP_DEFAULT_AA                                             fc                                     system                                                                     Fibre Channel Devices                                                     
VMW_SATP_DEFAULT_AA                                             fcoe                                   system                                                                     Fibre Channel over Ethernet Devices                                       
VMW_SATP_DEFAULT_AA                                             iscsi                                  system                                                                     iSCSI Devices                                                             
VMW_SATP_DEFAULT_AA          IBM      SAS SES-2 DEVICE                                                 system                                                                     IBM SAS SES-2                                                             
VMW_SATP_DEFAULT_AA          IBM      1820N00                                                          system      tpgs_off                                                       IBM BCS RSSM                                                              
VMW_SATP_DEFAULT_AA          HITACHI                                                                   system                                                                                                                                               
VMW_SATP_LOCAL                                                  usb                                    system                                                                     USB Devices                                                               
VMW_SATP_LOCAL                                                  ide                                    system                                                                     IDE Devices                                                               
VMW_SATP_LOCAL                                                  block                                  system                                                                     RAID Block Devices                                                        
VMW_SATP_LOCAL                                                  parallel                               system                                                                     Parallel SCSI Devices                                                     
VMW_SATP_LOCAL                                                  sas                                    system                                                                     Serial Attached SCSI Devices                                              
VMW_SATP_LOCAL                                                  sata                                   system                                                                     Serial ATA Devices                                                        
VMW_SATP_LOCAL                                                  unknown                                system                                                                     Unknown Devices                           

標準で組み込まれているPSPは以下のコマンドでわかる。

> esxcli storage nmp psp list
Name           Description                      
-------------  ---------------------------------
VMW_PSP_MRU    Most Recently Used Path Selection
VMW_PSP_RR     Round Robin Path Selection       
VMW_PSP_FIXED  Fixed Path Selection

んで、今どんなSATPとPSPを使っているかは以下コマンドで確認。


> esxcli storage nmp device list
naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   Device Display Name: FUJITSU Fibre Channel Disk (naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
   Storage Array Type: VMW_SATP_ALUA
   Storage Array Type Device Config: {implicit_support=on;explicit_support=off; explicit_allow=on;alua_followover=on; action_OnRetryErrors=off; {TPG_id=32912,TPG_state=ANO}{TPG_id=32897,TPG_state=AO}}
   Path Selection Policy: VMW_PSP_RR
   Path Selection Policy Device Config: {policy=rr,iops=1000,bytes=10485760,useANO=0; lastPathIndex=1: NumIOsPending=0,numBytesPending=0}
   Path Selection Policy Device Custom Config: 
   Working Paths: vmhba4:C0:T0:L0
   Is USB: false

naa.xxxxxxxxxxxxxxxxxxxxxxxx
   Device Display Name: FTS Serial Attached SCSI Disk (naa.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
   Storage Array Type: VMW_SATP_LOCAL
   Storage Array Type Device Config: SATP VMW_SATP_LOCAL does not support device configuration.
   Path Selection Policy: VMW_PSP_FIXED
   Path Selection Policy Device Config: {preferred=vmhba2:C2:T0:L0;current=vmhba2:C2:T0:L0}
   Path Selection Policy Device Custom Config: 
   Working Paths: vmhba2:C2:T0:L0
   Is USB: false

SATPはVMW_SATP_ALUA、PSPはVMW_PSP_RRになっていることがわかる。
PSPに関してはVMWare側はVMW_PSP_MRUでテストをしているようですが、機器ベンダー側がVMW_PSP_RRを推奨していたので、そう設定済み。

なんか長くなったのでわけます。

4
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?