vcenter

Removing Unwanted Plugins from vCenter

Some of the plugins for vCenter don’t offer an uninstaller.

To unregister a plugin from vCenter follow this method provided by a VMware KB:

Open a web browser and go to http://vcenterserver/mob

Click on Content

Click on ExtensionManager

Copy the name of the plugin you want to unregister

extensionList[“com.emc.EMCStoragePlugin”]

Click on UnregisterExtension

In the text field paste the text into the box and delete all but the part in quotes(e.g.com.emc.EMCStoragePlugin)

click InvokeMethod

Refresh the browser and the plugin should be gone from the list

Reconnect to vCenter using the client and the plugin should be gone from Plug-ins-> Manage Plugins list.

Advertisements

Performance Data is currently not available for this entity on a single ESXi Host

When no performance data is available on a single host, restart the hostd and vpxa services

From the Local Console or SSH:

  1. Log in to SSH or Local console as root.
  2. Run these commands:/etc/init.d/hostd restart
    /etc/init.d/vpxa restart

    Note: In ESXi 4.x, run this command to restart the vpxa agent:

    /etc/opt/init.d/vmware-vpxa restart

  3. Alternatively, to restart all management agents on the host, run the command:services.sh restart

Another Day, Another SQL Express issue with VMware vCenter Database

As the title says – another issue with the vCenter Database becoming full on SQL Server

Go into the SQL Management Studio and navigate the vCenter Database

First check the Size of the DB – Right Click on the DB and select Properties – you see that the DB space available is too low

4

Now close this and stop the VMware vCenter Service (more…)

Display what is filling up SQL Express Database on vCenter

Run this in SQL Management Studio to see what is taking up space on vCenter SQL Express Database:

 

SELECT [Table Name],
(SELECT rows FROM sysindexes s WHERE s.indid < 2 AND s.id = OBJECT_ID(a.[Table Name])) AS [Row count], [Total space used (MB)] FROM ( SELECT QUOTENAME(USER_NAME(o.uid)) + ‘.’ + QUOTENAME(OBJECT_NAME(i.id)) AS [Table Name],
CONVERT(numeric(15,2),(((CONVERT(numeric(15,2),SUM(i.reserved)) * (SELECT low FROM master.dbo.spt_values (NOLOCK) WHERE number = 1 AND type = ‘E’)) / 1024.)/1024.)) AS [Total space used (MB)] FROM sysindexes i (NOLOCK) INNER JOIN sysobjects o (NOLOCK) ON i.id = o.id AND ((o.type IN (‘U’, ‘S’)) OR o.type = ‘U’) AND (OBJECTPROPERTY(i.id, ‘IsMSShipped’) = 0) WHERE indid IN (0, 1, 255) GROUP BY QUOTENAME(USER_NAME(o.uid)) + ‘.’ + QUOTENAME(OBJECT_NAME(i.id))

) as a
ORDER BY [Total space used (MB)] DESC

vCenter Server Services Not Starting / Stopping

Recently came across an issue where a customers vCenter Server Services wouldn’t start.  I read up on a few KB article stating to Start / Restart the SSO Service, this didn’t fix the problem.  Even a couple of reboots of the vCenter Server failed.

After looking in the logs, found at  C:\ ProgramData\VMWare\VMware VirtualCenter\Logs the latest Log Entry contained this:

Image

 

(more…)