How to uninstall and remove PernixData FVP v2.x

Hi there,

This was not like what the documentation said, and it was not as smooth as I would have liked so I thought I best to write it down. My NFR license expired, and I have to clean things up before I install the new NFR license.  But here is the routine I went through to clean up FVP.

The documentation said basically to do this:

  1. Remove your VMs from FVP clusters
  2. use Add Remove Programs to remove FVP plug-in
  3. Uninstall the mgmt server
  4. Uninstall the host extension module
  5. remove browser extensions

And it didn’t quite work.  Right in step one it didn’t work.  This may be due to my license expiring.

Here is what works!

  • I could not remove VMs from FVP clusters so I removed the clusters.
  • I could not find in any Add Remove programs an option to remove the FVP plug-in so I didn’t.
  • I did remove the mgmt server with no issue.
  • In the vSphere Web Client I had alarms on VMs that were not protected any longer by FVP.  So I reset each to green.
  • In the vSphere Web Client I still had the FVP plug-in visible.
  • I put the first host into maintenance mode and enabled SSH.
  • I used this command to uninstall PernixData:

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

And then…..

Option 1 – Error “..Could not prepare host for uninstallation….”

  • It errored out with in the last line –? “…Could not prepare host for uninstallation…”
  • So I did:

/etc/init.d/prnxd stop (if it fails just ignore and continue)

  • I followed that with:

esxcli software vib remove -n “pernixcore-vSphere5.5.0”

  • that took a few minutes but when the command prompt returned I saw good stuff.

VINSuccess

  • I restarted and everything was good.  I confirmed that with the command below – meaning when I used it I saw nothing from PernixData.

esxcli software vib list

  •  So this host is now clean. Go to the next host or if done Next Steps.

Option 2 – No error on uninstall

  • If you used the PernixData command to uninstall and it works you should restart and be done.  Move to the next server, or if you are done then Next Steps.

Option 3 – Operation failed with error: Invalid world

  • This errored out with error:Invalid world and so we do something else.
  • We confirm that we can see PernixData is still installed (it is) using the following command.

esxcli software vib list

  • So we follow that with the following.

/etc/init.d/prnxd stop (if it fails just ignore and continue)

  • Next we try and remove the PernixData software.

esxcli software vib remove -n “pernix-vSphere5.5.0”

  • I see that the PernixData info was removed so I restart.  Done now with this host.
  • Now move to the next host or if done Next Steps.

Next Steps

Make sure that once the host extension is removed you restart the host.

BTW, I had four hosts to remove the host extension from – two had errors and two did not.  Not sure what it broke down like that.  Once you are finished removing the host extension continue below.

So we have uninstalled the Mgmt server, and removed the host extensions so things are looking good.

Now we need to clean up the extensions that are in the vSphere Web client.  Lovely.  Now we need to work in the MOB.  BTW, here is some VMware info on this subject for background info.

Exten

  • The last two are the ones to be removed (they have pernixdata in the name).
  • Do you see the Methods section at the bottom?

Methods

  • The one we are going to use is UnregisterExtension.
  • Select it, and paste in the value below:

com.pernixdata.mgmtserver

  • Then use the Invoke Method button.

void

  • You will get a void mess but that is good.
  • Now do this again for the parameter below:

com.pernixdata.prnxvwcplugin

  • Now refresh the browser and both things should be gone!

Final Clean up

  • Log into the vSphere Web Client and nothing FVP should be seen.

Summary

This is how I had to remove FVP from my cluster.  It was not quite like the docs and so I wrote it up for me – and you – just in case. Now to install again using this and this.

I can’t wait to get my desktop back on FVP!

Update:

  • 1/27/16 – added the v2.x to the title since I am about to start do the v3.1 stuff.

Michael

=== END ===

Tagged with:
Posted in How To
One comment on “How to uninstall and remove PernixData FVP v2.x
  1. albertwt says:

    Hi Mike,

    I’m trying to uninstall the FVP from my ESXi but it is failed:

    ~ # cp /opt/pernixdata/bin/prnxuninstall.sh /tmp/ && /tmp/prnxuninstall.sh
    Mon Nov 14 03:23:46 UTC 2016: Attempting to obtain hostUUID
    Mon Nov 14 03:23:47 UTC 2016: Preparing host for uninstall
    Mon Nov 14 03:23:47 UTC 2016: /opt/pernixdata/bin/prnxcli prepareUninstall
    Error: Could not connect to Thrift server on host localhost:751
    Mon Nov 14 03:23:49 UTC 2016: /opt/pernixdata/bin/prnxcli prepareUninstall
    Error: Could not connect to Thrift server on host localhost:751
    Mon Nov 14 03:23:49 UTC 2016: Could not prepare host for uninstallation. Exiting…

    ~ # esxcli software vib remove -n “pernixcore-vSphere5.5.0”
    [LiveInstallationError]
    Error in running rm /tardisks/pernixco.v00:
    Return code: 1
    Output: rm: can’t remove ‘/tardisks/pernixco.v00’: Device or resource busy

    It is not safe to continue. Please reboot the host immediately to discard the unfinished update.
    Please refer to the log file for more details.

    ~ #

    How can I force uninstall it ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: