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.0k
    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

      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.

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

        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
        

        0_1456580572864_Screen Shot 2016-02-27 at 13.42.39.png

        stacksofplatesS 1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates @larsen161
          last edited by

          @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
          

          0_1456580572864_Screen Shot 2016-02-27 at 13.42.39.png

          The open source version doesn't have an updater. You have to update manually by pulling from the Git repo.

          1 Reply Last reply Reply Quote 1
          • 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.

            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!

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              0_1458252571971_xo-02.JPG

              Why are there three old versions listed here? can I delete these?

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

                Those are xs tool iso's you have on your XS system.

                Likely for different patches or Windows 10 for example.

                You can remove them without any issue, but what harm are they causing?

                1 Reply Last reply Reply Quote 0
                • stacksofplatesS
                  stacksofplates
                  last edited by

                  And backups to NFS are still broken.....

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

                    @johnhooks said:

                    And backups to NFS are still broken.....

                    Which issue are you referring too? I have my "working system" but I'm having issues when attempting to connect other XS systems to my NFS server.

                    stacksofplatesS 1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @DustinB3403
                      last edited by

                      @DustinB3403 said:

                      @johnhooks said:

                      And backups to NFS are still broken.....

                      Which issue are you referring too? I have my "working system" but I'm having issues when attempting to connect other XS systems to my NFS server.

                      If I add an NFS server in remote store for backups it won't mount. It's not even showing the first slash after the colon. I have to manually mount it through the cli.

                      I also can't add an NFS VDI SR. It just says unknown error from the peer.

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

                        What process are you using to add it through the CLI, I wonder if the same thing is happening when I attempt to setup the newer Xo installations that I've tried.

                        stacksofplatesS 1 Reply Last reply Reply Quote 0
                        • stacksofplatesS
                          stacksofplates @DustinB3403
                          last edited by stacksofplates

                          @DustinB3403 said:

                          What process are you using to add it through the CLI, I wonder if the same thing is happening when I attempt to setup the newer Xo installations that I've tried.

                          Just mounting it normally. I just go to /tmp/xo-server/mounts and do

                          mount -t nfs server:/volume/path remote-#
                          

                          Then click attach in the interface and it attaches.

                          If I unattach the mount and remount it even through the cli, it won't mount in XO.

                          Weird, that's not true. It mounted again, but then I noticed it was unmounted (I was running a test backup).

                          DustinB3403D 2 Replies Last reply Reply Quote 1
                          • DustinB3403D
                            DustinB3403 @stacksofplates
                            last edited by

                            @johnhooks hrm I believe I've tried to mount the share like this, but was befumbled by the system complaining that it wasn't in fstab.

                            As for the dismount / remount issue, it likely has something that is using the connection which is why it doesn't reconnect.

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

                              A reboot likely corrects the issue.

                              1 Reply Last reply Reply Quote 0
                              • stacksofplatesS
                                stacksofplates
                                last edited by stacksofplates

                                rebooted and still the same issue.

                                There wasn't anything using NFS at the time. I ran a backup, it completed, I unmounted it, and then clicked it again and nothing. Rebooted and still won't connect. But if I mount through cli, it will work again for a short while.

                                Also still can't add an NFS SR for VDI, same error.

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

                                  I'm assuming you rebooted the XO installation, I wonder if you have to umount it first.

                                  stacksofplatesS 1 Reply Last reply Reply Quote 0
                                  • stacksofplatesS
                                    stacksofplates @DustinB3403
                                    last edited by

                                    @DustinB3403 said:

                                    I'm assuming you rebooted the XO installation, I wonder if you have to umount it first.

                                    ya I'm too tired to mess with it tonight. I'm thinking about trying out ovirt anyway so it might not be worth it to mess with it much more.

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

                                      Why destroy what you have built already? Just standup ovirt on a separate vm.

                                      stacksofplatesS 1 Reply Last reply Reply Quote 0
                                      • stacksofplatesS
                                        stacksofplates @DustinB3403
                                        last edited by

                                        @DustinB3403 said:

                                        Why destroy what you have built already? Just standup ovirt on a separate vm.

                                        It's the upstream for RHEV. It's not a management interface for Xen.

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

                                          @johnhooks said:

                                          @DustinB3403 said:

                                          What process are you using to add it through the CLI, I wonder if the same thing is happening when I attempt to setup the newer Xo installations that I've tried.

                                          Just mounting it normally. I just go to /tmp/xo-server/mounts and do

                                          mount -t nfs server:/volume/path remote-#
                                          

                                          Then click attach in the interface and it attaches.

                                          If I unattach the mount and remount it even through the cli, it won't mount in XO.

                                          Weird, that's not true. It mounted again, but then I noticed it was unmounted (I was running a test backup).

                                          Well this did work once I was under root on my test system. I had to initially add the mount using the web console as ip /path/store

                                          Including the initial / it didn't mount otherwise.

                                          1 Reply Last reply Reply Quote 0
                                          • hobbit666H
                                            hobbit666 @scottalanmiller
                                            last edited by

                                            @scottalanmiller said in Xen Orchestra on Ubuntu 15.10 - Complete installation instructions:

                                            @DustinB3403 and I have a GitHub hosting of the script now. As it gets updated, it will update there.

                                            https://github.com/scottalanmiller/xenorchestra_installer

                                            Is this just for Ubuntu or will it work on CentOS?? (I prefer CentOS know my way round it better than Ubuntu)

                                            DustinB3403D scottalanmillerS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 30
                                            • 31
                                            • 9 / 31
                                            • First post
                                              Last post