Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sample:base [2015/03/31 00:31]
admin [Storage Repository (SR)]
sample:base [2015/03/31 01:44] (current)
admin [Start the XOA VM]
Line 491: Line 491:
 We'll now register this newly created SR as the pool's default, i.e. new VMs VDIs willl be stored on this SR unless otherwise specified at creation time: We'll now register this newly created SR as the pool's default, i.e. new VMs VDIs willl be stored on this SR unless otherwise specified at creation time:
 <​code>​ <​code>​
-> sudo xe pool-list +> sudo pool-list  
-uuid ( RO)                : 4a187cc1-69ce-eaf3-2742-6aec0783159f+uuid ( RO)                : 352be6da-23d4-2815-494a-8c6d63957335
           name-label ( RW):            name-label ( RW): 
     name-description ( RW):      name-description ( RW): 
-              master ( RO): 288efd1c-7afe-21ca-e374-cace5e2d7e20+              master ( RO): a006d803-4aa1-11e6-827c-7e5c7af9806e
           default-SR ( RW): <not in database>​           default-SR ( RW): <not in database>​
  
-> sudo xe pool-param-set uuid=4a187cc1-69ce-eaf3-2742-6aec0783159f ​default-SR=26b9d87b-f344-1c8d-c5c5-a155d4e4e2e0+> sudo xe pool-param-set uuid=352be6da-23d4-2815-494a-8c6d63957335 ​default-SR=2f93b6d9-9904-dbfc-afba-d4ba190fca3d
 </​code>​ </​code>​
  
Line 604: Line 604:
 ==== Install the Appliance ==== ==== Install the Appliance ====
 ---- ----
-XenOrchestra (XO) is an open-source Web interface for XenServer (or XCP in this case) communicating through XAPI. It is made available as an "​appliance"​ for Xen, which means you can [[https://​xen-orchestra.com/​|download a fully configured VM from the XO website]]. You'll have to register first but there is a free version available for download (version is 3.as of this writing: 2015-03-05). Once downloaded, you'll have an .xva file that you need to transfer to your Xen Host. We'll use sftp to do this, creating a new directory on the host for .xva files in /​opt/​xen/​X-Local-XVA:​+XenOrchestra (XO) is an open-source Web interface for XenServer (or XCP in this case) communicating through XAPI. It is made available as an "​appliance"​ for Xen, which means you can [[https://​xen-orchestra.com/​|download a fully configured VM from the XO website]]. You'll have to register first but there is a free version available for download (version is 3.as of this writing: 2015-03-31). Once downloaded, you'll have an .xva file that you need to transfer to your Xen Host. We'll use sftp to do this, creating a new directory on the host for .xva files in /​opt/​xen/​X-Local-XVA:​
  
 <​code>​ <​code>​
--- From the workstation where you downloaded xoa_free_3.6.xva --+-- From the workstation where you downloaded xoa_free_3.8.xva -- 
 +> cd /​path/​to/​your/​download
 > sftp root@<​xen_host_ip>​ > sftp root@<​xen_host_ip>​
 sftp> cd /opt/xen sftp> cd /opt/xen
 sftp> mkdir X-Local-XVA sftp> mkdir X-Local-XVA
 sftp> cd X-Local-XVA sftp> cd X-Local-XVA
-sftp> lcd /​path/​to/​your/​download +sftp> put xoa_free_3.8.xva 
-sftp> put xoa_free_3.6.xva +xoa_free_3.8.xva                17%  116MB   ​4.0MB/​s ​  02:16 ETA
-xoa_free_3.6.xva                17%  116MB   ​4.0MB/​s ​  02:16 ETA+
 sftp> exit sftp> exit
 </​code>​ </​code>​
Line 621: Line 621:
 <​code>​ <​code>​
 > cd /​opt/​xen/​X-Local-XVA > cd /​opt/​xen/​X-Local-XVA
-> sudo xe vm-import filename=xoa_free_3.6.xva+> sudo xe vm-import filename=xoa_free_3.8.xva 
 +e803456a-1478-6047-8735-171f1ac0dcf2
 </​code>​ </​code>​
 It takes a little time (unzipping the image), to be honest it can take //quite some// time. It takes a little time (unzipping the image), to be honest it can take //quite some// time.
 +
 +----
 +==== Start the XOA VM ====
 +----
 +Although the VM has now been imported, its initial state is "​halted":​
 +<​code>​
 +> sudo xe vm-list
 +uuid ( RO)           : 185059ea-0cdc-01a6-490f-befa6d20052b
 +     ​name-label ( RW): Control domain on host: provocator
 +    power-state ( RO): running
 +
 +
 +uuid ( RO)           : e803456a-1478-6047-8735-171f1ac0dcf2
 +     ​name-label ( RW): XOA 3.8 Free Edition
 +    power-state ( RO): halted
 +</​code>​
 +
 +Note that you might want to run an IP scan before starting the VM (seen next point).
 +
 +<​code>​
 +> sudo xe vm-start name-label="​XOA 3.8 Free Edition"​
 +</​code>​
  
 ---- ----