Daily Archives

2 Articles

VMware vSphere 6.0 Java High CPU!

On vCenter Server for Windows:
  1. Connect to vCenter Server through a Console or Remote desktop session.
  2. Open an elevated command prompt.
  3. Create a temporary directory named c:\certificate.
  4. Run this command to retrieve the vpxd-extension solution user certificate and key:

    “%VMWARE_CIS_HOME%”\vmafdd\vecs-cli entry getcert –store vpxd-extension –alias vpxd-extension –output c:\certificate\vpxd-extension.crt

    “%VMWARE_CIS_HOME%”\vmafdd\vecs-cli entry getkey –store vpxd-extension –alias vpxd-extension –output c:\certificate\vpxd-extension.key

  5. Navigate to C:\Program Files\VMware\vCenter Server\vpxd\scripts:

    cd C:\Program Files\VMware\vCenter Server\vpxd\scripts

    Note: The path listed is for a default install of vCenter Server. If you have customized the install location of vCenter Server, change the directory accordingly.

  6. Run this command to update the extension’s certificate with vCenter Server:

    “%VMWARE_PYTHON_BIN%” updateExtensionCertInVC.py -e com.vmware.vim.eam -c C:\Certificate\vpxd-extension.crt -k C:\Certificate\vpxd-extension.key -s localhost -u Administrator@domain.local

    Note: The default user and domain is Administrator@vsphere.local. If this was changed during configuration, change the domain to match your environment.

  7. When prompted, enter the Administrator@domain.local password.
  8. Navigate to the C:\Program Files\VMware\vCenter Server\bin folder:

    cd C:\Program Files\VMware\vCenter Server\bin

  9. Restart the VMware ESX Manager service with these commands:
    • service-control –stop EsxAgentManager
    • service-control –start EsxAgentManager

Failed to read network interface (eth1) information

  1. Connect to the vCenter Server Appliance via SSH (default username is root and password is vmware).

  2. Copy the /etc/sysconfig/networking/devices/ifcfg-eth0 to /etc/sysconfig/networking/devices/ifcfg-eth1 file by running this command:

    cp /etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth1

  3. Open the ifcfg-eth1 file using a text editor.

    Delete the vi /etc/sysconfig/networking/devices/ifcfg-eth1 command as it is specific to the vi editor. The user can choose to use any editor for this purpose.

  4. Edit the file adding values for your network.

    For example:


  5. Create a symlink for this file in /etc/sysconfig/network by running this command:

    ln -s /etc/sysconfig/networking/devices/ifcfg-eth1 /etc/sysconfig/network/ifcfg-eth1

  6. Restart the networking service to activate the new setup, by running this command:

    service network restart

  7. Check the web management interface to verify that the new settings are active.