XO from source - no plugins, no config import
-
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!
-
@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.
-
@Danp we are about to remove this restriction.
-
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.
-
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.