Re: [ClusterLabs] Antwort: Re: hawk - pacemaker remote
On 12/12/2016 07:05 AM, philipp.achmuel...@arz.at wrote: > >> Von: Ken Gaillot>> An: users@clusterlabs.org >> Datum: 02.12.2016 19:32 >> Betreff: Re: [ClusterLabs] hawk - pacemaker remote >> >> On 12/02/2016 07:38 AM, philipp.achmuel...@arz.at wrote: >> > Hi, >> > >> > pacemaker remote nodes do not show up in hawk gui. >> > regarding documentation, this should work - any hints to activate this? >> > >> > thank you! >> > >> > env: (SLES12.2) >> > pacemaker-1.1.15-19.15.x86_64 >> > hawk2-2.0.0+git.1468428505.0135e38-24.32.x86_64 >> >> I'm not familiar with hawk but based on earlier conversations with >> someone who uses it, it may only see nodes in the CIB section, >> so try setting any permanent node attribute on the remote nodes to make >> them show up >> > > tried several things, didn't get this working. > Any examples how to configure this? > Also how to configure for VirtualDomain with remote_node enabled http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Remote/index.html#_integrate_guest_into_cluster You can set a node attribute on a remote node the same as any other node, using crm_attribute (or your favorite higher-level CLI or GUI tool) ___ Users mailing list: Users@clusterlabs.org http://lists.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
Re: [ClusterLabs] [cluster-lab] reboot standby node
On 12/11/2016 04:19 PM, Omar Jaber wrote: > Hi all , > > I have cluster contains three nodes with different sore for location > constrain and I have group resource (it’s a service exsists in > /etc/init.d/ folder) > > Running on the node the have the highest score for location > constrain when I try to reboot one of the standby nodeI see > when the standby node become up the resource stopped in master node > and restart againafter I check the pacemaker status I see the > following error : > > "error: resource 'resource_name' is active on 2 nodes attempting > recovery " > > Then I disables the pcs cluster service in boot t time in standby > node by run the command "/_pcs_//cluster disable / " then I reboot the > node and I see the resource is started in standby node ( because the > resource stored in /etc/init.d folder) > > After that I run the pcs cluster service in standby node and I see > the same error is generated > > "error: resource 'resource_name' is active on 2 nodes attempting > recovery " > > > > The problem is without reboot standby node this problem not happen > for example > > If I stop pcs cluster service in standby , run the resource in > standby node , then I start pcs cluster > > The error "error: resource 'resource_name' is active on 2 nodes > attempting recovery " not generated in this case. Make sure your resource agent returns exit codes expected by Pacemaker: http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Explained/index.html#s-ocf-return-codes In particular, if a monitor command returns 0 (OCF_SUCCESS), it means the service is running. When any node reboots, Pacemaker will "probe" the existing state of all resources on it, by running a one-time monitor command. If the service is not running, the command should return 7 (OCF_NOT_RUNNING). So, I'm guessing that either the resource agent is wrongly returning 0 for monitor when the service is not actually running, or the node is wrongly starting the service at boot, outside cluster control. ___ Users mailing list: Users@clusterlabs.org http://lists.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
Re: [ClusterLabs] Antwort: Re: hawk - pacemaker remote
philipp.achmuel...@arz.at writes: > > tried several things, didn't get this working. > Any examples how to configure this? > Also how to configure for VirtualDomain with remote_node enabled > > thank you! > Without any details, it is difficult to help - what things did you try, what does "not working" mean? Hawk can show remote nodes, but it only shows them if they have entries in the nodes section of the configuration (as Ken said). Cheers, Kristoffer -- // Kristoffer Grönlund // kgronl...@suse.com ___ Users mailing list: Users@clusterlabs.org http://lists.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
[ClusterLabs] Antwort: Re: hawk - pacemaker remote
> Von: Ken Gaillot> An: users@clusterlabs.org > Datum: 02.12.2016 19:32 > Betreff: Re: [ClusterLabs] hawk - pacemaker remote > > On 12/02/2016 07:38 AM, philipp.achmuel...@arz.at wrote: > > Hi, > > > > pacemaker remote nodes do not show up in hawk gui. > > regarding documentation, this should work - any hints to activate this? > > > > thank you! > > > > env: (SLES12.2) > > pacemaker-1.1.15-19.15.x86_64 > > hawk2-2.0.0+git.1468428505.0135e38-24.32.x86_64 > > I'm not familiar with hawk but based on earlier conversations with > someone who uses it, it may only see nodes in the CIB section, > so try setting any permanent node attribute on the remote nodes to make > them show up > tried several things, didn't get this working. Any examples how to configure this? Also how to configure for VirtualDomain with remote_node enabled thank you! > ___ > Users mailing list: Users@clusterlabs.org > 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 ___ Users mailing list: Users@clusterlabs.org http://lists.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