Tips

Use xen-tools IP pool

You can create a IP pool file under /etc/xen-tools/ips.txt, that will be used by xen-tools to get automated a free IP. It contains one IPv4 per line.

xen-create-image --ip=auto --hostname=test.example.com --dist=stretch --vcpus=2 --memory=4G --size=250G

xenconsoled is not started on reboot

systemctl status xenconsoled
* xenconsoled.service - Xenconsoled - handles logging from guest consoles and hypervisor
   Loaded: loaded (/usr/lib/systemd/system/xenconsoled.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

In this case it is not enabled on startup

systemctl enable xenconsoled

Will show something like this:

Created symlink /etc/systemd/system/multi-user.target.wants/xenconsoled.service → /usr/lib/systemd/system/xenconsoled.service.

After a reboot xenconsoled should be running now.

xenconsoled does not work correct

systemctl status xenconsoled.service
systemctl start xenconsoled.service

With systemD there are no autostart domUs

Make sure the xendomains.service is enabled

systemctl status xendomains.service
* xendomains.service - Xendomains - start and stop guests on boot and shutdown
   Loaded: loaded (/usr/lib/systemd/system/xendomains.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

The service needs to be enabled

systemctl enable xendomains.service

This should return something like

Synchronizing state of xendomains.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable xendomains
Created symlink /etc/systemd/system/multi-user.target.wants/xendomains.service → /usr/lib/systemd/system/xendomains.service.