Difference between revisions of "GSP Virtualisation with Xen"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 135: | Line 135: | ||
An example script in Perl is locaed on stal in bin/xapi-test.pl. It uses RPC::XML::Client to communicate, and lists the VM templates and connects to the various pools. In the end, it should be fairly simple to convert aii-shellfe to actually instantiatei a new VM automatically if you run "--install" :-) | An example script in Perl is locaed on stal in bin/xapi-test.pl. It uses RPC::XML::Client to communicate, and lists the VM templates and connects to the various pools. In the end, it should be fairly simple to convert aii-shellfe to actually instantiatei a new VM automatically if you run "--install" :-) | ||
+ | If you want to look at a ''really dirty'' piece of PERL, have a look at the [http://www.nikhef.nl/grid/ndpf/files/tmp/xapi-createVM.pl PoC code]. | ||
− | Some examples in Python are also available from the Xen site: | + | Some API doc and examples in Python are also available from the Xen site: |
* http://community.citrix.com/display/xs/XenServer+install.py | * http://community.citrix.com/display/xs/XenServer+install.py | ||
+ | * http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/api/ | ||
+ | * http://pastie.org/pastes/993571/reply | ||
= Storage = | = Storage = |