Rescan All Hba’s Where are you?

So I was updating some of my blog posts on the esxcfg-* commands with any changes in ESX 4. I wrote earlier I did not know much about the esxcfg-advcfg command. Since writing that post at the end of 2008, I found Duncan Epping used esxcfg-advcfg in 3.5 to set the option rescan all the Hba’s. I thought this was a great shortcut and decided to try it out in vSphere but:

[[email protected] ~]# esxcfg-advcfg -s 1 /Scsi/ScsiRescanAllHbas
Exception occured: Unable to find option ScsiRescanAllHbas

So I looked through vCenter 4 and did not find the option under Scsi I looked around some in the other Advanced Options and it is no where to be found.

Has this been removed or moved somewhere else? If you know hit me up on twitter @2vcps

Write in Campaign! Vote Now! Top Five Blogs

Not that I think I am worthy of winning. There are so many better blogs relating to VMware out there. If though I can get someone besides my Mom, Dad, Wife and myself to vote for me I will be able to sleep tonight. 🙂

Vote for the best 5 VMware Blogs!

Who will be the elusive 5th 2Vcps and Truck vote? I am not beyond envoking sympathy, empathy and begging. So vote the common guy, a blog you can believe in! Write it in!

Woo woo!

These guys would vote for me.
Out.

ESX Commands – esxcfg-module

After the last two entries being somewhat boring and not useful at least in my opinion. I am glad this command has a little more to it.

[[email protected] root]# esxcfg-module -h
Usage: esxcfg-module
-g–get-options Get the options for a given module and whether it is loaded on boot.
-s–set-options Set the options for a given module. WARNING this may be overwritten by per device options.
-e–enable Enable a given module, indicating it should be loaded on boot.
-d–disable Disable a given module, indicating it should not be loaded on boot.
-q–query Query enabled modules options.
-l–list List all modules and whether they are enabled.
-h–help Show this message.
[[email protected] root]# esxcfg-module -l
Device Driver Modules
Module Enabled Loaded
vmklinux true true
cciss true true
tg3 true true
qla4022 true true
e1000 true true
qla2300_707_vmwtrue truel
vmdriver true true
vmfs3 true true
etherswitch true true
shaper true true
tcpip true true
cosShadow true true
migration true true
nfsclient true true
deltadisk true true
vmfs2 true true
iscsi_mod true true
[[email protected] root]#

So a common use I have seen with this command is to turn off unused modules. Go ahead and free up some resources turn off vmfs2! You don’t use it.
Another use is to change HBA options.

/usr/sbin/esxcfg-module -s ql2xmaxqdepth=64 qla2300_707_vmw
Remember to follow it with:
/usr/sbin/esxcfg-boot -b

Check out VCDX Master Ninja/Jedi Duncan Epping using this command combo in a scripted install.

ESX Commands – esxcfg-linuxnet

The guide from VMware.com says

esxcfg-linuxnet
Converts vswif to eth when booting ESX Server into service-console-only mode rather than into ESX mode. This command is used for the bootstrap process and is intended for VMware Technical Support use only. You should not issue this command unless instructed to do so by a VMware Technical Support representative.
There is no VI Client equivalent for this command.

Wow I should have saved all these for one post called stuff you don’t use unless someone smart tells you to.

Don’t worry though I checked ahead esxcfg-module has more too it. I actually slightly looked at it when I covered esxcfg-boot.

ESX Commands – esxcfg-init

Wow, this was a good one eh?
check out the help.

[[email protected] root]# esxcfg-init -h
Usage: esxcfg-init
This program is used to initialize device names and advanced configuration options for the VMkernel on system boot.It is NOT intended for use outside of initialization scripts.
[[email protected] root]#

I decided to google the command to see if anyone had insight. Not much more than what I give here. The help command then nothing. So for real I might get 2 blog posts in one day since this is so short.

vSphere-land’s Top 20 and Looking for Performance

(This post should have gone out last week. Ooops!)
Check out the top 20!

I would like to be on this list someday. I couldn’t find one of these blogs that I would slide out to let me in. I know these people put a ton of time into creating their content. So congratulations to the top 20.

From 2vcps:
More short VCDX notes coming with concern to command line tips for ESX 3.5. I am also working on some Exchange 2007 on VMware posts. Eventually some upgrading to vSphere 4 posts will be on the way.

What I have been looking for is VMFS vs RDM vs Guest iSCSI performance stats. I found some good information on VMFS and RDM. Since using iSCSI inside of the guest is not supported I am not finding any stats on the performance. To the naked eye running Exchange it seems to be working fine. I would like to see some numbers though.

Just wondering if I can find some statistics or opinions to help form a standard operating procedure for deployments.