VMware {code} Community
RakeshBandari
Contributor
Contributor

Deployment of vSphere Html plugin Package to vcenter server(6.0) and vcenter server as appliance (6.0).

HI all,

We are working on the Vcenter vpshre plug-in .Actually iam new to these plugins and trying to understand the deployment part of the vsphere-plugin package.I have created a package as specifed in the vsphere client sdk (6.0) documnetaion.I want to deploy this to  vCenter(running on different machine ) and vcenter as apliance(running on different machine.).

first step i have the package ready with all the necessary files.

1)What are the steps i need to do now?

Can you please let me know.

Thanks,
Rakesh Bandari.


0 Kudos
6 Replies
laurentsd
VMware Employee
VMware Employee

hi Rakesh,

Please read section 3. Package and register your solution in the html documentation included with the SDK bits at docs/SDK-Tutorial.html and let us know if you have more questions afterwards.

Thanks.

0 Kudos
RakeshBandari
Contributor
Contributor

Hi laurentsd,

Thanks for your reply

I have gone through the SDK\tutorials document.i Have built the package as specified in in the document.

The next step is i need to register this package .I have few questions regarding the package registration.Iam using the Sample java program in the  vsphere_plugin_4_1_technote as specified in the SDK\tutorial document .

I have seen the java program and have questions in it .

1)We need to create two java objects ExtensionServerInfo and ExtensionClientInfo .they both need the package Url (.zip file location ).But in our case we dont have any webserver that is hosting  this .zip file ,that means i have this pckage created and saved in my local c:\\myPackage.zip.What should i do in this case .(Do i need to Winscp to the vcsa and manually copy the files as specified in documentation)?

2)what would be my Service URL in this line of code  -

_service = _serviceLocator.getVimPort(new URL (url ));

_sic = _service.retrieveServcieContent(_svcRef);

I am giving my url as ........

https://dnsNameofvcsa/sdk

is this correct ?if not how do i get  correct url for vcsa server.

Thanks,

Rakesh Bandari

0 Kudos
laurentsd
VMware Employee
VMware Employee

The normal installation requires you to provide a web server from which your plugin-package.zip can be downloaded.

The work-around described in the doc in case you don't have a web server available works as well, it is up to your installation script/program to copy the plugin-package directory at the right location.

In the 4.1 tech note you refer to I see this line

String url = "https://"+hostName+"/sdk/vim";

Try it like that, or try it with just /sdk if it doesn't work. I am not sure since I never run that code!

0 Kudos
RakeshBandari
Contributor
Contributor

I have given as

https//hostname +sdk and

https:// hostname + sdk/vim ,

In both cases i got the error "Permission to perform this operation was denied."

By the way iam running this utility on my personal Vm .Do i need to run this on "VCSA" ?

Thanks,

Rakesh

0 Kudos
laurentsd
VMware Employee
VMware Employee

You should be able to run this java program anywhere as long as you are using the right URL and credentials.

The vCenter Extension Manager API is part of the vSphere Web Services SDK so it's best to ask for help in that other forum.

0 Kudos
RakeshBandari
Contributor
Contributor

Thanks laurentsd,

I poseted the question in the webservices forum .Hope they have some answer for me .

Thanks,

Rakesh Bandari

0 Kudos