vSphere

 View Only
  • 1.  Enabling linked mode support for webclient plug-ins

    Posted Jun 11, 2015 04:53 PM

    Hello,

    WIth enabling the linked mode support for vCenter, do we need to handle any specific scenarios in the plug-in to support the same or Can we assume that plug-in should work seamlessly in a linked mode enabled vCenter ?

    Also any additional changes are needed for the enhanced linked mode support in vCenter 6.0 ?

    Can anyone please help on this ?

    Thanks.



  • 2.  RE: Enabling linked mode support for webclient plug-ins

    Broadcom Employee
    Posted Jun 12, 2015 07:49 AM

    Few things that come into my mind:

    1. Plugin registration

    If you look at the SDK doc/SDK-Tutorial.html there is a section called "Multi vCenters environment" that says the following:

    If vSphere Web Client is connected to multiple vCenter servers the plugin UI is only visible for vSphere objects that belong to the vCenters where it is registered. So you should register your solution with all vCenters where you want the solution to be available, it will be installed only once. Of course this doesn't apply to custom objects that are not managed by vCenter.

    2. Data retrieval

    You should keep in mind that the DataService (depending on your QuerySpec) will return objects from all vCenter Servers.

    3. User Experience

    You should consider if your views and widgets will display data for all vCenter servers at the same time. This will have performance and scalability implications.

    In case you are creating HTML plugin using the HTML bridge you should take a look at /html-bridge/docs/html-bridge.html, section "vCenter Selector". There is also a sample that illustrates how to retrieve data only from one vCenter Server.

    You have more specific questions, please let us know :smileyhappy: