Citrix GUI in C#
I have been looking for a way to create a simple GUI for users to stop,start,create, list running VMs in Citrix XenServer. I will create a form that has input boxes for users to put the name of the vm in, then a button to do the wanted task for that name. I would will also create a list box that will list all VM's and another that will list all running 开发者_如何学GoVM's. The same for all paused VM's and so on. my biggest issue is I cant find a way to run the command on the remote linux system then list the output into the area I want. They do have Citrix XenCenter but I am wanting a GUI that will give the users limited functionality.
Apparently this question was asked some time ago, but I'll post the answer anyway. All the Citrix XenServer operations can be performed via XML RPC. Download the XenServer SDK, it has code samples to get you started. Moreover, SDK also provides .NET bindings, http://docs.vmd.citrix.com/XenServer/5.6.0fp1/1.0/en_gb/sdk.html#language_bindings-c-sharp, which means you won't have to make the XML RPC calls yourself.
精彩评论