• View Communities
    • Citrix Communities
      Visit the Citrix Communities to get and share technical information and best practices about desktop delivery, datacenter, networking and cloud computing solutions.
    • Citrix Blogs
      Learn the latest from the Citrix employees who are building the future of virtual computing.
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Find related blogs, best practices, code downloads, APIs and more.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
  •  Sign In
Citrix Developer Network

XenServer SDK


XenServer SDK VM


The XenServer SDK VM is an appliance-style virtual machine, ready to be imported into a XenServer host. It contains the complete set of XenServer SDKs, plus a complete Linux-based development environment.

If you don't need the full development environment, you can download the SDKs on an individual basis from the XenServer SDKs page. All the documentation and further information you need is there too.

XenServer SDKs: The XenServer SDK home page. Go here first!

Download SDK VM: Version 5.5.0. 328 MB.









Enter tags to add to this page:
Please wait 
Looking for a tag? Just start typing.
  1. Feb 04, 2008

    Vishal Ganeriwala says:

    We are interested in your feedback. Please let us know what you think about the ...

    We are interested in your feedback. Please let us know what you think about the examples.

    Thanks

    1. Nov 04, 2008

      Anonymous says:

      Hi, Let me know where can I get C bindings. I would like to write some tools t...

      Hi,

      Let me know where can I get C bindings.

      I would like to write some tools that run on XenServer host.

      Thanks

      Sateesh

      iiit.net@gmail.com

  2. Apr 08, 2008

    Anonymous says:

    Please add support for java bindings to the XenAPI in the SenServer SDK (C,...

    Please add support for java bindings to the XenAPI in the SenServer SDK (C, C#, and Python are great but I am sure many other coders would like to see java too).

    Thanks,
    SLDR
    (Stephen L. De Rudder)

    1. Apr 22, 2008

      Vishal Ganeriwala says:

      Thanks for your feedback. There are Java binding examples for XenServer API 4.1 ...

      Thanks for your feedback. There are Java binding examples for XenServer API 4.1

      http://community.citrix.com/download/attachments/17596457/XenJavaSdk4_1.zip?version=1
      Thanks

  3. May 21, 2008

    Anonymous says:

    Are there control or component for accessing vm console in web?

    Are there control or component for accessing vm console in web?

    1. May 21, 2008

      Vishal Ganeriwala says:

      Can you clarify more on what you mean? You can write a python,perl/.Net script w...

      Can you clarify more on what you mean? You can write a python,perl/.Net script which can be web based

      1. May 21, 2008

        Anonymous says:

        Sorry for my poor English. I mean whether there is a plugin  that can be i...

        Sorry for my poor English.

        I mean whether there is a plugin  that can be installed to browser(IE or Firefox), then I can embed a virtual machine in web browsers, that is, I can access the virtual machine directly.  

        Such as there are a plugin named "vmware-mks" in vmware,  which can be embedded, in an HTML page, using the OBJECT tag. (Reference to : http://communities.vmware.com/thread/60125).

        Are there similar plugin in Xen?

        Thanks!
        ZLJ

  4. Jun 12, 2008

    Anonymous says:

    Hi there, Is there a way to retrieve xen server logs using java API ? If, so c...

    Hi there,

    Is there a way to retrieve xen server logs using java API ? If, so can someone please provide a sample java code.

  5. Jun 19, 2008

    Anonymous says:

    Does the VMMetrics object actually work? I can only get it to return the empty v...

    Does the VMMetrics object actually work? I can only get it to return the empty values? Using the Java Bindings above...

    1. Jun 19, 2008

      Anonymous says:

      Okay, the only way to get it seems to be :     public Map getMet...

      Okay, the only way to get it seems to be :

          public Map getMetrics(Connection c, String vm) throws Exception

      Unknown macro: {         Set<VM> vmData = VM.getByNameLabel(c, vm);        VMGuestMetrics.Record metrics  = vmData.iterator().next().getGuestMetrics(c).getRecord(c);         return metrics.toMap();    }

      The convert the Map to a JSON. Is there a less circuitous way?

      1. Jun 20, 2008

        Vishal Ganeriwala says:

        I have pinged SDK gurus in engineering. I will reply back as soon as I hear back...

        I have pinged SDK gurus in engineering. I will reply back as soon as I hear back from them.
        Thanks

  6. Jun 23, 2008

    Vishal Ganeriwala says:

    Do you have XenServer Tools installed on your VMS. You need these to have VMGues...

    Do you have XenServer Tools installed on your VMS. You need these to have VMGuestMetrics populated.

  7. Dec 18, 2008

    Anonymous says:

    I've been installing XenCenter.(xenserver software Development kit guide, in cha...

    I've been installing XenCenter.(xenserver software Development kit guide, in chapter 2.getting started)
    But somehow i've got this error:

    • Importing VM ...
      caught exception : Protocol failure: reading message : unexpected tag 808333615

    Can anyone help me with this?
    it's kind of urgent.

    Sorry for my poor English.

  8. Dec 20, 2008

    Anonymous says:

    where can i find the 5.x sdk support

    where can i find the 5.x sdk support

  9. Mar 13, 2009

    Anonymous says:

    where can I download the SDK VM in this page? I can't find it.

    where can I download the SDK VM in this page? I can't find it.

  10. Apr 02, 2009

    Anonymous says:

    Where is the download link???

    Where is the download link???

    1. Apr 03, 2009

      Ewan Mellor says:

      I've updated the page above to include new links to the SDK VM, and the individu...

      I've updated the page above to include new links to the SDK VM, and the individual SDKs.

  11. Apr 08, 2009

    Sachin Sawant says:

    I have downloaded SDK for c-bindings but facing few problems while compiling sam...

    I have downloaded SDK for c-bindings but facing few problems while compiling sample program.

    I am trying to compile test_event_handling.c using g++ compiler command. But I am getting following linking errors:

    test_event_handling.c.text+0x1a7): undefined reference to `xen_init()'
    test_event_handling.c.text+0x1dd): undefined reference to `xen_session_login_with_password(int (void const*, unsigned int, void*, void*, bool (void const*, unsigned int, void*)), void*, char const*, char const*, xen_api_version)'
    test_event_handling.c.text+0x21c): undefined reference to `xen_string_set_alloc(unsigned int)'
    test_event_handling.c.text+0x23a): undefined reference to `xen_event_register(xen_session*, xen_string_set*)'
    test_event_handling.c.text+0x245): undefined reference to `xen_string_set_free(xen_string_set*)'
    test_event_handling.c.text+0x266): undefined reference to `xen_session_logout(xen_session*)'
    test_event_handling.c.text+0x270): undefined reference to `xen_fini()'
    test_event_handling.c.text+0x296): undefined reference to `xen_event_next(xen_session*, xen_event_record_set**)'
    test_event_handling.c.text+0x2b0): undefined reference to `xen_session_logout(xen_session*)'
    test_event_handling.c.text+0x2ba): undefined reference to `xen_fini()'
    test_event_handling.c.text+0x40b): undefined reference to `xen_event_record_set_free(xen_event_record_set*)'

    I have checked the path for the so file and it is correct. The same works for gcc compiler command. Please help.. We need g++ as we need to write c++ code that will use xenserver library.

    Thanks.

  12. May 06, 2009

    Anonymous says:

    helloes, nice that you have this api. but why it doens't support vm snapshot r...

    helloes,

    nice that you have this api.

    but why it doens't support vm snapshot reverting and making some actions on the vm, like starting programs or scripts and etc?

Related Links