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

Mailing List Archive: Linux-HA: Users

Cloning for STONITH for 2 node configuration

 

 

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


hari.tene at gmail

Sep 8, 2010, 11:38 PM

Post #1 of 8 (565 views)
Permalink
Cloning for STONITH for 2 node configuration

Hello,



I have few doubts regarding HA Cloning and using STONITH and would be
grateful if you can help me.



I have a cluster of two server nodes and use ILO device for power cycling
nodes. I went through few threads in mail-archive related to STONITH and
Cloning. As I understood, for 2 nodes, cloning is not NECESSARY.



I have an environment where I am already using cloning for 2 nodes and do
not want to disturb them.(Mainly because there are huge number of
configurations like this and cant afford down time :( )

I use Heartbeat V2. Here is what entries for STONITH in my ha.cf file look
like -



stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
ilo2_password 1 2.0 off

stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
ilo2_password 1 2.0 off



*My question here is,*

*Does cloning for stonith for 2 nodes only has any undesired effects? For a
2 node configuration, what is the difference if I clone STONITH and if I
don’t. Any advantages or dis-advantages of using or not using cloning.*



Thanks in advance.

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


andrew at beekhof

Sep 13, 2010, 6:16 AM

Post #2 of 8 (535 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

On Thu, Sep 9, 2010 at 8:38 AM, harish tene <hari.tene [at] gmail> wrote:
> Hello,
>
>
>
> I have few doubts regarding HA Cloning and using STONITH and would be
> grateful if you can help me.
>
>
>
> I have a cluster of two server nodes and use ILO device for power cycling
> nodes. I went through few threads in mail-archive related to STONITH and
> Cloning.  As I understood, for 2 nodes, cloning is not NECESSARY.

Its not strictly necessary for any number of nodes, though it can
speed up recovery.

>
>
>
> I have an environment where I am already using cloning for 2 nodes and do
> not want to disturb them.(Mainly because there are huge number of
> configurations like this and cant afford down time :( )
>
> I use Heartbeat V2. Here is what entries for STONITH in my ha.cf file look
> like -
>
>
>
> stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
> ilo2_password 1 2.0 off
>
> stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
> ilo2_password 1 2.0 off

These lines only apply to non-crm/pacemaker clusters.
What are you trying use?

>
> *My question here is,*
>
> *Does cloning for stonith for 2 nodes only has any undesired effects? For a
> 2 node configuration, what is the difference if I clone STONITH and if I
> don’t. Any advantages or dis-advantages of using or not using cloning.*
>
>
>
> Thanks in advance.
>
> Harish
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


hari.tene at gmail

Sep 13, 2010, 10:49 PM

Post #3 of 8 (535 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

Thank you for the reply.

On Mon, Sep 13, 2010 at 6:46 PM, Andrew Beekhof <andrew [at] beekhof> wrote:

> On Thu, Sep 9, 2010 at 8:38 AM, harish tene <hari.tene [at] gmail> wrote:
> > Hello,
> >
> >
> >
> > I have few doubts regarding HA Cloning and using STONITH and would be
> > grateful if you can help me.
> >
> >
> >
> > I have a cluster of two server nodes and use ILO device for power cycling
> > nodes. I went through few threads in mail-archive related to STONITH and
> > Cloning. As I understood, for 2 nodes, cloning is not NECESSARY.
>
> Its not strictly necessary for any number of nodes, though it can
> speed up recovery.
>
> >
> >
> >
> > I have an environment where I am already using cloning for 2 nodes and do
> > not want to disturb them.(Mainly because there are huge number of
> > configurations like this and cant afford down time :( )
> >
> > I use Heartbeat V2. Here is what entries for STONITH in my ha.cf file
> look
> > like -
> >
> >
> >
> > stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
> > ilo2_password 1 2.0 off
> >
> > stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
> > ilo2_password 1 2.0 off
>
> These lines only apply to non-crm/pacemaker clusters.
> What are you trying use?
>

*I am using Heartbeat version 2.1.3.*

>
> >
> > *My question here is,*
> >
> > *Does cloning for stonith for 2 nodes only has any undesired effects? For
> a
> > 2 node configuration, what is the difference if I clone STONITH and if I
> > don’t. Any advantages or dis-advantages of using or not using cloning.*
> >
> >
> >
> > Thanks in advance.
> >
> > Harish
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


hari.tene at gmail

Sep 14, 2010, 12:19 AM

Post #4 of 8 (532 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

On Tue, Sep 14, 2010 at 11:19 AM, harish tene <hari.tene [at] gmail> wrote:

> Thank you for the reply.
>
> On Mon, Sep 13, 2010 at 6:46 PM, Andrew Beekhof <andrew [at] beekhof>wrote:
>
>> On Thu, Sep 9, 2010 at 8:38 AM, harish tene <hari.tene [at] gmail> wrote:
>> > Hello,
>> >
>> >
>> >
>> > I have few doubts regarding HA Cloning and using STONITH and would be
>> > grateful if you can help me.
>> >
>> >
>> >
>> > I have a cluster of two server nodes and use ILO device for power
>> cycling
>> > nodes. I went through few threads in mail-archive related to STONITH and
>> > Cloning. As I understood, for 2 nodes, cloning is not NECESSARY.
>>
>> Its not strictly necessary for any number of nodes, though it can
>> speed up recovery.
>>
>> >
>> >
>> >
>> > I have an environment where I am already using cloning for 2 nodes and
>> do
>> > not want to disturb them.(Mainly because there are huge number of
>> > configurations like this and cant afford down time :( )
>> >
>> > I use Heartbeat V2. Here is what entries for STONITH in my ha.cf file
>> look
>> > like -
>> >
>> >
>> >
>> > stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
>> > ilo2_password 1 2.0 off
>> >
>> > stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
>> > ilo2_password 1 2.0 off
>>
>> These lines only apply to non-crm/pacemaker clusters.
>> What are you trying use?
>>
>
> *I am using Heartbeat version 2.1.3.*
>
This version of Heartbeat uses CRM Version 2.0 (CIB feature set 2.0)

I will be glad if you can help me with the below questions too.

>
>> >
>> > *My question here is,*
>> >
>> > *Does cloning for stonith for 2 nodes only has any undesired effects?
>> For a
>> > 2 node configuration, what is the difference if I clone STONITH and if I
>> > don’t. Any advantages or dis-advantages of using or not using cloning.*
>> >
>> >
>> >
>> > Thanks in advance.
>> >
>> > Harish
>> > _______________________________________________
>> > Linux-HA mailing list
>> > Linux-HA [at] lists
>> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> > See also: http://linux-ha.org/ReportingProblems
>> >
>> _______________________________________________
>> Linux-HA mailing list
>> Linux-HA [at] lists
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>>
>
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


florian.haas at linbit

Sep 14, 2010, 12:42 AM

Post #5 of 8 (531 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

On 2010-09-14 09:19, harish tene wrote:
>>>> stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
>>>> ilo2_password 1 2.0 off
>>>>
>>>> stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
>>>> ilo2_password 1 2.0 off
>>>
>>> These lines only apply to non-crm/pacemaker clusters.
>>> What are you trying use?
>>>
>>
>> *I am using Heartbeat version 2.1.3.*

Bad bad bad idea. Upgrade to Heartbeat 3.0.3 and Pacemaker _before_ you
start collecting ideas for writing your own resource or STONITH agents.

Cheers,
Florian
Attachments: signature.asc (0.26 KB)


hari.tene at gmail

Sep 14, 2010, 2:27 AM

Post #6 of 8 (527 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

On Tue, Sep 14, 2010 at 1:12 PM, Florian Haas <florian.haas [at] linbit>wrote:

> On 2010-09-14 09:19, harish tene wrote:
> >>>> stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
> >>>> ilo2_password 1 2.0 off
> >>>>
> >>>> stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
> >>>> ilo2_password 1 2.0 off
> >>>
> >>> These lines only apply to non-crm/pacemaker clusters.
> >>> What are you trying use?
> >>>
> >>
> >> *I am using Heartbeat version 2.1.3.*
>
> Bad bad bad idea. Upgrade to Heartbeat 3.0.3 and Pacemaker _before_ you
> start collecting ideas for writing your own resource or STONITH agents.
>

@Florian - Thank you for the suggestion. Unfortunately, my existing system
does not allow me to upgrade :( though there could be plans for future. And
as per my knowledge, the question of cloning still remains for upgraded
versions too(pls correct me if I am wrong). My intention is to understand
cloning, and cloning for stonith.

*"Does cloning for stonith for 2 nodes only has any undesired effects? For a
2 node configuration, what is the difference if I clone STONITH and if I
don’t. Any advantages or dis-advantages of using or not using cloning.*"

Regards,
Harish


> Cheers,
> Florian
>
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Sep 14, 2010, 3:29 AM

Post #7 of 8 (528 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

Him

On Tue, Sep 14, 2010 at 02:57:12PM +0530, harish tene wrote:
> On Tue, Sep 14, 2010 at 1:12 PM, Florian Haas <florian.haas [at] linbit>wrote:
>
> > On 2010-09-14 09:19, harish tene wrote:
> > >>>> stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
> > >>>> ilo2_password 1 2.0 off
> > >>>>
> > >>>> stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
> > >>>> ilo2_password 1 2.0 off
> > >>>
> > >>> These lines only apply to non-crm/pacemaker clusters.
> > >>> What are you trying use?
> > >>>
> > >>
> > >> *I am using Heartbeat version 2.1.3.*
> >
> > Bad bad bad idea. Upgrade to Heartbeat 3.0.3 and Pacemaker _before_ you
> > start collecting ideas for writing your own resource or STONITH agents.
> >
>
> @Florian - Thank you for the suggestion. Unfortunately, my existing system
> does not allow me to upgrade :( though there could be plans for future. And
> as per my knowledge, the question of cloning still remains for upgraded
> versions too(pls correct me if I am wrong). My intention is to understand
> cloning, and cloning for stonith.
>
> *"Does cloning for stonith for 2 nodes only has any undesired effects? For a
> 2 node configuration, what is the difference if I clone STONITH and if I
> don’t. Any advantages or dis-advantages of using or not using cloning.*"

If you're using riloe, definitely better not to use clones. Just
add negative location constraints for the node which the stonith
resource is to manage/fence. See
http://www.clusterlabs.org/doc/crm_fencing.html
And upgrade as soon as you can.

Thanks,

Dejan


> Regards,
> Harish
>
>
> > Cheers,
> > Florian
> >
> >
> >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


hari.tene at gmail

Sep 14, 2010, 6:29 AM

Post #8 of 8 (532 views)
Permalink
Re: Cloning for STONITH for 2 node configuration [In reply to]

On Tue, Sep 14, 2010 at 3:59 PM, Dejan Muhamedagic <dejanmm [at] fastmail>wrote:

> Him
>
> On Tue, Sep 14, 2010 at 02:57:12PM +0530, harish tene wrote:
> > On Tue, Sep 14, 2010 at 1:12 PM, Florian Haas <florian.haas [at] linbit
> >wrote:
> >
> > > On 2010-09-14 09:19, harish tene wrote:
> > > >>>> stonith_host * external/riloe node1 node1_ilo_ipaddress ilo2_login
> > > >>>> ilo2_password 1 2.0 off
> > > >>>>
> > > >>>> stonith_host * external/riloe node2 node2_ilo_ipaddress ilo2_login
> > > >>>> ilo2_password 1 2.0 off
> > > >>>
> > > >>> These lines only apply to non-crm/pacemaker clusters.
> > > >>> What are you trying use?
> > > >>>
> > > >>
> > > >> *I am using Heartbeat version 2.1.3.*
> > >
> > > Bad bad bad idea. Upgrade to Heartbeat 3.0.3 and Pacemaker _before_ you
> > > start collecting ideas for writing your own resource or STONITH agents.
> > >
> >
> > @Florian - Thank you for the suggestion. Unfortunately, my existing
> system
> > does not allow me to upgrade :( though there could be plans for future.
> And
> > as per my knowledge, the question of cloning still remains for upgraded
> > versions too(pls correct me if I am wrong). My intention is to understand
> > cloning, and cloning for stonith.
> >
> > *"Does cloning for stonith for 2 nodes only has any undesired effects?
> For a
> > 2 node configuration, what is the difference if I clone STONITH and if I
> > don’t. Any advantages or dis-advantages of using or not using cloning.*"
>
> If you're using riloe, definitely better not to use clones.


Forgive my ignorance, but my question will be why? Is it for the reason that
multiple connections are not allowed to an ILO device?

Regards,
Harish

Just add negative location constraints for the node which the stonith
> resource is to manage/fence. See
> http://www.clusterlabs.org/doc/crm_fencing.html
> And upgrade as soon as you can.
>
> Thanks,
>
> Dejan
>
>
> > Regards,
> > Harish
> >
> >
> > > Cheers,
> > > Florian
> > >
> > >
> > >
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA [at] lists
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA [at] lists
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
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 Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.