ESX 3.5 HOW TO obtain storage information from vimsh

In case it is not apparent already, vimsh is something you can invoke on an ESX 3.5.x environment, in order to grab some sometimes necessary storage information.

One particular problem that was outstanding for some time was finding a way to read /proc/vmware/scsi/vmhba<x>/* content. Specifically, the SCSI/LUN ID was sought-after by some TSEs and customers, which are unavailable due to the relevant /proc/vmware/scsi/ nodes being omitted on ESX 3.5.x.

Provided is a simple line to grab the output using vimsh:

“vimsh -n -e hostsvc/storage/topology_info &> test.txt”

It will in this order:

–          Run vimsh in non-interactive mode with the “n” switch.

–          Using the “e” switch, will run “hostsvc/storage/topology_info” for you.

–          Will suppress STD_OUT with the “&” sign before the output redirector (benign “file not found” error shows up, may as well ignore).

–          Output the content to the test.txt file.

Obviously the above is run in BASH / the COS.

If you want a more general overview of storage, replace “topology_info” with “info”.

When running vimsh, remember that you can use “Tab” to list the available files/commands and categories. Content of a file/command is displayed by invoking it directly. We effectively execute hostsvc/storage/topology_info to list this information. Hostsvc and storage are directories or categories.

There is a wealth of information contained and accessed by this utility. I don’t believe we want customers to play around with it, but I imagine you may run into cases where they need the SCSI information for their SAN teams. The above should help a bit.

Note that vsish acts differently, and contained values are obtained using “get”.

Good luck, hope it helps some of you out there still confused.

Zimbra 4.5.6 to 5.0.10 upgrade notes

Things I needed to do for Zimbra to work – 4.5.6 to 5.0.10 upgrade.

1) Mysql root/user passwords need to match what’s in /opt/zimbra/conf/localconfig.xml. I played around with mine and managed to screw this up.
2) Since I changed the hostname, ldap wouldn’t start. To fix this, I had to rebuild the SSL certificates. You can do this here: http://wiki.zimbra.com/index.php?title=SSL_Certificate_Problems – I had some trouble following directions – note the version numbers – they’re important. 🙂
3) Make sure that 127.0.0.1 is in zimbraMtaMyNetworks. Ref: http://wiki.zimbra.com/index.php?title=ZimbraMtaMyNetworks – if not, you won’t be able to send mail out – it will say relaying denied.

The United States of Spain or Mexico!?

I just bought a refurbished printer/scanner from the Epson store online and with it came a quick start guide and manual, but the manual only came in Spanish! WTF!? Did I buy the device in Mexico or the US!? What’s the United States coming to!? Last time I looked, the United States’ national language was English! You can confirm that here too! Then, I got a motion detector light because at my house, the street lights aren’t directly across from my house, so I can’t see where to stick the key in at night. Going by my sense of touch just wasn’t enough, so I decided to get one of those. It’s the model E100WSB-C made by EML Technologies, LLC. Why the heck did it only include instructions in Spanish!? Do they assume that most installers are Mexicans or of South American descent? I can understand having both languages, but really can’t understand Spanish only. It makes no sense to me.

If you can guess, I’m totally against education of subjects other than foreign language in a foreign language as well. I don’t see why school systems need to teach mathematics in Spanish or history in Spanish in the United States. I think that if you come to this country, you should be learning the national language.

Also, when was the last time you dialed into an automated system and heard, “For English, press 1”? I don’t remember not hearing that!

I’m open to comments. 🙂

NBC olympic site All-time Medal count unfair …

If you look at the site, it may be a little misleading. The USSR and East Germany haven’t been around for many years. If you combine East Germany into Germany and all of the countries of the former USSR, you’ll have a very different number. I think that if the USSR was united today, there’s a good chance that they would have more medals than the USA.

Don’t get me wrong. I still love our country. As a matter of fact, I have a bet going on with a friend that the US will definitely have both, more gold medals and more medals than China this year at the Beijing Olympics.

What’s USB device VID_07aa&PID_0011 ? Any Windows XP driver available?

This happens to be my old ass USB wireless lan adapter – only 11Mbps. Good enough for an old system and just to get online though it doesn’t have a whole lot of range. The reason I’m posting is because I did a search and couldn’t find the driver very quickly. It’s available at www.driverguide.com, but I’m so tired of having to click through their ads to get to my final driver download. The driver is available for downloading here.

Poor Shayna Baszler … Mazagatti let her take an extra, unnecessary beating

I’m a fan of Baszler, but really, since she was so gassed, did she really have a shot? Should Mazagatti really allowed it to continue? I think most refs would’ve stopped the fight there. Maybe he should’ve asked her if she wanted to continue.

Judge for yourself:

tyborg tazler – MyVideo
Shayna Baszler Vs Cristiane Cyborg Santos