Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

lsb and standby

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


jeff at bofus

Dec 8, 2007, 8:47 PM

Post #1 of 2 (561 views)
Permalink
lsb and standby

Hello again,
I have another question about LSB scripts and standby now.

version information:
heartbeat-pils-2.1.2-3.el4.centos
heartbeat-stonith-2.1.2-3.el4.centos
heartbeat-gui-2.1.2-3.el4.centos
heartbeat-2.1.2-3.el4.centos


Question:
I have a group setup (GROUP_knworks_assp)

Here you can see it running normally.
I have put asknmapr02 in standby to do some maintenance on it, and reboot.
============
Last updated: Sat Dec 8 22:35:11 2007
Current DC: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f)
2 Nodes configured.
1 Resources configured.
============

Node: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f): online
Node: asknmapr02 (10c0f8ed-c275-43cc-a1c0-efdce4fc2809): standby

Resource Group: GROUP_knworks_assp
knworks_assp_ip (heartbeat::ocf:IPaddr2): Started asknmapr01
* knworks_assp_initscript (lsb:knworks_assp_init_script.sh):
Started asknmapr01*




When the asknmapr02 node came back up there was a problem with access to
the lsb:knworks_assp_init_script.sh file, and it shut the resource off
on asknmapr01 and failed it (see below)
============
Last updated: Sat Dec 8 22:29:03 2007
Current DC: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f)
2 Nodes configured.
1 Resources configured.
============

Node: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f): online
Node: asknmapr02 (10c0f8ed-c275-43cc-a1c0-efdce4fc2809): standby

Resource Group: GROUP_knworks_assp
knworks_assp_ip (heartbeat::ocf:IPaddr2): Started asknmapr01
* knworks_assp_initscript (lsb:knworks_assp_init_script.sh):
Started asknmapr02 (unmanaged) FAILED*


since node 2 (asknmapr02) is in standby, I assumed that it would not
even try, nor care to try and run it there? is this the intended action
(fail the resource) for the cluster to take if a node in standby cannot
run an LSB script?

Thanks!

-Jeff Humes
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


beekhof at gmail

Dec 8, 2007, 11:42 PM

Post #2 of 2 (494 views)
Permalink
Re: lsb and standby [In reply to]

On Dec 9, 2007 5:47 AM, Jeff Humes <jeff[at]bofus.org> wrote:
> Hello again,
> I have another question about LSB scripts and standby now.
>
> version information:
> heartbeat-pils-2.1.2-3.el4.centos
> heartbeat-stonith-2.1.2-3.el4.centos
> heartbeat-gui-2.1.2-3.el4.centos
> heartbeat-2.1.2-3.el4.centos
>
>
> Question:
> I have a group setup (GROUP_knworks_assp)
>
> Here you can see it running normally.
> I have put asknmapr02 in standby to do some maintenance on it, and reboot.
> ============
> Last updated: Sat Dec 8 22:35:11 2007
> Current DC: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f)
> 2 Nodes configured.
> 1 Resources configured.
> ============
>
> Node: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f): online
> Node: asknmapr02 (10c0f8ed-c275-43cc-a1c0-efdce4fc2809): standby
>
> Resource Group: GROUP_knworks_assp
> knworks_assp_ip (heartbeat::ocf:IPaddr2): Started asknmapr01
> * knworks_assp_initscript (lsb:knworks_assp_init_script.sh):
> Started asknmapr01*
>
>
>
>
> When the asknmapr02 node came back up there was a problem with access to
> the lsb:knworks_assp_init_script.sh file, and it shut the resource off
> on asknmapr01 and failed it (see below)
> ============
> Last updated: Sat Dec 8 22:29:03 2007
> Current DC: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f)
> 2 Nodes configured.
> 1 Resources configured.
> ============
>
> Node: asknmapr01 (079c442e-2e70-4f27-94e4-b62bdc96602f): online
> Node: asknmapr02 (10c0f8ed-c275-43cc-a1c0-efdce4fc2809): standby
>
> Resource Group: GROUP_knworks_assp
> knworks_assp_ip (heartbeat::ocf:IPaddr2): Started asknmapr01
> * knworks_assp_initscript (lsb:knworks_assp_init_script.sh):
> Started asknmapr02 (unmanaged) FAILED*
>
>
> since node 2 (asknmapr02) is in standby, I assumed that it would not
> even try, nor care to try and run it there?

we wont try to run it there - but we will check to make sure its not
running there already

if you grab a later build from
http://download.opensuse.org/repositories/server:/ha-clustering/ ,
then you should find the CRM can better handle missing scripts

> is this the intended action
> (fail the resource) for the cluster to take if a node in standby cannot
> run an LSB script?
>
> Thanks!
>
> -Jeff Humes
> _______________________________________________
> Linux-HA mailing list
> Linux-HA[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.