esxi kickstart script /w iscsi
Posted on 2016-10-04
So I need to enable iSCSI Software Adapter.
Then I need to set values for the iSCSI
It would be simpliar if the vmhbaxx was the same on all host, however it is not.
Is there a command that can scan and grep for the vmhba (example host one might be vmhba41 whereas host 2 is vmhba38
Then change some of the advance settings including to renaming the iqn to be
So it renames the iqn to whatever the host name is?
enable iSCSI software adapter
esxcli iscsi software set --enabled=true
The advance settings for the iscsi that needs to be set on all host, and new builds are:
LoginTimeout and change the value to 60
uncheck the box for “Delayed ack”
Then chap username/password
and rename iqn