[ClusterLabs] Question: How can i group 2 resources together

2021-02-10 Thread Ben .T.George
HI i have 2 resources and i would like configure in such a way that both should always run from same node, also is it safe to give below values for 2 node cluster: pcs resource defaults migration-threshold=1 pcs property set no-quorum-policy=ignore below is my pcs config:

Re: [ClusterLabs] Question: 2 node pcs cluster required quorum and separate Heartbeat Network

2021-02-10 Thread Andrei Borzenkov
10.02.2021 21:56, Ben .T.George пишет: > HI > > Is it mandatory for 2 node pcs cluster require a quorum and separate > Heartbeat Network? > Two node cluster by definition cannot use quorum - there is no way to split cluster so that any part have majority votes. You can artificially increase

[ClusterLabs] Question: 2 node pcs cluster required quorum and separate Heartbeat Network

2021-02-10 Thread Ben .T.George
HI Is it mandatory for 2 node pcs cluster require a quorum and separate Heartbeat Network? Regards, Ben ___ Manage your subscription: https://lists.clusterlabs.org/mailman/listinfo/users ClusterLabs home: https://www.clusterlabs.org/

Re: [ClusterLabs] Help: Cluster resource relocating to rebooted node automatically

2021-02-10 Thread Ben .T.George
HI thanks for the Help and i have done "pcs resource clear" and tried the same method again, now the resource is not going back. One more thing I noticed is that my service was from systemd and I have created a custom systemd.service file. If i freeze the resource group, start and stop the

Re: [ClusterLabs] Help: Cluster resource relocating to rebooted node automatically

2021-02-10 Thread Ken Gaillot
On Wed, 2021-02-10 at 17:21 +0300, Ben .T.George wrote: > HI > > I have created PCS based 2 node cluster on centos 7 almost > everything is working fine, > > My client machine is on vmware and when I reboot the active node, the > service group is relocating to the passive node and the resources

[ClusterLabs] Help: Cluster resource relocating to rebooted node automatically

2021-02-10 Thread Ben .T.George
HI I have created PCS based 2 node cluster on centos 7 almost everything is working fine, My client machine is on vmware and when I reboot the active node, the service group is relocating to the passive node and the resources are starting fine(one IP and application). But whenever the other