XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XO from source - no plugins, no config import

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 3 Posters 1.3k Views 1 Watching
    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.
    • M Offline
      marekm
      last edited by

      I have tried to follow the instructions, twice (on 64-bit Debian 9.9, and again after upgrade to Debian 10, as VM under XCP-ng 8.0) with the same results each time - basically XO works, but:

      • Settings / Plugins - "No plugins found" (I'd like to look at xo-server-sdn-controller for example)
      • Settings / Config - "No config import available for Community Edition"
        Are there some important steps I missed, or is some $$$ required to make that work? Thanks!
      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        @marekm said in XO from source - no plugins, no config import:

        Settings / Plugins - "No plugins found" (I'd like to look at xo-server-sdn-controller for example)

        You need to create a symlink from the directory containing the source for the plugin into /usr/local/lib/node_modules/ so that the plugin will load at XO startup. For xo-server-sdn-controller, this should look something like --

        ln /opt/xen-orchestra/packages/xo-server-sdn-controller /usr/local/lib/node_modules/

        Settings / Config - "No config import available for Community Edition"

        This is an arbitrary restriction they have included when you are not running their pre-built appliance. Since you have the source code, you can manually remove this restriction.

        P.S. There are bash scripts that will handle all of this for you automatically. 🙂

        olivierlambertO 1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO @Danp
          last edited by

          @Danp we are about to remove this restriction.

          1 Reply Last reply Reply Quote 1
          • M Offline
            marekm
            last edited by

            I wasn't aware of the hardcoded /usr/local/lib path as everything is running from $HOME/xen-orchestra and node_modules directory full of symlinks was there too. It works now - thanks!

            Testing xcp-ng 8.0 on two servers with ha-lizard-noSAN, so far so good. Now, where to find more settings of openvswitch? For the redundant replication link (DRBD/iSCSI) between two machines without a switch, I'd like to set up a bridge with (R)STP between one 1Gb and one 10Gb interface, where 1Gb is a backup if 10Gb link fails. The ha-lizard reference design calls for bonding two 1Gb interfaces with LACP and this was easy to set up in XenCenter, but bonding requires interfaces of the same speed.

            DanpD 1 Reply Last reply Reply Quote 0
            • DanpD Offline
              Danp Pro Support Team @marekm
              last edited by

              See me previous post here -- https://xen-orchestra.com/forum/post/5072

              I'm guessing that you were missing the symlinks for the plugins, otherwise they should have been present in XO.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post