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

Mailing List Archive: Linux-HA: Users

Configuring iSCSI failover, service stops when slave comes up

 

 

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


boyin_net at yahoo

Nov 23, 2009, 1:41 AM

Post #1 of 4 (1279 views)
Permalink
Configuring iSCSI failover, service stops when slave comes up

Hi

I am a naive user of pacemaker and have been trying to achieve iSCSI failover on Pacemaker.
I have tried couple of things though, which logically looks fine. But,
I am not able to get any progress in this. So, I wanted to share this
problem with you and help me sort out the problem.

I have attached cib.xml f ile and the output of 'cibadmin -Q' command.

crm_mon shows perfectly fine when both the nodes are up and shows all services are running.

I
powered off the master (desk2 at present), desk1 becomes master fine,
but the iscsiLU resource is seen 'Stopped' at this machine. I think
this service is not migrated here.

Can anyone guide me thtough this ? Where am I doing wrong ? Is there any tutorial available for iSCSI failover might also help ?
n
Attachments: cib.xml (20.5 KB)
  cibadm -Q (16.2 KB)


florian.haas at linbit

Nov 24, 2009, 1:13 AM

Post #2 of 4 (1235 views)
Permalink
Re: Configuring iSCSI failover, service stops when slave comes up [In reply to]

Hello,

On 2009-11-23 10:41, sajan agrawal wrote:
> Hi
>
> I am a naive user of pacemaker and have been trying to achieve iSCSI failover on Pacemaker.
> I have tried couple of things though, which logically looks fine. But,
> I am not able to get any progress in this. So, I wanted to share this
> problem with you and help me sort out the problem.
>
> I have attached cib.xml f ile and the output of 'cibadmin -Q' command.
>
> crm_mon shows perfectly fine when both the nodes are up and shows all services are running.
>
> I
> powered off the master (desk2 at present), desk1 becomes master fine,
> but the iscsiLU resource is seen 'Stopped' at this machine. I think
> this service is not migrated here.
>
> Can anyone guide me thtough this ? Where am I doing wrong ? Is there any tutorial available for iSCSI failover might also help ?
> n

We have a whitepaper available on that topic.
http://www.linbit.com/en/contact; please leave your contact details and
mention iSCSI whitepaper.

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


boyin_net at yahoo

Nov 25, 2009, 1:55 AM

Post #3 of 4 (1220 views)
Permalink
Re: Configuring iSCSI failover, service stops when slave comes up [In reply to]

Hi Florian

I got the white paper from Linbit and I read it, but the paper doesnt
include any configuration solution to my problem. I have configured similary
as in the paper described.
As I have said the iSCSI service is observed to stop when slave becomes
Active.

Thank you for the paper but it is not helping now.

Regards
Sajan



Florian Haas-3 wrote:
>
> Hello,
>
> On 2009-11-23 10:41, sajan agrawal wrote:
>> Hi
>>
>> I am a naive user of pacemaker and have been trying to achieve iSCSI
>> failover on Pacemaker.
>> I have tried couple of things though, which logically looks fine. But,
>> I am not able to get any progress in this. So, I wanted to share this
>> problem with you and help me sort out the problem.
>>
>> I have attached cib.xml f ile and the output of 'cibadmin -Q' command.
>>
>> crm_mon shows perfectly fine when both the nodes are up and shows all
>> services are running.
>>
>> I
>> powered off the master (desk2 at present), desk1 becomes master fine,
>> but the iscsiLU resource is seen 'Stopped' at this machine. I think
>> this service is not migrated here.
>>
>> Can anyone guide me thtough this ? Where am I doing wrong ? Is there any
>> tutorial available for iSCSI failover might also help ?
>> n
>
> We have a whitepaper available on that topic.
> http://www.linbit.com/en/contact; please leave your contact details and
> mention iSCSI whitepaper.
>
> 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
>

--
View this message in context: http://old.nabble.com/Configuring-iSCSI-failover%2C-service-stops-when-slave-comes-up-tp26475038p26510052.html
Sent from the Linux-HA mailing list archive at Nabble.com.

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


lars.ellenberg at linbit

Nov 25, 2009, 10:34 AM

Post #4 of 4 (1231 views)
Permalink
Re: Configuring iSCSI failover, service stops when slave comes up [In reply to]

On Wed, Nov 25, 2009 at 01:55:28AM -0800, sajanagr wrote:
>
> Hi Florian
>
> I got the white paper from Linbit and I read it, but the paper doesnt
> include any configuration solution to my problem. I have configured similary
> as in the paper described.
> As I have said the iSCSI service is observed to stop when slave becomes
> Active.
>
> Thank you for the paper but it is not helping now.

citing your previously posted cibadmin -Q:

> <constraints/>

You are missing order and colocation constraints.

> <status>
> <node_state uname="avanas_drbd_desk1.qualexsystems.com" ha="active" in_ccm="true" crmd="online" join="member" expected="member" shutdown="0" id="93c908d0-8c32-421c-937d-8fcc243ae324" crm-debug-origin="do_update_resource">
...
> <nvpair id="status-93c908d0-8c32-421c-937d-8fcc243ae324-fail-count-iscsiTG" name="fail-count-iscsiTG" value="INFINITY"/>

You have a remembered fatal failure on that node,
I guess you need a "cleanup" of that resource.

Won't do much good, though,
until you have also set up the contraints properly.

I'm sure that the paper mentions those?

--
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
_______________________________________________
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.