[ClusterLabs] How to change the name of one cluster resource and resource group ?

Jihed M'selmi jihed.mselmi at gmail.com
Wed Feb 1 10:13:47 EST 2017


The only thing that I found is to create a backup with pcs config
Modify it and then restore.
I was hoping to use a simple command

On Wed, Feb 1, 2017, 4:05 PM Kristoffer Grönlund <kgronlund at suse.com> wrote:

> Jihed M'selmi <jihed.mselmi at gmail.com> writes:
>
> > Thanks for reply,
> > I don't have crm command. It's  corosync version 2.3.4.el7_2.1.
> >
>
> crmsh is a separate project, you can install it in parallel with
> corosync/pacemaker. There are packages on OBS:
>
>
> http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/RedHat_RHEL-7/
>
> Otherwise if you have pcs it should have something similar to crm
> configure rename.
>
> Cheers,
> Kristoffer
>
> > On Wed, Feb 1, 2017, 3:38 PM Kristoffer Grönlund <kgronlund at suse.com>
> wrote:
> >
> >> Jihed M'selmi <jihed.mselmi at gmail.com> writes:
> >>
> >> > Hello,
> >> >
> >> > I need update the name of one resource group with a new name. Any
> >> thoughts?
> >> >
> >>
> >> crmsh has the crm configure rename command, which tries to update any
> >> constraint references atomically as well.
> >>
> >> Cheers,
> >> Kristoffer
> >>
> >> > Cheers,
> >> > JM
> >> > --
> >> >
> >> > J.M
> >> > _______________________________________________
> >> > Users mailing list: Users at 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
> >>
> >> --
> >> // Kristoffer Grönlund
> >> // kgronlund at suse.com
> >>
> > --
> >
> > J.M
>
> --
> // Kristoffer Grönlund
> // kgronlund at suse.com
>
-- 

J.M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20170201/c0368ad0/attachment-0003.html>


More information about the Users mailing list