Solved

esxi kickstart script /w iscsi

Posted on 2016-10-04
3
64 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 117
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now