Skip to content

Posts tagged ‘vSphere’

5
Sep

VMware Support Assistant browser incompatibility

VMware Support Assistant is a must have FREE tool for your VMware vSphere installation.

Look at the VMware Site for more info on the VMware Support Assistant appliance.

The installation procedure can be found here or on YouTube.

During the installation at a customer site I found out that configuring the applicanse not always works as it should be. During the installation wizard where we make a connection to the SSO server I got following error:

Something failed. Try again.

A general error occured while attempting to acquire token from SSO service; will wrap and re-throw the exception. Re-trying the request might solve the problem; check the error details for more info A general error occured while attempting to acquire token from SSO service; will wrap and re-throw the exception. Re-trying the request might solve the problem; check the error details for more info Error communicating to the remote server https://MyServer:7444/sts/STSService/vsphere.local

Error communicating to the remote server https://MyServer:7444/sts/STSService/vsphere.local

com.ctc.wstx.exc.WstxIOException: Invalid null character in text to output Invalid null character in text to output Invalid null character in text to output

 

 

After some research I found out that it was a browser issue.

It does NOT work in the newest Chrome (version 37) on MAC and NOT on Internet Explorer on Windows 7.

It works on Internet Explorer 10 on a Windows 2008 R2 server.

After the configuration it is working perfectly now.

 

 

 

 

 

8
Jan

Where to find VMware version information

Here some links to find version information about VMware vSphere products

http://vsphere-land.com/vinfo/release-build-info

and about VMware Tools versions

http://packages.vmware.com/tools/versions

20
Dec

How long can an ESXi host run?

Before starting an upgrade at a customer site I was surprised how long an ESXi host can run. Here the proof.

 

29
Oct

vSphere 5.5 Quick stats not up to date

After doing a upgrade from mixed VMware vSphere environment to a clean 5.5 environment we noticed the warning “Quick Stats on HOSTNAME is not up to date” on each ESX hosts summary page.

Below you can see the screens with the warning.

Webclient

vSphere Client

 

After some googling I found this VMware KB: KB 2061008

In this KB the ask you to add some extra advanced settings in the vCenter. Below the setps to add these settings.

 

After this change is done, the vCenter service needs to be restarted.

According to the KB this should be enough but my experience is that the VPXA agent needs to be restarted on all ESX hosts in the vCenter. This can be done manually or via PowerCLI.

Manually

  1. Go to the configuration tab of an ESX host and select the Security Profile
  2. Select properties
  3. Select the VPXA agent
  4. Select options
  5. Restart the service.

NOTE: you will get some error popups because the vCenter looses the connection for a second with the ESXi host.

PowerCLI

$VMhosts Get-Datacenter “Your DataCenter” | Get-VMHost

foreach ($VMhost in $VMhosts)

{

    Get-VMHostService -VMHost $VMhost |

    where {$_.Key -eq “vpxa”} |

    Restart-VMHostService -Confirm:$false -ErrorAction SilentlyContinue

}

21
May

Unable to expand VMFS partition

Today I was asked to expand a local datastore of a ESXi 4.1. Expanding a disk is normally no problem when you are able to increate the size of the disk. After increasing the disk size you should be able to increate the partition size.

The ESXi was managed by a vCenter 5.0.  On the storage adapter I did a RESCAN data stores after the disk size was increased.  Then I went into the DATASTORE properties and I saw following

 

 

 

 

 

 

 

 

 

 

 

 

This above view was via a vCenter connection.  Then I found following VMware KB which told me to make a direct connection to the ESXi host.  After going to into the datastore properties I found out that I could increase.

 

 

 

 

 

 

 

 

 

 

When I selected this local datastore and finished the expansion I saw following result in the vSphere Client direct to the ESXi and via vCenter.

 

 

 

 

 

 

 

 

 

 

Lucky for the customer this expansion went OK.

Hopefully if you have this problem this KB article fixes also your problem.

Success

 

Gert Van Gorp

27
Jun

VMware vCenter Error Call “PropertyCollector.RetrieveContents” for object “propertyCollector” on vCenter Server failed

A customer of mine called me with a weird problem with a Template which was converted back to a Virtual Machine. See here the problem which occurs when the customer wanted to edit the settings of this VM.

The cause of this problem is that an ISO was mounted from a datastore which does not exist anymore.

To solve this problem, just connect to the ESX host where the VM is registered on. Edit the setting here and put the CDROM on “Client Device”.

Then check on which datastore the VM is located. Then unregister and register the VM again in the ESX host. Now you are able again to edit jthe setting of this VM via vCenter

30
May

Unable to remove VMware ESXi host in VMware vCenter

During a migration process from ESX to ESXi at a customer site we had a problem removing a server from the vCenter inventory.

We checked the permissions on this server and we saw that the user who wanted to remove the server was admin on datacenter level. Here the screen we got.

Knowing there is a PowerCLI command to remove a ESXi host from the vCenter, we walked that way with success.

I used this
PowerCLI script to remove this server from the inventory after moving the
server out of the cluster to the datacenter level.


Connect-VIServer vCenterServer

Remove-VMHost “HostThatCannotBeRemovedViaGui” –confirm:$false

Disconnect-VIServer –confirm:$false

22
Feb

(Limited) vSphere management using a mobile device

On the VMware Labs website you can find a free appliance that can give you limited access to the management tools available in vSphere vCenter. The appliance is called vCMA or vCenter Mobile Access.

How to install?

  • Go to the vmware.com/labs website and download vCMA as a OVF. Jump to site
  • Extract the zip file that contains the OVF.
  • In vCenter, go File – Deploy from OVF and point to the extracted OVF file.
  • Once deployed, you can start the VM.
  • After the VM is started, there are 3 options to change settings
    • Using the menus on the console (to set network, timezone, login in to the command console)

    • Using the web interface https://vcma-host-or-ip:5480

       

    • Or using the command console. (use login in first screen)

       

      • By default the root account has as password vmware (remember the console is by default in qwerty)

 

Special configuration settings to thing about!

  • Set the IP to a fixed address
  • Enter the DNS servers
  • Change the default hostname and domainname. (http://communities.vmware.com/message/1335001)
  • Change the root default password using the passwd, in the command console

How to use?

  • It is very easy to start using this app.
  • Open a browser (on you PC or mobile device)
  • Point to http:// vcma-host-or-ip/vim (the folder /vim is needed and I hope VMware will change this in a next release)
  • Enter the vCenter server name and the userID and password you normally use in the vcenter.
  • Now you can do some functions like
    • vMotion
    • Edit settings of a VM
    • Change Powerstates of a VM
    • Etc, install and discover.

 

Alternative apps you need to buy!

vManage : http://itunes.apple.com/us/app/vmanage/id318737136?mt=8

iDatacenter http://nym.se/idatacenter/ (iPAD)

iVMControl : http://itunes.apple.com/us/app/ivmcontrol-control-vmware/id404263941?mt=8 (iPAD, iPhone)