A friend called and asked me why his vCenter service failed to start after the server reboot. After spending some time in investigation, I finally found the root cause – he uses SQL express to host the DB. And the SQL server port changed to another after the server reboot, which led to the SSO … Continue reading SQL express dynamic port causes vCenter service fail to start
vCO: Virtual Machine Inventory
I used to use PowerCLI to generate the VM inventory report, now I make it available in vCO as well. The scripts defined in the ‘VM Inventory’ script block. var vms = VcPlugin.getAllVirtualMachines();var Name, Status, Power, OS, IP, CpuCore, RAM, ToolVer, Des, Log, Log1;var Num = 0, NumOn = 0, NumOff = 0; content = … Continue reading vCO: Virtual Machine Inventory
vCO: Find VM name based on UUID
My colleague asked me can I find out the VM name based on its UUID. I helped him by running a PowerCLI command: Get-VM | Foreach ($_) {If ((Get-View $_.id).config.uuid -eq "422041b7-8ccd-xxxx-xxxx-2770502e404a") {Write-host $_.name}} I was thinking why not build up a vCO workflow so they can help themselves in the future in case they … Continue reading vCO: Find VM name based on UUID
vCO: List Virtual Machines with Snapshots
As a VMware administrator, making the VM snapshots under control is one of the critical tasks. I wrote up a ‘List all VM with snapshot’ workflow which generate a report showing the virtual machines that have snapshots. The key is in the scriptable task: vmWithSnapshots = new Array(); var vms = VcPlugin.getAllVirtualMachines(); var logtext; for(i … Continue reading vCO: List Virtual Machines with Snapshots
Login issue after updating to vCenter Server 5.1U1
You’d better read this before updating to vCenter Server 5.1 U1 Cannot log in to vCenter Server using the domain username/password credentials via the vSphere Web Client/vSphere Client after upgrading to vCenter Server 5.1 Update 1 (2050941)