Jul 25

So a user account is getting locked out from your vCenter server?  Check the windows security event logs, they typically clearly point out the culprit.  If they are not much help you can start with the common things that are applicable for any server causing account lockouts:

Services

These can be running under the locked out user account

Persistent Drive Mappings

Using the locked out user account credentials

Disconnected TS/RDS Sessions

A process can be running that is using the locked out user credentials

ODBC Connections

Ensure you did not use the user account that is being locked out for an ODBC connection for the vCenter database

Scheduled Tasks

Scheduled task(s) can be setup to run as the locked out user

Once you’ve exhausted all of that…

VMware Specific Areas to Check

vSphere Client

Can be running with out of date credentials and caused the lockout, you can use the sessions area in vCenter to check for active sessions

vCenter Plugins

Guided Consolidation

Uses a specified user account to poll servers to see if they are good candidates for virtualization

Update Manager

Has a proxy configuration area you can define a user account to login to the proxy with

VMware Data Recovery

Data Recovery uses stored credentials to connect to vCenter, ensure the specified user isn’t the one being locked out

NetApp’s Vitual Storage Console

I don’t think there is specifically a place you can have cached credentials in here, but I registered this to my vCenter using my account and it ultimately ended up locking me out about a month later when I changed my password due to expiration

Still Stumped?

Look at any Monitoring Tools (especially trials and free utilities you may have forgotten about) you ever installed on the box that might be running with the locked out user account: Veeam tools, vKernel tools, Vizioncore tools, Quest vFoglight Quick View, etc.  You can always disable services and wait to see if the lockouts continue if you really get stumped.

Jul 1

First please know that vCenter being down does not take your whole vSphere environment down.  It limits you on creating new tasks (like deploying a new VM from template) until vCenter is back up.  When vCenter is down HA/FT continue to function.

Physical or Virtual

vCenter is the heart of VMware’s virtualized infrastructure, but many folks are reluctant to virtualize their vCenter.   Running vCenter as a VM is completely supported by VMware.  You get all kinds of benefits from running vCenter as a Virtual Machine:

  • HA will also protect vCenter in the event the host it is running on goes down
  • You can vMotion vCenter from one host to another for maintenance and other things
  • Prior to upgrading vCenter to a newer version you can snapshot to help with rolling back more easily
  • Best of all–You gain the benefit of virtualizing yet another system and move towards virtualizing 100% of your data center.

If you are thinking about Virtualizing vCenter glance over this page out of the VMware Library:
VMware Online Library: Install vCenter Server in a Virtual Machine

High Availability

First the biggest thing is that you should remember  HA/FT will continue to operate without vCenter–all decisions will be made using a snapshot of what the extra resources were in the cluster prior to vCenter going down.

Lets look at the major things vCenter does:

  • VMware Distributed Resource Scheduler (DRS)
  • VMware High Availability (HA)/Fault Tolerance (FT) – Configuration
  • VMware VMotion + Storage VMotion
  • VMware Update Manager (Guest and Host)

After reviewing those items–does anything stick out that makes you think vCenter needs to be up 24/7?  Would HA be sufficient protection so you only have a small amount of downtime in the event the host running your vCenter VM went down?  I think yes.

Clustered?

You can look into vCenter Server Heartbeat, this is licensed as an addon to vCenter.  vCenter Server Heartbeat is basically an Active/Passive cluster for vCenter that can be setup to run locally or across your WAN.  vCenter Server Heartbeat also has the advantage that it can protect more then just the vCenter, it also protects the addons like vCenter Converter and vCenter Update Manager–even Guided Consolidation can be protected.  It is more costly then just running vCenter as a VM and protecting it with HA but the benefit of having an Active/Passive clustered vCenter + addons across the LAN/WAN may be beneficial for your organization.

Microsoft Cluster Services / Veritas Cluster Services

