Ok, now I deploy a custom crm.conf with path as in my system. I also had to patch config.py with my crm.conf position as build is not considering sysconfdir and localstatedir. Here is the output, I check with an asterisk what is not present in my system (but not important, I think): core.editor = /usr/bin/vim core.pager = /usr/bin/less -ins core.ptest = /usr/sbin/crm_simulate path.cache = /sonicle/var/cluster/cache/crm path.crm_config = /sonicle/var/cluster/lib/pacemaker/cib path.crm_daemon_dir = /usr/libexec/pacemaker path.crm_dtd_dir = /usr/share/pacemaker *path.hawk_wizards = /srv/www/hawk/config/wizard path.hb_delnode = /usr/share/heartbeat/hb_delnode path.heartbeat_dir = /var/lib/heartbeat (contains only 'cores', but I'm no more using heartbeat) *path.nagios_plugins = /usr/lib64/nagios/plugins path.ocf_root = /usr/lib/ocf path.pe_state_dir = /sonicle/var/cluster/lib/pacemaker/pengine path.sharedir = /usr/share/crmsh here is the list of files in my /usr/share/pacemaker: acls-1.2.rng acls-2.0.rng cib-1.0.rng cib-1.2.rng constraints-1.0.rng constraints-1.2.rng constraints-2.1.rng constraints-2.2.rng constraints-2.3.rng constraints-next.rng crm_mon.rng crm-transitional.dtd crm.dtd fencing-1.2.rng fencing-2.4.rng nodes-1.0.rng nodes-1.2.rng nodes-1.3.rng nvset-1.3.rng nvset.rng options-1.0.rng pacemaker-1.0.rng pacemaker-1.2.rng pacemaker-1.3.rng pacemaker-2.0.rng pacemaker-2.1.rng pacemaker-2.2.rng pacemaker-2.3.rng pacemaker-2.4.rng pacemaker-next.rng pacemaker.rng report.collector report.common resources-1.0.rng resources-1.2.rng resources-1.3.rng rule.rng score.rng status-1.0.rng tags-1.3.rng tests upgrade-1.3.xsl upgrade06.xsl versions.rng Thanks for your help! ---------------------------------------------------------------------------------------- Sonicle S.r.l. : http://www.sonicle.com Music: http://www.gabrielebulfon.com Quantum Mechanics : http://www.cdbaby.com/cd/gabrielebulfon ---------------------------------------------------------------------------------- Da: Kristoffer Grönlund A: [email protected] Cluster Labs - All topics related to open-source clustering welcomed Data: 25 agosto 2016 10.17.01 CEST Oggetto: Re: [ClusterLabs] converting configuration Gabriele Bulfon writes: Yes I'm packaging for our distro from sources, pacemaker 1.1.14, corosync 2.4.1 and crm-shell 2.2.1 Our distro is an illumos distro, XStreamOS. How can I check where it's looking for available primitives? Aah, I see. Look at the output from crm options list all There should be an entry for path.crm_dtd_dir. This should point to the directory where the pacemaker .rng schema files are installed. On my system, this is /usr/share/pacemaker, where I find files like pacemaker-2.5.rng. If this doesn't point to the correct location, you can set this in /etc/crm/crm.conf. If you are packaging, you probably want to install this file with the correct path already set. Also check the other path configurations, and let me know what your installation location is, so I can make crmsh look there as well by default. Thank you! Cheers, Kristoffer -- // Kristoffer Grönlund // [email protected]
_______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users
Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
