Hi All,
Unfortunately I cannot install pacemaker :(
I just installed heartbeat 2.1.4 and in crm_mon I am getting
Master/Slave status.
Master/Slave Set: ms_1
Stateful_1:0 (heartbeat::ocf:Stateful): Master centOS58-1
Stateful_1:1 (heartbeat::ocf:Stateful): Started centOS58-2
Master/Slave Set: ms_2
Stateful_2:0 (heartbeat::ocf:Stateful): Master centOS58-1
Stateful_2:1 (heartbeat::ocf:Stateful): Started centOS58-2
However, I have some queries.
1. I am getting the below error when any file in the directory
/var/run/heartbeat/rsctmp/ is delete(To simulate process failure).
Jun 11 10:13:04 centOS58-1 crm_mon: [19626]: info:
G_main_add_SignalHandler: Added signal handler for signal 15
Jun 11 10:13:04 centOS58-1 crm_mon: [19626]: info:
G_main_add_SignalHandler: Added signal handler for signal 2
Jun 11 10:13:05 centOS58-1 crm_mon: [19627]: info:
G_main_add_SignalHandler: Added signal handler for signal 15
Jun 11 10:13:05 centOS58-1 crm_mon: [19627]: info:
G_main_add_SignalHandler: Added signal handler for signal 2
2. Do I need to add a separate monitor operations for Master and
Slave(Right now it is "Started")?
3. It would be great if someone provides a sample configuration for below
scenario.(default-stickiness/migration-threshold etc).
a. If a Master resource fails, slave resource running on another node
should become Master and failed resource should be restarted.
b. If a Slave resource fails, only the slave resource should be
restarted.
Regards,
Uttam
On Tue, Jun 11, 2013 at 1:23 PM, Andrew Beekhof <[email protected]> wrote:
>
> On 11/06/2013, at 3:13 PM, John M <[email protected]> wrote:
>
> > Hi All,
> >
> > I am using heartbeat 2.1.3 and I have configured a Master/Slave setup
> > using Stateful RA.
> > But when I run crm_mon -r -1, it shows the status as "Started". How can
> > i identify which node is Master or Slave?
>
> In this case, none of them.
> And if you wish to use master/slave, I seriously suggest an upgrade to
> Pacemaker 1.1.something
>
> >
> >
> > Master/Slave Set: ms_1
> > Stateful_1:0 (heartbeat::ocf:Stateful): Started centOS58-1
> > Stateful_1:1 (heartbeat::ocf:Stateful): Started centOS58-2
> > Master/Slave Set: ms_2
> > Stateful_2:0 (heartbeat::ocf:Stateful): Started centOS58-1
> > Stateful_2:1 (heartbeat::ocf:Stateful): Started centOS58-2
> >
> >
> > BR,
> > Mark
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
>
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems