Skip to contentSkip to conversation

Device-mapper-multipath RDAC

DISCUSSION Nuno Fernandes 6 participants 13 messages Sep 24, 2007 – Feb 14, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

When it's turned on, luns keep on jumping from controller to controller..

Thanks
Nuno Fernandes

#1 lore raw

I've just finished going through the process of getting our SAN gear working on RHEL5 with multipathing. I've got a Sun 6140 which I think is very similar to yours. They both are from ingenia. You'll want to use a *NON* AVT host type on the SAN. I've set mine to type "Linux" and it works great.

cheers,
--james

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nuno Fernandes
Sent: Monday, September 24, 2007 9:06 AM
To: device-mapper development
Subject: [dm-devel] Device-mapper-multipath RDAC

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what

configuration should be in storage DS4700? AVT (Automatic Volume transfer)
turned on or off?

When it's turned on, luns keep on jumping from controller to controller..

Thanks
Nuno Fernandes

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#2 lore raw

I don't know Sun 6140, but for DS4700 the default for Linux is AVT enabled. I've disabled using scripts from storage manager.

What kernel version are u using? What about multipath tools? Can you send me your /etc/multipath.conf.

Have you tried to disconnect all fibres to the active controller of your SUN 6140 to see if the LUNS jumps to the other controller?

Thanks
Nuno Fernandes

Quoted 43 lines · On Monday 24 September 2007 18:01:15 James Fillman wrote:

I've just finished going through the process of getting our SAN gear working on RHEL5 with multipathing. I've got a Sun 6140 which I think is very similar to yours. They both are from ingenia. You'll want to use a *NON* AVT host type on the SAN. I've set mine to type "Linux" and it works great.

cheers,
--james

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nuno Fernandes
Sent: Monday, September 24, 2007 9:06 AM
To: device-mapper development
Subject: [dm-devel] Device-mapper-multipath RDAC

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what

configuration should be in storage DS4700? AVT (Automatic Volume transfer)
turned on or off?

When it's turned on, luns keep on jumping from controller to controller..

Thanks
Nuno Fernandes

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#3 lore raw
In reply to Nuno Fernandes
Quoted 7 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Hardware handler is needed only for RDAC mode, AVT would work without the hardware handler.

The decision to use RDAC or AVT depends on your configuration.

Quoted 2 lines

When it's turned on, luns keep on jumping from controller to controller..

dm-multipath will use the other path (in AVT mode, IOW, jump) only if I/O in the current path fails.

Quoted 8 lines

Thanks
Nuno Fernandes

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Signature · 4 lines
----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [email protected]   |      .......you may get it.
----------------------------------------------------------------------
#4 lore raw
Quoted 12 lines · On Monday 24 September 2007 19:33:32 Chandra Seetharaman wrote:
Quoted 7 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Hardware handler is needed only for RDAC mode, AVT would work without the hardware handler.

Quoted 6 lines

The decision to use RDAC or AVT depends on your configuration.

Quoted 1 line

When it's turned on, luns keep on jumping from controller to controller..

dm-multipath will use the other path (in AVT mode, IOW, jump) only if I/O in the current path fails.

Yes, but it keeps on jumping because of the multipathd monitoring of alive paths.

I'm was already in the process of using linux-2.6-md-add-dm-rdac-hardware-handler.patch from kernel-2.6.18-36.el5.src.rpm (from RHEL5U1 Beta) to rebuild RHEL5.0 stable kernel.. Hope it works..

Best rgds
Nuno Fernandes

Quoted 8 lines
Quoted 8 lines

Thanks
Nuno Fernandes

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#5 lore raw
In reply to Nuno Fernandes
Quoted 8 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Off. AVT is the acronym for 'Automated Volume Transfer', ie the array tries to transfer the volumes from one controller to the other automatically.

Quoted 2 lines

When it's turned on, luns keep on jumping from controller to controller..

Indeed. That's to be expected.

As a rule:

- With rdac hardware handler: AVT off
- Without hardware handler: AVT on

Cheers,

Hannes

Signature · 4 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
#6 lore raw
Quoted 12 lines · On Tuesday 25 September 2007 06:54:39 Hannes Reinecke wrote:
Quoted 7 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Off. AVT is the acronym for 'Automated Volume Transfer', ie the array tries to transfer the volumes from one controller to the other automatically.

Quoted 7 lines
Quoted 1 line

When it's turned on, luns keep on jumping from controller to controller..

Indeed. That's to be expected.

As a rule:

- With rdac hardware handler: AVT off

I'm in the process of testing avt in the kernel.

Quoted 1 line

- Without hardware handler: AVT on

With this situation i don't have any point of failure but the lun keeps on jumping (because of the alive path check of multipathd) and the performance is awfull.

Best regards
Nuno Fernandes

Quoted 4 lines

Cheers,

Hannes

#7 lore raw
Quoted 19 lines · Nuno Fernandes
Quoted 18 lines · On Tuesday 25 September 2007 06:54:39 Hannes Reinecke wrote:
Quoted 7 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Off. AVT is the acronym for 'Automated Volume Transfer', ie the array tries to transfer the volumes from one controller to the other automatically.

Quoted 1 line

When it's turned on, luns keep on jumping from controller to controller..

Indeed. That's to be expected.

As a rule:

Quoted 7 lines
Quoted 1 line

