In our recent article, we captured the installation steps of Xen Orchestra (XO) on an Ubuntu/Debian server by building a package from source code. XO is software built using a server and a client (such as the web client xo-web) and a client with CLI functions (called xo-cli). There is another installation method that involves deployment using Xen Orchestra Virtual Appliance (XOA). This is the installation that will be performed in this guide.
XOA is a virtual machine with Xen Orchestra installed, so it can be used immediately. The only dependency is that the running Xen/XCP-ng hypervisor host has a network and storage configuration. A bash script will be executed on the hypervisor shell, which will download the VM device and create a new virtual machine from it.
Import XOA XCP-ng server on XenServer
Start a new SSH session to the XenServer host, and then run the following command.
[18:18 xcp-node-01 ~]# bash -c "$(curl -sS https://xoa.io/deploy)"
If you are using a DHCP server on the default network, please agree to continue the installation:
Welcome to the XOA auto-deploy script! Network settings: IP address? [dhcp]
For static IP addresses, please provide all necessary IP-related information, such as netmask, gateway, and DNS server.
Using the DHCP option, the VM should then begin to import:
Your XOA will be started using DHCP Importing XOA VM... Booting XOA VM... Waiting for your XOA to be ready… Your XOA is ready on https://192.168.20.24/ Default UI credentials: [email protected]/admin Default console credentials: xoa/xoa VM UUID: 84f59294-a20c-3658-db12-6ed7152c6e08
If you visit the Xen cluster, you should see that the VM import is in progress.
When it’s done, it’s called “XOA“Should be visible. You can access the shell using the IP address assigned to the instance.
During XOA import, the default login information has been printed out
Your XOA is ready on https://192.168.20.24/ Default UI credentials: [email protected]/admin Default console credentials: xoa/xoa
Use the given username and password to log in to the XO Web console.
navigation”Set value“>”User number“Partially update the administrator password to improve security.
Select the admin user and click “editThe “” under the “Password” section can update the user’s password.
Access the device through the shell:
$ ssh [email protected] Linux xoa 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 __ __ ____ _ _ / / / __ | | | | V / ___ _ __ | | | |_ __ ___| |__ ___ ___| |_ _ __ __ _ > < / _ '_ | | | | '__/ __| '_ / _ / __| __| '__/ _` | / . __/ | | | | |__| | | | (__| | | | __/__ |_| | | (_| | /_/ ____|_| |_| ____/|_| ___|_| |_|___||___/__|_| __,_| Welcome to XOA Unified Edition, with Pro Support. * Restart XO: sudo systemctl restart xo-server.service * Display status: sudo systemctl status xo-server.service * Display logs: sudo journalctl -u xo-server.service * Register your XOA: sudo xoa-updater --register * Update your XOA: sudo xoa-updater --upgrade OFFICIAL XOA DOCUMENTATION HERE: https://xen-orchestra.com/docs/xoa.html Support available at https://xen-orchestra.com/#!/member/support In case of issues, use `xoa check` for a quick health check. Build number: 21.01.02 Based on Debian GNU/Linux 10 (Stable) 64bits in PVHVM mode
The service xo-server should be running:
$ systemctl status xo-server.service ● xo-server.service - XO Server Loaded: loaded (/etc/systemd/system/xo-server.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2021-04-20 11:25:13 EDT; 19h ago Main PID: 504 (node) Tasks: 18 (limit: 2331) Memory: 144.9M CGroup: /system.slice/xo-server.service ├─ 504 node /usr/local/bin/xo-server └─2285 /usr/local/bin/node /usr/local/lib/node_modules/xo-server/node_modules/jest-worker/build/workers/processChild.js
Check and update if there is an update available. But registration is required to update.
sudo xoa-updater --register sudo xoa-updater --upgrade
Add XenServer | XCP-ng server
By going to “Add Xen | XCP-ng Server”Home“>”Add server“
Enter the server label, IP address, username and password used to log in.
Confirm that the connection is successful. The status should automatically change to “activated“
You can get the Xen cluster details-pool, host, VM and used capacity from the console.
Similar articles on the Xen virtualization platform.
Install Xen Orchestra on Ubuntu | Debian to manage Xen/XCP-ng
Add and use ISO library repository in Xen XCP-ng
Use XenCenter to manage the XCP-ng hypervisor | XCP-ng中心