Re: [ClusterLabs] ClusterMon resource creation getting illegal option -- E in ClusterMon

2023-04-12 Thread Ken Gaillot
ClusterMon with -E has been superseded by Pacemaker's built-in alerts functionality: https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/singlehtml/index.html#document-alerts On Wed, 2023-04-12 at 12:03 +, S Sathish S via Users wrote: > Hi Team, > > While creating ClusterMon

[ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-12 Thread Philip Schiller
Here are also some Additional some additional information for a failover with setting the node standby. Apr 12 12:40:28 s1 pacemaker-controld[1611990]:  notice: State transition S_IDLE -> S_POLICY_ENGINE Apr 12 12:40:28 s1 pacemaker-schedulerd[1611989]:  notice: On loss of quorum: Ignore Apr

[ClusterLabs] ClusterMon resource creation getting illegal option -- E in ClusterMon

2023-04-12 Thread S Sathish S via Users
Hi Team, While creating ClusterMon resource agent in Clusterlab High Availability getting illegal option -- E in ClusterMon. [root@node1 tmp]# pcs resource create SNMP_test ocf:pacemaker:ClusterMon extra_options="-E /tmp/tools/PCSESA.sh" Error: Validation result from agent (use --force to

[ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-12 Thread Philip Schiller
hank you for the reply. I added the following line to crm configure: colocation colo_pri-vm-alarmanlage-drbd-jabber_master inf: pri-vm-jabber:Started mas-drbd-jabber:Master This doesn't change anything though. Here some output of crm_mon: Cluster Summary:   * Stack: corosync   * Current DC:

Re: [ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-12 Thread Vladislav Bogdanov
On Wed, 2023-04-12 at 14:04 +0300, Andrei Borzenkov wrote: > On Wed, Apr 12, 2023 at 1:21 PM Vladislav Bogdanov ok.com> wrote: > > > > Hi, > > > > Just add a Master role for drbd resource in the colocation. Default > > is Started (or Slave). > > > > Could you elaborate why it is needed? The

Re: [ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-12 Thread Andrei Borzenkov
On Wed, Apr 12, 2023 at 1:21 PM Vladislav Bogdanov wrote: > > Hi, > > Just add a Master role for drbd resource in the colocation. Default is > Started (or Slave). > Could you elaborate why it is needed? The problem is not leaving the resource on the node with a demoted instance - when the node

Re: [ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-12 Thread Vladislav Bogdanov
Hi, Just add a Master role for drbd resource in the colocation. Default is Started (or Slave). Philip Schiller 12 апреля 2023 г. 11:28:57 написал: Hi All, I am using a simple two-nodes cluster with Zvol -> DRBD -> Virsh in primary/primary mode (necessary for live migration). My

[ClusterLabs] HA problem: No live migration when setting node on standby

2023-04-12 Thread Philip Schiller
Hi All, I am using a simple two-nodes cluster with Zvol -> DRBD -> Virsh in primary/primary mode (necessary for live migration). My configuration: primitive pri-vm-alarmanlage VirtualDomain \ params

Re: [ClusterLabs] Location not working [FIXED]

2023-04-12 Thread Klaus Wenninger
On Wed, Apr 12, 2023 at 9:27 AM Andrei Borzenkov wrote: > On Tue, Apr 11, 2023 at 6:27 PM Ken Gaillot wrote: > > > > On Tue, 2023-04-11 at 17:31 +0300, Miro Igov wrote: > > > I fixed the issue by changing location definition from: > > > > > > location intranet-ip_on_any_nginx intranet-ip \ > >

Re: [ClusterLabs] Location not working [FIXED]

2023-04-12 Thread Andrei Borzenkov
On Tue, Apr 11, 2023 at 6:27 PM Ken Gaillot wrote: > > On Tue, 2023-04-11 at 17:31 +0300, Miro Igov wrote: > > I fixed the issue by changing location definition from: > > > > location intranet-ip_on_any_nginx intranet-ip \ > > rule -inf: opa-nginx_1_active eq 0 \ > > rule -inf: