ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra on Ubuntu 15.10 - Complete installation instructions

    IT Discussion
    how to xen orchestra ubuntu 15.10 debian xen open source ubuntu linux xenserver
    24
    609
    281.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DanpD
      Danp
      last edited by

      Had to be the way that I originally created the crontab entry with nano. It all started working correctly once I used your method.

      1 Reply Last reply Reply Quote 2
      • DanpD
        Danp
        last edited by

        Has anyone else tried migrating the XO VM between servers using XO? When I tried this, the VM was successfully moved, but it appeared to lock up and I had to force a reboot.

        Also, what config (VCPUs / ram) are you using for XO? Currently, I'm running 2 VCPUs and 2 GB ram.

        DustinB3403D 1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403 @Danp
          last edited by DustinB3403

          @Danp said:

          Has anyone else tried migrating the XO VM between servers using XO? When I tried this, the VM was successfully moved, but it appeared to lock up and I had to force a reboot.

          Also, what config (VCPUs / ram) are you using for XO? Currently, I'm running 2 VCPUs and 2 GB ram.

          I have done this, and noticed it as well. It seems to take a while to actually complete.

          My XO server is set up identically.

          Edit: Calling @olivier who might be able to better explain the process.

          1 Reply Last reply Reply Quote 0
          • DanpD
            Danp @DustinB3403
            last edited by

            @DustinB3403 said:

            So this script should work.

            Going to update my script and test.

            Just updated to 4.13 using your script. 👌

            DanpD 1 Reply Last reply Reply Quote 2
            • DanpD
              Danp @Danp
              last edited by

              Just updated to 4.13 using your script. 👌

              Now the CR feature seems to be busted (appears to be doing a full export each time instead of a delta). If anyone is feeling like living on the edge, upgrade your copy of XO and see if you get the same behavior. 👀

              P.S. I took a snapshot of XO before updating, so I can always roll back to 4.12

              1 Reply Last reply Reply Quote 1
              • DanpD
                Danp
                last edited by

                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.

                olivierO 1 Reply Last reply Reply Quote 0
                • DanpD
                  Danp
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • olivierO
                    olivier
                    last edited by

                    Investigating.

                    1 Reply Last reply Reply Quote 0
                    • olivierO
                      olivier
                      last edited by olivier

                      Can you fetch the last version and try again?

                      DanpD DustinB3403D 2 Replies Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        I'm glad the update script works for you.

                        🙂

                        Wasn't to much to put together.

                        1 Reply Last reply Reply Quote 0
                        • olivierO
                          olivier @Danp
                          last edited by

                          @Danp Continuous replication is not using vhd-util from XO: the merge is done on XenServer side.

                          1 Reply Last reply Reply Quote 0
                          • DanpD
                            Danp
                            last edited by

                            Ok... I'm testing your latest fix now.

                            1 Reply Last reply Reply Quote 0
                            • DanpD
                              Danp @olivier
                              last edited by

                              @olivier said:

                              Can you fetch the last version and try again?

                              Much better now. Muchas gracias!

                              1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @olivier
                                last edited by

                                @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?

                                1 Reply Last reply Reply Quote 0
                                • olivierO
                                  olivier
                                  last edited by

                                  https://github.com/vatesfr/xo-server/pull/232/files

                                  1 Reply Last reply Reply Quote 2
                                  • A
                                    Alex Sage
                                    last edited by

                                    @scottalanmiller Can you add forever to this script?

                                    1 Reply Last reply Reply Quote 0
                                    • DanpD
                                      Danp
                                      last edited by

                                      Has anyone looked at XOA to see how they implemented logging?

                                      1 Reply Last reply Reply Quote 0
                                      • DanpD
                                        Danp
                                        last edited by

                                        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.

                                        stacksofplatesS 2 Replies Last reply Reply Quote 3
                                        • stacksofplatesS
                                          stacksofplates @Danp
                                          last edited by

                                          @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).

                                          1 Reply Last reply Reply Quote 0
                                          • larsen161L
                                            larsen161
                                            last edited by

                                            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
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 30
                                            • 31
                                            • 8 / 31
                                            • First post
                                              Last post