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
hypervisor:toolstack:gui [2014/04/30 00:07]
admin [Connect the VM to the Desired Network]
hypervisor:toolstack:gui [2015/03/05 14:13] (current)
admin Links adapted because of a move operation
Line 2: Line 2:
 There are quite a few solutions that can act as a GUI for XCP-XAPI. There are quite a few solutions that can act as a GUI for XCP-XAPI.
  
-Note that prior to installing a virtual machine, you'll need to **setup your [[:hypervisor:vms:storage-repository|storage repositories]]**.+Note that prior to installing a virtual machine, you'll need to **setup your [[hypervisor:​base:​storage|storage repositories]]**.
 ===== Xen Orchestra ===== ===== Xen Orchestra =====
 Can be installed as an "​appliance":​ Can be installed as an "​appliance":​
Line 42: Line 42:
 Now find the uuid of the appliance VM Now find the uuid of the appliance VM
 <​code>​ <​code>​
-> xe vm-list name-label=name_of_your_appliance --minimal+> xe vm-list name-label=<name_of_your_appliance--minimal
 </​code>​ </​code>​
  
 Connect the VM to your chosen network using Connect the VM to your chosen network using
 <​code>​ <​code>​
-> xe vif-create vm-uuid=<​uuid of vm> network-uuid=<​uuid of network> device=0+> xe vif-create vm-uuid=<​uuid_of_vm> network-uuid=<​uuid_of_network> device=0
 </​code>​ </​code>​
 +
 +==== Run the Appliance on a Selected Host ====
  
 Now, find the UUID of the host serveur you're willing to run the appliance on: Now, find the UUID of the host serveur you're willing to run the appliance on:
Line 57: Line 59:
 Start the appliance on this host without VNC console Start the appliance on this host without VNC console
 <​code>​ <​code>​
-> xe vm-param-set uuid=<uuid-of-vm> other-config:​disable_pv_vnc=1 +> xe vm-param-set uuid=<uuid_of_vm> other-config:​disable_pv_vnc=1 
-> xe vm-start uuid=<uuid-of-vm> on=<name-label-of-host>+> xe vm-start uuid=<uuid_of_vm> on=<name_label_of_host>
 </​code>​ </​code>​
  
-To display appliance'​s console from your login session on this host server+To display appliance'​s ​(VM) console from your login session on this host server
 <​code>​ <​code>​
-> xe vm-list params=dom-id ​uuid=<​uuid-of-vm> --minimal +> xe vm-list params=dom-id ​name-label=XOA 
-> /​usr/​lib/​xen/​bin/​xenconsole <dom-id>+> /​usr/​lib/​xen-4.1/​bin/​xenconsole <dom_id>​ 
 +</​code>​ 
 + 
 +Login as "​root"​ user (passwd: root).\\ 
 +Issuing an **ifconfig** command will let you find out the DHCP allocated IP of your VM... 
 + 
 +<WRAP center round tip 90%> 
 +Pay attention to the fact that connecting to the VM's console is a **one way ticket**. This means that **once in the VM's console, you won't be able to get back to the host's console**. 
 + 
 +In case you're working directly from the server'​s keyboard and screen (not over ssh), this might lock you out! 
 + 
 +Working through a ssh connection to the server will still let you open another session, but if you are to use the server'​s keyboard and screen you might find it useful to install the "​screen"​ software. 
 +</​WRAP>​ 
 + 
 +To have a quick overview of what screen can do, have a look at this page: [[http://​www.tecmint.com/​screen-command-examples-to-manage-linux-terminals/​]] 
 + 
 +==== Autostart a VM ==== 
 +First activate auto-start option on the pool you need it: the process is to identify the pool on which you want to activate auto-start and modify the auto_poweron parameter. 
 +<code> 
 +> xe pool-list 
 +uuid ( RO)                : <​YOUR-POOL-UUID>​ 
 + 
 +> xe pool-param-set uuid=<​YOUR-POOL-UUID>​ other-config:​auto_poweron=true 
 +</​code>​ 
 + 
 +Then identify the VM you want to auto-start and also modify it's auto_poweron parameter:​ 
 +<​code>​ 
 +> xe vm-list name-label=XOA 
 +uuid ( RO)           : <​YOUR-VM-UUID>​ 
 + 
 +> xe vm-param-set uuid=<​YOUR-VM-UUID>​ other-config:​auto_poweron=true
 </​code>​ </​code>​