Category Archives: VMware

VMware: External PSC 6.0 to 6.5 Upgrade Fail

When you have an environment that has an external Platform Services Controller (PSC), the first step of any upgrade/migration is performed on the PSC.

During some recent VMware 6.0 to 6.5 external PSC upgrades, we have noticed a reoccurring failure.

When you perform the PSC upgrade process, Stage 1 is to Deploy the new 6.5 Appliance.   For this process,  Step 1 is the Introduction.  Step 2 is the End User License Agreement.  Step 3 is where you provide details to connect to the source appliance:

PSC Upgrade - Stage 1 : Deploy appliance
PSC Upgrade – Stage 1 : Deploy appliance

Once you have entered these details and clicked Next, you get the following error:

PSC Upgrade - Unable to detect appliance type
PSC Upgrade – Unable to detect appliance type

This is unexpected as you are upgrading from 6.0 to 6.5….

What we have found is that the root password on the source PSC has expired.  Even when you log into an SSH session on the PSC, you are not prompted that the password has expired.

To resolve the issue, simply SSH onto the PSC as root and run passwd to update the password.

VMware: Delete Orphaned VMs

Sometimes when you delete a VM, you will see in vCenter the machine doesn’t get removed fully.

You will see ServerName (orphaned).

There are a few ways to attempted to delete the VM:

Deleting an orphaned virtual machine when the Remove option is not available (1011468):

How to delete VM’s from vSphere Client if they are stuck?

Use PowerCLI to Delete VM

  1. Open PowerShell as Administrator
  2. Ensure the PowerCLI is imported:
    Import-Module VMware.PowerCLI
  3. Connect to vCenter:
    Connect VI-Server <FQDN of vCenter>
  4. Display list of VMs:
  5. Delete VM:
    Remove-VM <VM to delete>

NB: If the VM name has spaces, then make sure you surround the name in quotes.