XOA improvements

Xen Orchestra Appliance (XOA) is now providing more integrated assistance, like:

Helpers commands

We added a xoa command that can deliver multiple services.

XOA Health

This command will help us to diagnose trivial issues:

$ xoa check
✔ Node version
✔ Disk space for /var
✔ Disk space for /
✔ XOA version
✔ xo-server config syntax
✔ Appliance registration
✔ Internet connectivity

We check if your XOA appliance is the recent one, enough disk space on root and var, if the Node version is correct and finally if your xo-server configuration is YAML valid.

Remote support

By creating automatically a reverse-SSH tunnel, we can assist you securely even if your XOA is not exposed outside. And that's trivial for you:

$ xoa support tunnel
The support tunnel has been created.

Do not stop this command before the intervention is over!  
Give this id to the support: 40713  

With this number, we are able to access your XOA with the integrated xoa-support user. And when you exit the command, the secured tunnel is closed.

Assisted network configuration

When you import your XOA for the first time, if you don't want to use the default DHCP option, you had to manually configure the network. Now, it's just a command to start:

$ xoa network static
? Static IP for this machine 192.168.100.120
? Network mask (eg 255.255.255.0) 255.255.255.0
? Gateway 192.168.100.254
? IP of the DNS server 192.168.100.254

If you want to come back to DHCP, also easy:

$ xoa network dhcp
Internet Systems Consortium DHCP Client 4.3.1  
Copyright 2004-2014 Internet Systems Consortium.  
All rights reserved.  
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/5a:89:a9:a5:67:c3  
Sending on   LPF/eth0/5a:89:a9:a5:67:c3  
Sending on   Socket/fallback  
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6  
DHCPREQUEST on eth0 to 255.255.255.255 port 67  
DHCPOFFER from 192.168.100.254  
DHCPACK from 192.168.100.254  
bound to 192.168.100.110 -- renewal in 32526 seconds.  

Better support workflow

Also, we improved our support platform, which is more integrated with an assisted workflow. Previously, it was mainly done by emails, now it's a full solution with history (assignment and comments date, live refresh for quick conversation etc.)

And it's available in one click from your XOA!