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
    280.9k
    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.
    • 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
                          • DanpD
                            Danp
                            last edited by

                            To enable the service at startup, issue the command sudo systemctl enable xo-server.service. You can also check the service status with sudo systemctl status xo-server.service and manually start the service with sudo systemctl start xo-server.service

                            HTH, Dan

                            1 Reply Last reply Reply Quote 2
                            • 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
                                            • 1
                                            • 2
                                            • 18
                                            • 19
                                            • 20
                                            • 21
                                            • 22
                                            • 30
                                            • 31
                                            • 20 / 31
                                            • First post
                                              Last post