Posts

Desktop Composer Error:VMware.Sim.Fault.AdAuthenticationFault

Image
Summary: This particular error occurred when I was migrating my vCenter / vComposer server to new hardware.  There were 2 successive errors that would appear in View Manager that look something as follows: Pool ::Unable to remove from inventory VM /DataCenter/vm/VDIFolderName/VMName - Failed to cleanup linked clone /DDTC/vm/VDIFolderName/ Desktop Composer Error:; Error Type:com.vmware.SviService.AdAuthenticationFault;Error FaultActor:null; Error code:{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException; Error details:[Lorg.w3c.dom.Element;@1fc1ee1 Resolution: Essentially the system was complaining that the vComposer account that is specified under Configuration -> Server -> vCenter Servers was not part of the local administrator group (Windows side, not vCenter) of the vCenter server.  This was one part of the issue, the other half were the QuickPrep accounts, the accounts specified need to have AD rights to create/modify/delete computer accounts....

VMWare View (Desktop Composer Fault: Virtual Machine with input specifications already exists)

Summary This error is caused when View Composer has some kind of hiccup and ‘thinks’ it deployed a desktop and can’t get over the fact that it failed.  There are 3 event entries that will usually show up right next to each other: Desktop Composer Error:VMware.Sim.Fault.InvalidParameterFaultParam: cSpec Detail: AlreadyExist; Error Type:com.vmware.SviService.InvalidParameterFau Desktop Composer Fault: Virtual Machine with input specifications already exists PendingOperation-Path/that/has/been/defined/ VMName Config: View 4.0.1 SQL 2005 Resolution: I found this SQL script on the vmware communities board after I went through the manual hell of finding each related key.  Essentially, you need to delete all related SQL entries so View Composer can move on to start deploying VM’s again.  This script makes this job a WHOLE lot easier. 1: DECLARE @vmdelete varchar (20); 2: set @vmdelete = 'FAILED_VM_NAME' ; 3: delete from SVI_VM_NAME where NAME = @v...

Powershell –replace method and my own frustration.

Summary: I added some code to my VMWare Infrastructure script for a new column of data to show a tooltip when clicked or hovered over.  Because I also have it export a csv file from this code, I use the –replace method to strip the html formatting.  Because of one section, more data than I wanted was being stripped.  Why?  Probably because I used this: .*> .  Resolution: Anyway here is the string I was using: 1: foreach { $ _ -replace(" < p style='font-weight:bold;color:orange' > ","") -replace(" < p style='font-weight:bold;color:red' > ","") -replace(" < a class='cluster' href= . /healthcheck . htm #.*> ","") -replace(" < /p > ","") -replace (" < /a > ","") -replace (" < a href=' #' class='tt'>","") -replace (" < span class='tooltip' > < span class='top...

Battered, bruised, but alive

Image
Grab this badge here! I only wish that I had the time to finish the rest of the games.  There is always next year I suppose.

Bug? Feature? VM Hardware 7 RHEL5 32-bit running 64-bit

Image
Summary: Under VM Settings --> Option Tab --> General Options –> Guest Operating System, Red Hat Enterprise Linux 5 (32-bit) is selected.  However, the installed OS is actually RHEL5 64-bit.  Under VM Hardware version 4, this combination was not possible as RHEL would detect that the processor was not 64-bit capable probably because of masking.  Not that I care all that much since it seems to work fine, but what would this be considered?  A feature or a bug?  Only reason I noticed was because our Linux admins were wondering why in a set of 6 VM’s running 32-bit, this one was running a 64-bit version… Answer: Because someone on their end screwed up and installed the wrong version, can’t completely blame them though since in version 4 they would have been denied. Example: Side Note: Interestingly, the Guest OS field now seems to update w/ the actual Guest OS information provided by the VMWare tools.

Rename a VM without shutting down…using storage vMotion

Summary When renaming a VM in vCenter, underlying files and folders remain named the same as when the VM name was first designated.  This can make for a difficult recovery scenario if file/folders and names in vCenter are out of sync. Config vCenter 4.0 U1 ESX 4.0 U1 Solution Rename the VM in vCenter Migrate the VM to another Datastore Done! If you check the VM’s settings and/or datastore, all related files/folders should now match the VM name in vCenter. Maybe this was obvious to some folks, but it wasn’t until I was doing maintenance @ the wonderful hour of 2am that this dawned on me as a possible solution.  I’m so used to having to go through this process.

There are errors during the remediation operation…updating esx host using update manager.

Image
Summary: One of the greatest features of Update Manager (4.0 U1 P1) is that you can click on a cluster and remediate the whole thing.  It places one host @ a time into maintenance mode and does it’s thing.  Unless of course Update Manager happens to be a VM that resides on one of those hosts in the cluster. Example of Error: WorkAround: Update one host in your cluster manually Migrate the Update Manager VM to that updated host Remediate the entire cluster. Rant: I like the fact that vCenter returns such an obvious error, but why can’t it move itself to another host like any other self-respecting VM.