Hello guys.
A quick one.
I have a couple of ESXi host with 200 luns; which come from a EMC storage.
I want the ESXi to be installed on the local storage (DELL PERC Controller, RAID1 volume), automatically (kickstart script).
As you well may notice, i don't want to install the system over a datastore full of VMs, by mistake.
According to documentation, "install" accepts "--disk" with driver.
Installation and Upgrade Script Commands
"You can combine filters to specify a particular disk, including esxfor the first disk with ESX installed on it, model and vendor information, or the name of the vmkernel device driver"
I have confirmed that my local disk uses megaraid_sas or lsi_mr3 as module/driver.
------------------------------------------------------------------------------------------------------------------------------------------
# esxcfg-scsidevs -a | grep PERC
vmhba0 lsi_mr3 link-n/a sas.51866da0be5f3700 (0000:03:00.0) Avago (LSI) PERC H730 Mini
# esxcli software vib list | grep lsi
lsi-mr3 7.703.20.00-1OEM.600.0.0.2768847 Avago VMwareCertified 2019-01-14
lsi-msgpt3 16.00.01.00-1OEM.600.0.0.2768847 Avago VMwareCertified 2019-01-14
lsu-lsi-lsi-mr3-plugin 1.0.0-3vmw.600.3.57.5050593 VMware VMwareCertified 2019-01-14
lsu-lsi-lsi-msgpt3-plugin 1.0.0-1vmw.600.0.0.2494585 VMware VMwareCertified 2019-01-14
lsu-lsi-megaraid-sas-plugin 1.0.0-3vmw.600.3.57.5050593 VMware VMwareCertified 2019-01-14
lsu-lsi-mpt2sas-plugin 1.0.0-4vmw.600.1.17.3029758 VMware VMwareCertified 2019-01-14
lsu-lsi-mptsas-plugin 1.0.0-1vmw.600.0.0.2494585 VMware VMwareCertified 2019-01-14
-------------------------------------------------------------------------------------------------------------------------------------------
# esxcfg-scsidevs -a | grep PERC
vmhba0 megaraid_sas link-n/a unknown.vmhba0 (0000:05:00.0) LSI / Symbios Logic Dell PERC H700 Integrated
# esxcli software vib list | grep megaraid
lsu-lsi-megaraid-sas-plugin 1.0.0-2vmw.600.0.11.2809209 VMware VMwareCertified 2016-07-04
scsi-megaraid-mbox 2.20.5.1-6vmw.600.0.0.2494585 VMware VMwareCertified 2016-07-04
scsi-megaraid-sas 6.603.55.00-2vmw.600.0.0.2494585 VMware VMwareCertified 2016-07-04
scsi-megaraid2 2.00.4-9vmw.600.0.0.2494585 VMware VMwareCertified 2016-07-04
-------------------------------------------------------------------------------------------------------------------------------------------
So, has anyone tried something like this?
install --disk=scsi_megaraid_sas,lsi_mr3 --overwritevmfs
Note: Is it scsi-megaraid-sas or megaraid_sas?
Thank you!!!!
Hi,
it makes sense according to documentation, but from my experience You have to check if it's working. Sometimes exact driver name is not enough and You will have to search what string to enter to represent driver in question.
In my production ks.cfg script, used on HPE rack and blade class servers, it looks like this:
vmaccepteula
rootpw VMware1!
reboot
install --firstdisk=hpsa --overwritevmfs