Solved

esxi kickstart script /w iscsi

Posted on 2016-10-04
3
120 Views
Last Modified: 2016-10-28
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
iqn.1998-01.com.vmware:%hostname%

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
0
Comment
Question by:Indyrb
  • 2
3 Comments
 
LVL 120
ID: 41828663
edit esx.conf and change the configuration.

You will be able to change vmhbaxx and alter Advanced settings.
0
 

Author Comment

by:Indyrb
ID: 41832256
So if you create a ks.cfg called upon during deployment, do you also edit esx.conf or can you do that via install and ks,cfg?  if via ks.cfg what are the commands to complete both renaming the detected iSCSI vmhba and setting the iqn based upon hostname once entered when configurating the MGMT port and hostname
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 41832437
you can create scripts, to alter the esx.conf.

there are no commands, you would use scripts to copy the configuration you require to build up the configuration file.
0

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question