PernixData FVP "Could not prepare host for uninstallation"

pernixdatauninstallerror01

During the procedure to uninstall the Host Extension, PernixData FVP shows the error "Could not prepare host for uninstallation".

The error came up after a misconfiguration of FVP that made the FVP Cluster unavailable.

After updating the configuration, the FVP Cluster tab was reporting the Resources as unavailable.

pernixdatauninstallerror02

 

Procedure

To fix the problem we need to put the affected ESXi in Maintenance Mode.

pernixdatauninstallerror03

SSH into the ESXi and run the uninstall script.

# cp /opt/pernixdata/bin/prnxuninstall.sh /tmp/ && /tmp/prnxuninstall.sh

pernixdatauninstallerror04

The uninstall fails and the script ends with the error:

Could not prepare host for uninstallation.

To fix this matter is necessary to remove the affected VIB from the host, then install the Host Extension again.

To identify the VIBs installed in the ESXi host, type the command:

# esxcli software vib list

pernixdatauninstallerror05

The pernixcore-vSphere5.0.0 is the VIB we need to remove. In this case the error shown during the FVP Host Extension uninstall process is due to a wrong FVP release installed (ESXi 5.0) in the ESXi 5.5 host.

First step is to stop the FVP daemon.

# /etc/init.d/prnxd stop

pernixdatauninstallerror06

If you receive an error, go ahead with FVP VIB removal procedure. To remove the wrong VIB, the command esxcli is used.

esxcli software vib remove -n <vib_name>

# esxcli software vib remove -n "pernixcore-vSphere5.0.0"

pernixdatauninstallerror07

Now upload the correct FVP Host Extension (ESXi 5.5) to the host and try to install new VIB again.

# esxcli software vib install -d /tmp/PernixData-host-extension-vSphere5.5.0_2.0.1.0-33868.zip

pernixdatauninstallerror08

This time the installation is successful.

Reboot the ESXi host.

# reboot

pernixdatauninstallerror09

Looking at the vCenter Server's FVP Cluster section, the fixed host is now reported as working.

pernixdatauninstallerror10

Exit the ESXi from Maintenance Mode.

pernixdatauninstallerror11

Repeat the same procedure for the second host member of the FVP Cluster.

pernixdatauninstallerror12

After fixing both hosts, PernixData FVP Cluster started working again.

pernixdatauninstallerror13

Check if all accelerated VMs/Datastore are working as expected and no errors are reported.

firma