Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vmware:vsan:vsanlab [2020/04/20 20:08] – [Raspi als WLAN Access Point und DHCP/DNS Server] mschubivmware:vsan:vsanlab [2020/12/17 20:22] (current) – [PowerShell zur Vorbereitung von ESXi Lab] mschubi
Line 1: Line 1:
 ====== vSAN Lab HW & SW ====== ====== vSAN Lab HW & SW ======
 +===== Neuzugang ESXi ARM Fling =====
 +Endlich ist mein Raspi 4 mit 8GB RAM und einem 4" Display fertig und bootet mit dem ESXi für ARM Fling.
 +Zwei schnelle Samsung USB Sticks (128GB & 256GB) dienen als SSD Ersatz. Dank Advanced Parameter kann man diese auch für vSAN verwenden.
 +
 +Somit habe ich jetzt eine Witness für den NUC Cluster :-)
 +
 +{{ :vmware:vsan:esxi-arm-witness.jpg?400 |}}
 +
 +
 +<code bash>
 +/etc/init.d/usbarbitrator stop
 +chkconfig usbarbitrator off
 +
 +esxcli system settings advanced set -o /VSAN/AllowUsbDisks -i 1
 +esxcli system settings advanced set -o /Disk/AllowUsbClaimedAsSSD -i 1
 +
 +[root@witness-arm:~] vdq -q
 +[
 +   {
 +      "Name"     : "mpx.vmhba33:C0:T0:L0",
 +      "VSANUUID" : "",
 +      "State"    : "Eligible for use by VSAN",
 +      "Reason"   : "USB disk",
 +      "IsSSD"    : "0",
 +"IsCapacityFlash": "0",
 +      "IsPDL"    : "0",
 +      "Size(MB)" : "122376",
 +   "FormatType" : "512n",
 +   },
 +
 +   {
 +      "Name"     : "mpx.vmhba32:C0:T0:L0",
 +      "VSANUUID" : "",
 +      "State"    : "Ineligible for use by VSAN",
 +      "Reason"   : "Has partitions",
 +      "IsSSD"    : "0",
 +"IsCapacityFlash": "0",
 +      "IsPDL"    : "0",
 +      "Size(MB)" : "15296",
 +   "FormatType" : "512n",
 +   },
 +
 +   {
 +      "Name"     : "mpx.vmhba34:C0:T0:L0",
 +      "VSANUUID" : "",
 +      "State"    : "Eligible for use by VSAN",
 +      "Reason"   : "USB disk",
 +      "IsSSD"    : "0",
 +"IsCapacityFlash": "0",
 +      "IsPDL"    : "0",
 +      "Size(MB)" : "244752",
 +   "FormatType" : "512n",
 +   },
 +
 +]
 +
 +[root@witness-arm:~] esxcli storage nmp satp rule list --satp=VMW_SATP_LOCAL
 +Name            Device                Vendor  Model  Driver  Transport  Options     Rule Group  Claim Options  Default PSP  PSP Options  Description
 +--------------  --------------------  ------  -----  ------  ---------  ----------  ----------  -------------  -----------  -----------  -----------
 +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                                               pcie                   system                                               PCIe Devices
 +VMW_SATP_LOCAL                                               unknown                system                                               Unknown Devices
 +VMW_SATP_LOCAL  mpx.vmhba33:C0:T0:L0                                    enable_ssd  user
 +VMW_SATP_LOCAL  mpx.vmhba34:C0:T0:L0                                    enable_ssd  user
 +
 +
 +[root@witness-arm:~] vdq -q
 +[
 +   {
 +      "Name"     : "mpx.vmhba33:C0:T0:L0",
 +      "VSANUUID" : "",
 +      "State"    : "Eligible for use by VSAN",
 +      "Reason"   : "USB disk",
 +      "IsSSD"    : "1",
 +"IsCapacityFlash": "0",
 +      "IsPDL"    : "0",
 +      "Size(MB)" : "122376",
 +   "FormatType" : "512n",
 +   },
 +
 +   {
 +      "Name"     : "mpx.vmhba32:C0:T0:L0",
 +      "VSANUUID" : "",
 +      "State"    : "Ineligible for use by VSAN",
 +      "Reason"   : "Has partitions",
 +      "IsSSD"    : "0",
 +"IsCapacityFlash": "0",
 +      "IsPDL"    : "0",
 +      "Size(MB)" : "15296",
 +   "FormatType" : "512n",
 +   },
 +
 +   {
 +      "Name"     : "mpx.vmhba34:C0:T0:L0",
 +      "VSANUUID" : "",
 +      "State"    : "Eligible for use by VSAN",
 +      "Reason"   : "USB disk",
 +      "IsSSD"    : "1",
 +"IsCapacityFlash": "0",
 +      "IsPDL"    : "0",
 +      "Size(MB)" : "244752",
 +   "FormatType" : "512n",
 +   },
 +
 +]
 +
 +</code>
 +
 +==== PowerShell zur Vorbereitung von ESXi Lab ====
 +
 +Einige Einstellungen zur Vorbereitung des Labs
 +<code powershell>
 +Connect-VIServer esx-arm-2.schubi.local
 +
 +Set-VMHostAdvancedConfiguration -Name "VSAN.AllowUsbDisks" -Value "1"
 +Set-VMHostAdvancedConfiguration -Name "Disk.AllowUsbClaimedAsSSD" -Value "1"
 +
 +Set-VMHostAdvancedConfiguration -Name "VSAN.SwapThickProvisionDisabled" -Value "1"
 +
 +</code>
 +
 +
 +===== NUC Lab =====
  
 {{:vmware:vsan:img_0459.jpg?nolink&400 |}} {{:vmware:vsan:img_0459.jpg?nolink&400 |}}
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International