Lost connectivity to the device mpx.vmhba32:C0:T0:L0 backing the boot filesystem

usb_module_not_available_on_esxi_hp_hosts

This issue appeared on HP blade Proliant XL170r Gen9 running ESXi 6.0.0, 4192238.
Make sure that your blades have their firmwares updated to the latest version.
Have a look at iLO self-Test Results :

Before firmwares upgrade :
hpe_ilo_diagnostics_before_firmwares_upgrade

After firmwares upgrade :
hpe_ilo_diagnostics_after_firmwares_upgrade

Advertisements

How to install VirtualBox Guest Additions kernel modules on Debian Jessie ?

To install VirtualBox Guest Additions kernel modules on Debian Jessie, make sure to attach the “Guest Additions” CD-ROM image.
Copy the “VBoxLinuxAdditions.run script to /tmp

Then run it as below :Virtualbox_guest_additions_tools_missing_compilation_tools

 

Install the missing tools gcc and make :

[fool@localhost:~]$ sudo apt-get install gcc make

Run the script again :

 

Virtualbox_guest_additions_tools_missing_compilation_tools_1

There is still a missing dependency :

Virtualbox_guest_additions_tools_missing_compilation_tools_2

Install it :

[fool@localhost:~]$ sudo apt-get install linux-headers-$(uname -r)

The VirtualBox Guest additions kernel modules can now be compiled and be loaded successfully :

Virtualbox_guest_additions_tools_missing_compilation_tools_3

vSphere vCenter : 503 service unavailable

Having either of these errors can lead to some services not started on the vCenter server.



503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::NamedPipeServiceSpec:00000000011D7F00] _serverNamespace = / _isRedirect = false _pipeName =\\.\pipe\vmware-vpxd-webserver-pipe)

503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::LocalServiceSpec:00000000012B0BA0] _serverNamespace = /vsphere-client _isRedirect = false _port = 9090)

If your vCenter is running on a Windows box, checking the status of its services can provide some first-hand information :

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

./service-control --status

To stop all the services :
./service-control --stop --all

To start all the services :
./service-control --start --all

VMWare KB 2109881

Deploying VMware tools with Puppet on Linux servers

There are two possible ways to install VMware tools on Linux servers. Either you install them through the VSphere client, either you can automate this task with Puppet. VMware has provided special repositories for all the Linux distribution flavors :  VMware Operating System Specific Packages (OSPs)

Here are the main steps to complete this installation :

->Download the public keys of the VMware OSPs repositories :

rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub

rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub

->Add a  new repo for YUM in /etc/yum.repos.d/ :

cat /etc/yum.repos.d/vmware-tools.repo
[vmware-tools]
name=VMware Tools
baseurl=http://packages.vmware.com/tools/esx/5.1/rhel6/x86_64
enabled=1
gpgcheck=1

->Fetch the metapackage vmware-tools-esx-nox and it will install all the required dependencies.

Here is now an example of a working Puppet manifest to deploy and install the VMware Tools on Linux servers running RHEL 6.4  :

cat vmwaretools.pp

class vmwaretools {
        exec { “Fetching RSA key”:
        command => “rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub”,
        path => “/sbin:/bin”
        }

        exec { “Fetching DSA key”:
        command => “rpm –import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-DSA-KEY.pub”,
        path => “/sbin:/bin”
        }

        exec { “Setting VMWare yum repo” :
        command => “echo -e \”[vmware-tools]\nname=VMware Tools\nbaseurl=http://packages.vmware.com/tools/esx/5.1/rhel6/x86_64\nenabled=1\ngpgcheck=1\” > /etc/yum.repos.d/vmware-tools.repo”,
        path => “/sbin:/bin”
        }

        package { “vmware-tools-esx-nox”:
          ensure => “installed”
        }
}

Do not forget to reload the puppetmaster on the server where it is located :

service puppetmaster reload

More information about VMware OSPs repositories : Read more