Xen Orchestra on Ubuntu 15.10 - Complete installation instructions
-
Wondering if this issue is due to not rebuilding vhd-util. Rebuilt it, deleting all snapshots, and will then let the job run overnight to see if the deltas are working again.
-
The delta exports for Continuous Replenishment is still not working for me after updating to 4.13.
The snapshots are using a new naming mechanism, and the oldest one isn't being removed when each jobs finishes.
-
Investigating.
-
Can you fetch the last version and try again?
-
I'm glad the update script works for you.
Wasn't to much to put together.
-
@Danp Continuous replication is not using
vhd-util
from XO: the merge is done on XenServer side. -
Ok... I'm testing your latest fix now.
-
-
@olivier said:
Can you fetch the last version and try again?
I don't see an update on github what was updated to address the issue?
-
-
@scottalanmiller Can you add forever to this script?
-
Has anyone looked at XOA to see how they implemented logging?
-
Got rid of the crontab entry and created the file /etc/systemd/system/xo-server.service containing the following:
# systemd service for XO-Server. [Unit] Description= XO Server After=network-online.target [Service] WorkingDirectory=/opt/xo-server/ ExecStart=/usr/local/bin/node ./bin/xo-server Restart=always SyslogIdentifier=xo-server [Install] WantedBy=multi-user.target
Seems to be working fine with the added bonus that you can now do things like
journalctl -u xo-server -f -n 50
. -
@Danp said:
Got rid of the crontab entry and created the file /etc/systemd/system/xo-server.service containing the following:
# systemd service for XO-Server. [Unit] Description= XO Server After=network-online.target [Service] WorkingDirectory=/opt/xo-server/ ExecStart=/usr/local/bin/node ./bin/xo-server Restart=always SyslogIdentifier=xo-server [Install] WantedBy=multi-user.target
Seems to be working fine with the added bonus that you can now do things like
journalctl -u xo-server -f -n 50
.Nice. I tried to do that one day but I was stuck at getting the process to run from the directory (it was late and I didn't try very hard).
-
This time around the install script ran successfully for me! Once it got towards the end it was left running and seeing as I didn't ssh into a screen session once I exited XO stopped. I added the service script thinking that would get it going as a service after a reboot but no luck, it's not running. What gives?
gett@servervm-001-xo:~$ ll /etc/systemd/system/xo* -rwxrwxrwx 1 root root 262 Feb 23 23:58 /etc/systemd/system/xo-server.service*
I had to log back in, run screen then detach after running
sudo bash cd /opt/xo-server; /usr/local/bin/npm start
-
To enable the service at startup, issue the command
sudo systemctl enable xo-server.service
. You can also check the service status withsudo systemctl status xo-server.service
and manually start the service withsudo systemctl start xo-server.service
HTH, Dan
-
New version of XO is out. Haven't tried updating my VM yet.
@DustinB3403 -- In further testing, I didn't find the line
sudo kill $(ps aux | grep "node bin/xo-server" | grep -v grep | cut -d' ' -f8)
to be reliable (IIRC when the pid was a large number).Would be good to update your script so that it will optionally use
systemctl
. -
It's up and running but I'm seeing that the xoa-updater isn't installed. Any idea why that might be?
gett@servervm-001-xo:~$ xoa-update xoa-update: command not found
-
@larsen161 said:
It's up and running but I'm seeing that the xoa-updater isn't installed. Any idea why that might be?
gett@servervm-001-xo:~$ xoa-update xoa-update: command not found
The open source version doesn't have an updater. You have to update manually by pulling from the Git repo.
-
@Danp said:
Got rid of the crontab entry and created the file /etc/systemd/system/xo-server.service containing the following:
# systemd service for XO-Server. [Unit] Description= XO Server After=network-online.target [Service] WorkingDirectory=/opt/xo-server/ ExecStart=/usr/local/bin/node ./bin/xo-server Restart=always SyslogIdentifier=xo-server [Install] WantedBy=multi-user.target
Seems to be working fine with the added bonus that you can now do things like
journalctl -u xo-server -f -n 50
.This is awesome. I've been playing with slices, and I wanted to do this but I never got the time to figure it out. Thanks again!