vCenter can be protected via “third party solutions” such as MSCS or VCS and VMware will support you to some degree but they do not certify these configurations.  If you have an issue VMware may determine the cause to be the third party software and not be of much assistance beyond that…  If you are thinking of going this route read over this VMware KB: Supported vCenter Server high availability options

Jun 24

Disable Screensavers

Disabling the screensaver saves valuable resources, also note that VMware KB 9275881 recommends disabling the Logon Screensaver as well.

You can disable the login screensaver via the registry: “HKEY_USERS\.DEFAULT\Control Panel\Desktop\ScreenSaveActive” should be set to 0

Set Visual Effects for Performance

These are unnecessary effects that waste CPU cycles, things like the fades transitions for windows and shadows under windows.  You can change this setting under Control Panel -> System -> Advanced -> Performance Settings

Disable Indexing

If you don’t need it disable it–you can stop the service to kill it entirely across the whole VM, or on a drive by drive basis by right-clicking and selecting properties.  There is an option to index or not to index the drive.

Make sure VMware Tools is installed/running

This is more for remote control performance, VMware Tools improves the mouse greatly–also make sure you set the Hardware Acceleration to full

Use VMXNET Network Adapters

VMware Tools is a requirement for VMXNET Adapters, they are the best performing network adapters

Uninstall Unnecessary Hardware/Software

If the VM was P2V’d chances are it has things like OpenManage and Broadcom/Intel related software for the old physical NICs.  You should remove this extra software that is no longer necessary.

Also the old network card is likely still installed, you can remove these by running “set devmgr_show_nonpresent_devices=1” at the command-line then going into device manager, select View -> Hidden Devices and you will now see all that old hardware and can right-click and uninstall.

 

Jun 10

VMware vCenter Mobile Access (vCMA) is a cool fling from VMware Labs. It allows mobile access to your vSphere environment via your vCenter(s).  Setting up vCMA takes very little effort as it is packaged as a virtual appliance.  You simply download vCMA as an OVF, deploy the OVF Template, and power on vCMA.  Once powered on, config the network and your ready to go.  Note that vCMA does not use a service account or static connector to vCenter, each user will login to vCenter via vCMA with their own credentials–think of vCMA as a web-based version of the vSphere  Client.

Read the rest of this entry »

May 21

With how many hits my 2008 R2 walkthrough got, I figured it was about time I do one for 2003 R2.

Remember to setup vCenter for Guest Customizations by placing the sysprep files for all the various versions of Windows in the proper locations, refer to this VMware KB Article for locations and instructions: VMware KB:1005593

Give your feedback, if you don’t agree with something let me know!

Read the rest of this entry »

May 19

Checkout this awesome new Fling from VMware Labs, it’s called InventorySnapshot.   Basically what it does is allows you to snapshot your vCenter and reproduce it on another vCenter.  Say you were doing an out of place migration and didn’t want to bring your old database along for some reason, or just in your lab trying to replicate your production config.  You don’t have to reproduce all the objects though, you can specifically restore just Resource Pool settings, DRS settings, Roles & Permissions, or again the whole damn inventory.

InventorySnapshot supports reproducing the following vCenter objects:

  • Datacenter Folders
  • Datacenters
  • Clusters
  • Resource Pools
  • vApps
  • Hierarchy
  • Roles & Permissions
  • Configuration Settings
  • Custom Fields

As you can see the only major item they are missing is Alarms, which they are working to support. The developers Balaji Parimi and Ravi Soundararajan did an excellent job documenting their Fling with a 17 page doc, they took the time to write a large troubleshooting and layout a few caveats/known bugs. Read the rest of this entry »

May 14

Slow Clones?  Deploying from Template Slow?

Before we dive into the tips do yourself a favor checkout these VMware KB Articles first:

Read the rest of this entry »

May 1

