[Pacemaker] Pacemaker 1.1.10 and pacemaker-remote
emmanuel segura
emi2fast at gmail.com
Thu Dec 5 18:21:01 UTC 2013
what happen if you try ping db0 from your physical host?
2013/12/5 James Oakley <jfunk at funktronics.ca>
> On Thursday, December 5, 2013 9:21:18 AM "Lars Marowsky-Bree" <
> lmb at suse.com> wrote:
> > > primitive lxc_db0 @lxc \
> > > params container="db0" config="/var/lib/lxc/db0/config" \
> > > meta remote-node="db0"
> >
> > I think this is because crm doesn't know about the remote-node
> > attribute. It can render it, but it doesn't pass verify. Kristoffer?
>
> That's why I used crm_resource to add it. If I dump the config with
> cibadmin, it looks consistent with the example here:
>
>
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Pacemaker_Remote/#_mile_high_view_of_configuration_steps
>
> <primitive id="lxc_db0" template="lxc">
> <instance_attributes id="lxc_db0-instance_attributes">
> <nvpair name="container" value="db0"
> id="lxc_db0-instance_attributes-container"/>
> <nvpair name="config" value="/var/lib/lxc/db0/config"
> id="lxc_db0-instance_attributes-config"/>
> </instance_attributes>
> <meta_attributes id="lxc_db0-meta_attributes">
> <nvpair id="lxc_db0-meta_attributes-remote-node" name="remote-node"
> value="db0"/>
> <nvpair id="lxc_db0-meta_attributes-target-role" name="target-role"
> value="Started"/>
> </meta_attributes>
> </primitive>
>
> However, the nodes do not show up in crm status output as in the examples
> in the documentation. I also tried creating a resource to run on a remote
> node, but it said the node didn't exist.
>
>
> > > What am I missing? Is this somehow disabled on non-pcs clusters, and
> if so,
> > > why is the pacemaker-remote package even in the openSUSE repositories
> and
> > > pcs not?
> >
> > We do provide pcs, but not as part of 13.1. Note that the preferred
> > shell on openSUSE/SLE HA is and will remain crmsh, not pcs.
>
> Oh yes, I plan to use whatever is provided/recommend by SuSE, as I always
> have. I am just confused why pacemaker-remote is provided if it only works
> with pcs, which is not. However, it looks like it's not even a crm vs pcs
> thing, but a problem with Pacemaker itself as provided.
>
>
> > pacemaker-remote isn't fully tested on openSUSE yet. We welcome feedback
> > and patches. ;-)
>
> I would be happy to provide feedback or a patch, but I don't even know
> where to start on this. All I can say is that pacemaker-remoted itself is
> running fine and listening on it's port. It's the Pacemaker side I'm having
> trouble with.
>
> --
> James Oakley
> jfunk at funktronics.ca
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
--
esta es mi vida e me la vivo hasta que dios quiera
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131205/fa076253/attachment.htm>
More information about the Pacemaker
mailing list