Table of Contents
- Table of Contents
- Overview
- Create an original restore point.
- Remove old plugins from vCenter
- Unregister the plugin for com.vmware.vShieldManager
- Updating NSX Manager against the vCenter.
- Confirm registration
Overview
After upgrading our NSX to 6.4.4 and newer we had a problem where the H5 plugin was not showing inside the vCenter via the HTML5 client. It was showing properly inside the FLEX flash based client but since FLASH is now completely gone this proved to be a serious problem. Even after upgrading to NSX 6.4.10 it was still not displaying properly. In order to resolve this we following this recently published article from VMware https://kb.vmware.com/s/article/67357
Create an original restore point.
- Create a clone of the Cloud Director VM.
- Create a snapshot of the Cloud Director VM.
Remove old plugins from vCenter
- Ensure that all sessions are logged out from the html5 and flash based clients.
- SSH into the vCenter itself and gain shell access.
- We will want to stop the html5 and flash based services.
service-control --stop vsphere-client service-control --stop vsphere-ui
- Create backups for the plugs (in case we accidentally remove the wrong item) for “vsphere-client” and “vsphere-ui” in the backup folder “vsphere-client-serenity”
mkdir /ect/temp/vsphere-client-serenity mkdir /etc/temp/vsphere-ui-serenity cp /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/ /ect/temp/vsphere-client-serenity cp /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/ /etc/temp/vsphere-ui-serenity
- Delete all plugins from “vsphere-client-serenity”. While we’re specifically looking for “com.vmware.vShieldManager” and “com.vmware.nsx.ui.h5” we can remove them all and there should be no negative impact.
rm -rf /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/* rm -rf /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/*
Unregister the plugin for com.vmware.vShieldManager
- Navigate to the mob for our vCenter by opening a web browser and going to https://vCenter-URL-or-IP/mob
- Log into the interface using the administrator@vsphere.local credentials.
- Click on Content and then ExtensionManager.
NOTE: As an alternative once you’re logged into the mob you can go directly to https://vCenter-URL-or-IP/mob/?moid=ExtensionManager)
- Expand the list by clicking on (more…).
- You should see “com.vmware.vShieldManager” is listed but it is missing “com.vmware.nsx.ui.h5”.
- Click “UnregisterExtension” at the bottom of the page and enter the name “com.vmware.vShieldManager”.
- Click Invoke Method which should return VOID, this is confirmation it was successful.
NOTE: If you see that “com.vmware.nsx.ui.h5” was still listed then you can perform the same action on it and invoke method to remove it.
- Back in the SSH session start up the vsphere-client and vsphere-ui services.
service-control --start vsphere-client service-control --start vsphere-ui
Updating NSX Manager against the vCenter.
- Login to NSX Manager VAMI with standard admin username/password.
- Click on “Manage vCenter Registration”
- On the “Lookup Service URL” section
- Save the URL and SSO administrator information, ensure you have the password for this account, if not then do not proceed.
- Click on Unconfigure.
- Edit your lookup information and enter the information:
- Lookup Service Host can be either URL or IP.
- The Port the service is running on, default is 443.
- The SSO Admin service account, ex: administrator@vsphere.local
- The password to the account provided
- Click OK
- On the “vCenter Server” section
- Click on Edit
- Provide the vCenter Server URL or IP address
- Provide the vCenter service account, ex: administrator@vsphere.local
- Provide the password to the account provided.
- Click OK
Confirm registration
- Log out of all active sessions to the vCenter Server.
- Clear the browser cache.
- Navigate to the mob for our vCenter by opening a web browser and going to https://vCenter-URL-or-IP/mob
- Log into the interface using the administrator@vsphere.local credentials.
- Click on Content and then ExtensionManager.
NOTE: As an alternative once you’re logged into the mob you can go directly to https://vCenter-URL-or-IP/mob/?moid=ExtensionManager)
- Confirm you have “com.vmware.vShieldManager” and “com.vmware.nsx.ui.h5” listed.
- Log into the html5 client and confirm Networking and Security is now showing properly.
NOTE: while performing the last two sections you can also watch the log files to ensure everything registers correctly by running on the vCenter ‘tail -f /var/log/vmware/vsphere-client/logs/vsphere_client_virgo.log’ and on the NSX manager ‘tail -f /home/secureall/secureall/logs/vsm.log’