Skip to content

vSphere Client Caching

July 29, 2010

vExpert Guest Post: Jason Boche

Are you a full time VI Administrator? Managing a large environment with several vCenter Servers? Is providing vSphere Client connection parameters on a regular basis giving you Carpal Tunnel Syndrome? Following are a few tips which may help you out by reducing the amount of data entry you have to perform each time you reach for the vSphere Client

Tip #1: Leverage the “Use Windows session credentials” option wherever possible. This prevents you from having to type in your User name and Password for the connection:

Tip #2: Make use of the IP address / Name pull down box when possible. The values in this box are stored in the registry in the following key (you can pre-populate this key with connection points throughout your infrastructure when deploying the vSphere Client to administrative desktops):
HKEY_CURRENT_USER\Software\VMware\VMware Infrastructure Client\Preferences
RecentConnections

Tip #3: Alternatively, you can use the -s parameter to pre-populate the IP address / Name field (ie. “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -s myhost):

Tip #4: What if you can’t use integrated Windows session credentials with the vCenter Server you’re connecting to? Launch the vSphere Client with the -u parameter to pre-populate the User name field (ie. “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -u jason):

Tip #5: Here’s an option I’d advise you to use very cautiously – caching the password portion of your credentials. Launch the vSphere Client with the -p parameter to pre-populate the Password field (ie. “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -u jason -p test123):

About these ads
3 Comments leave one →
  1. July 30, 2010 10:40 am

    Don’t forget about my favorite one: -passthroughAuth

    “C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe” -passthroughAuth -s myhost.domain.local”

    It enhances Tip 1 in that you don’t even have to click Ok for it to start logging you in. I use it on most vCenter servers so that I can just click on the icon and hit enter for it to start loading. It’s either lazy or clever – still trying to decide…

    • July 30, 2010 10:43 am

      Yep, I’m going to have to try that. Not lazy, work smarter not harder!

Trackbacks

  1. Pre-populating vSphere Client connection properties - motogobi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 707 other followers

%d bloggers like this: