Re: [ClusterLabs] Freezing/Unfreezing in Pacemaker ?
On 07/04/16 09:12 -0500, Ken Gaillot wrote: > On 04/07/2016 06:40 AM, jaspal singla wrote: >> As we have clusvcadm -U and clusvcadm -Z >> to freeze and unfreeze resource in CMAN. Would really appreciate if >> someone please give some pointers for freezing/unfreezing a resource in >> Pacemaker (pcs) as well. > > The equivalent in pacemaker is "managed" and "unmanaged" resources. > > The usage depends on what tools you are using. For pcs, it's "pcs > resource unmanage " to freeze, and "manage" to unfreeze. > At a lower level, it's setting the is-managed meta-attribute of the > resource. Depending on the context, such as when you don't want the resource manager just to stop taking care about the resource/group, but rather want it to be kept down (preventing its comeback), you can also disable/enable instead of freeze/unfreeze. Admittedly, this semantic difference is somewhat lost in my artifical cluster properties taxonomy mapped to both RGManager and Pacemaker approach: https://pagure.io/clufter/blob/master/f/__root__/doc/rgmanager-pacemaker/03.groups.txt#_219 > It's also possible to set the maintenance-mode cluster property to > "freeze" all resources. (Hmm, this is not covered from this perspective well either: https://pagure.io/clufter/blob/master/f/__root__/doc/rgmanager-pacemaker/01.cluster.txt) -- Jan (Poki) pgpumlVFTMVoW.pgp Description: PGP signature ___ 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
Re: [ClusterLabs] Freezing/Unfreezing in Pacemaker ?
I was discovery problem. lrmd started resource as postgres:haclient instead postgres:postgres. I did not know - is this bug fixed or not, couse my pacemaker a bit oldest. 2016-04-07 17:12 GMT+03:00 Ken Gaillot : > On 04/07/2016 06:40 AM, jaspal singla wrote: > > Hello, > > > > As we have clusvcadm -U and clusvcadm -Z > > > to freeze and unfreeze resource in CMAN. Would really appreciate if > > someone please give some pointers for freezing/unfreezing a resource in > > Pacemaker (pcs) as well. > > > > Thanks, > > Jaspal Singla > > Hi, > > The equivalent in pacemaker is "managed" and "unmanaged" resources. > > The usage depends on what tools you are using. For pcs, it's "pcs > resource unmanage " to freeze, and "manage" to unfreeze. > At a lower level, it's setting the is-managed meta-attribute of the > resource. > > It's also possible to set the maintenance-mode cluster property to > "freeze" all resources. > > ___ > 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://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] Freezing/Unfreezing in Pacemaker ?
On 04/07/2016 06:40 AM, jaspal singla wrote: > Hello, > > As we have clusvcadm -U and clusvcadm -Z > to freeze and unfreeze resource in CMAN. Would really appreciate if > someone please give some pointers for freezing/unfreezing a resource in > Pacemaker (pcs) as well. > > Thanks, > Jaspal Singla Hi, The equivalent in pacemaker is "managed" and "unmanaged" resources. The usage depends on what tools you are using. For pcs, it's "pcs resource unmanage " to freeze, and "manage" to unfreeze. At a lower level, it's setting the is-managed meta-attribute of the resource. It's also possible to set the maintenance-mode cluster property to "freeze" all resources. ___ 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
Re: [ClusterLabs] Freezing/Unfreezing in Pacemaker ?
I did not have it my cman install. I have crm resource with options: --helpback cleanup exit list managemove quit restart show stop unmigrate up -hbye demotefailcount lsmeta param refresh scoresstart trace unmoveutilization ? cdend help maintenance migrate promote reprobe secretstatus unmanage untrace 2016-04-07 14:40 GMT+03:00 jaspal singla : > Hello, > > As we have clusvcadm -U and clusvcadm -Z > to freeze and unfreeze resource in CMAN. Would really appreciate if > someone please give some pointers for freezing/unfreezing a resource in > Pacemaker (pcs) as well. > > Thanks, > Jaspal Singla > > ___ > 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://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] Freezing/Unfreezing in Pacemaker ?
Hello, As we have clusvcadm -U and clusvcadm -Z to freeze and unfreeze resource in CMAN. Would really appreciate if someone please give some pointers for freezing/unfreezing a resource in Pacemaker (pcs) as well. Thanks, Jaspal Singla ___ 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