- With rdac hardware handler: AVT off

I'm in the process of testing avt in the kernel.

Quoted 1 line

- Without hardware handler: AVT on

With this situation i don't have any point of failure but the lun keeps on jumping (because of the alive path check of multipathd) and the performance is awfull.

Hmm... Did you have the configuration entries in multipath.conf (same as that of the RDAC case - with the exception of the hardware handler) ?

Quoted 14 lines

Best regards
Nuno Fernandes

Quoted 4 lines

Cheers,

Hannes

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Signature · 4 lines
----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [email protected]   |      .......you may get it.
----------------------------------------------------------------------
#8 lore raw

Multipath-tools not seeing replaced RAID controller

Hi Chandra,

I hope you can answer this question, but of course I'll be very happy if anyone on this list can answer my question.

I just replaced a faulty RAID controller in an MD3000 enclosure. Now after enabling it, I can't see it in the multipath driver (mutlipath -ll). Not even after restarting the multipath-tools (version 0.4.8)...

So what should I restart so that it sees the new controller? I rather not restart the host if possible...

Thanks!!

Sander

#9 lore raw

Re: Multipath-tools not seeing replaced RAID controller

Quoted 5 lines · S. J. van Harmelen

Hi Chandra,

I hope you can answer this question, but of course I'll be very happy if anyone on this list can answer my question.

Quoted 7 lines

I just replaced a faulty RAID controller in an MD3000 enclosure. Now after enabling it, I can't see it in the multipath driver (mutlipath -ll). Not even after restarting the multipath-tools (version 0.4.8)...

So what should I restart so that it sees the new controller? I rather not restart the host if possible...

Do you see the disks ? (doing a lsscsi would show it). I guess not.

If not, you need to probe/hotplug the disks first

ho,

# echo "- - -" > /sys/class/scsi_host/host${host_no}/scan
  ## the three -'s are for wildcards for channel, id and LUN.

If you don't know the "host_no", do it on for all the hosts under scsi_host, it will not harm anything.

If you have multipathd running when you run the "echo" above you would see all the dm devices when it completes (or soon thereafter).

You don't need to reboot the server.

Quoted 4 lines

Thanks!!

Sander

Signature · 4 lines
----------------------------------------------------------------------
    Chandra Seetharaman               | Be careful what you choose....
              - [email protected]   |      .......you may get it.
----------------------------------------------------------------------
#10 lore raw

Re: Multipath-tools not seeing replaced RAID controller

Hi Chandra,

Your absolutely the best :) It works like a charm!! Thanks a lot...

Sander

Quoted 34 lines · Chandra Seetharaman
Quoted 5 lines · S. J. van Harmelen

Hi Chandra,

I hope you can answer this question, but of course I'll be very happy if anyone on this list can answer my question.

Quoted 7 lines

I just replaced a faulty RAID controller in an MD3000 enclosure. Now after enabling it, I can't see it in the multipath driver (mutlipath -ll). Not even after restarting the multipath-tools (version 0.4.8)...

So what should I restart so that it sees the new controller? I rather not restart the host if possible...

Do you see the disks ? (doing a lsscsi would show it). I guess not.

If not, you need to probe/hotplug the disks first

ho,

# echo "- - -" > /sys/class/scsi_host/host${host_no}/scan
  ## the three -'s are for wildcards for channel, id and LUN.

If you don't know the "host_no", do it on for all the hosts under scsi_host, it will not harm anything.

If you have multipathd running when you run the "echo" above you would see all the dm devices when it completes (or soon thereafter).

You don't need to reboot the server.

Quoted 4 lines

Thanks!!

Sander

#11 lore raw
In reply to Hannes Reinecke
Quoted 12 lines · On Tuesday 25 September 2007 06:54:39 Hannes Reinecke wrote:
Quoted 7 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Off. AVT is the acronym for 'Automated Volume Transfer', ie the array tries to transfer the volumes from one controller to the other automatically.

Quoted 7 lines
Quoted 1 line

When it's turned on, luns keep on jumping from controller to controller..

Indeed. That's to be expected.

As a rule:

- With rdac hardware handler: AVT off

I'm in the process of testing avt in the kernel.

Quoted 1 line

- Without hardware handler: AVT on

With this situation i don't have any point of failure but the lun keeps on jumping (because of the alive path check of multipathd) and the performance is awfull.

Best regards
Nuno Fernandes

Quoted 4 lines

Cheers,

Hannes

#12 lore raw

Re: Device-mapper-multipath RDAC [SOLVED]

In reply to Hannes Reinecke
Quoted 12 lines · On Tuesday 25 September 2007 06:54:39 Hannes Reinecke wrote:
Quoted 7 lines · Nuno Fernandes

hello,

Just a question:

With recent support for rdac hardware handler in kernel 2.6.23-rc7, what configuration should be in storage DS4700? AVT (Automatic Volume transfer) turned on or off?

Off. AVT is the acronym for 'Automated Volume Transfer', ie the array tries to transfer the volumes from one controller to the other automatically.

Quoted 7 lines
Quoted 1 line

When it's turned on, luns keep on jumping from controller to controller..

Indeed. That's to be expected.

As a rule:

- With rdac hardware handler: AVT off

Working..

Thanks
Nuno Fernandes

Quoted 5 lines

- Without hardware handler: AVT on

Cheers,

Hannes