VMware Partners get access to a very nice tool called Capacity Planner–this is what VMware Partners use to come in and do an assessment of your environment and determine what can be virtualized, and how many hosts are required to make it happen.  VMware Partners use the tool free of charge from VMware–the partners and are encouraged to do these assessments at no cost for customers (after all, the results from a capacity planner assessment leads into a vSphere PoC for new customers typically).  However that left customers crying that they should have something they can run themselves–why should they have to bring in a partner to do this?

VMware answered customers by creating  vCenter Guided Consolidation–it doesn’t pack anything near the features VMware Capacity Planner does–but it offers the very basic functionality of if a particular server (and associated workload) is a good candidate for virtualization.

Installing Guided Consolidation

So you need vCenter for this if it wasn’t apparent.  It’s simply a plugin to vCenter–now the install process actually stumped me for a bit, I browsed the vCenter media for the installer and came up empty handed…then a college pointed me to the Autorun menu on the vCenter media and I face palm’d…I never let Autorun actually run–haha.

Poking around wanting to find the installer after seeing it in the Autorun menu I found that damn installer.  It’s at ./vpx/VMware-gcs.exe on the media.  GCS-Perhaps Guided Consolidation Server?

Using Guided Consolidation

This is broken up into 3 main steps:

  1. Find – Discover your physical servers
    • Find offeres these ways to discover
      • Manually enter Hostname/IP Addresses
      • Domain Discovery — via Active Directory Domains
      • Scan an IP Range
      • Suck in a text file containing a list of Hostnames/IP addresses to scan
  2. Analyze – Perform analysis on the servers to determine if they are good candidates for virtualization
    • Once a machine is actually being analyzed this is where Guided Consolidation can use some improvement–there is no log or status as to what is happening–you typically have to wait at least an hour before any status changes appear.
    • Also note that confidence won’t change to High until it analysis has been in-progress for at least 12 hours (might be 24 actually) so don’t be alarmed
  3. Consolidate – Complete the actual consolidation by P2V
    • Another area that has ALOT of room for improvement in Guided Consolidation
    • After you are happy with the analysis of a server select it then click the Plan Consolidation button.
    • A wizard appears that one would think would offer similar functionallity when doing P2Vs using regular VMware Converter–but no, it’s not the same at all.
    • Select your destination(s) vcenter/cluster/hosts
      • Guided Consolidation will analyze the hosts and recommend the best destination for the VM with the Amazon-esc 5-Star rating icons.
    • Review the recommendation–you can change the destination host as well as destination VM name in this window
    • Once you click next, you have one more chance to review….and then a finish button?! what?–I want to change vCPUs, Memory, Target Disk Layout!

And so now you can see the limitations of Guided Consolidation–it’s great at the core function of determining if a server is a good canidate to virtualize or not–however the built in P2V process leaves alot to be desired for the seasoned VMware Admin.  I recommend you use the analysis portion and continue to use vCenter Converter to perform the actual P2V so you have more control over the P2V process–changing Target Disk Layouts, vCPU count, Memory amounts, etc.

For more information on VMware vCenter Guided Consolidation check out the vSphere 4 Admin Guide @ VMware.com

Apr 22

When using guest customization specifications in vCenter you may come across the following error when deploying a VM using a specification:

Windows could not parse or process the unattend answer file for pass specialize.  The settings specified in the answer file cannot be applied.  The error was detected while processing settings for component [Microsoft-Windows-Shell-Setup].

The Solution

Edit the specification and double check your product key, an invalid key is a common reason for this error.  In my experience Windows 2008 and Windows 2008 R2 keys cannot be interchanged–yet I see this attempted to be done in guest specifications.

Apr 3

Your just going about your day, trying to P2V a machine using the Cold Clone when you get the error: Unable to determine Guest OS

You check the client log and don’t find anything helpful:

Then you check the agent log and it sheds light on the problem:

Looks like WinPE didn’t find a suitable driver for our storage adapter.  Not a problem heres the steps to correct this:

« Previous Entries Next Entries »