Skip to contentSkip to conversation

Manual failback commands

DISCUSSION Scott Dungan 2 participants 8 messages Feb 3, 2010 – Feb 4, 2010 Device mapper

lore
Share & tools
lore
#0 lore raw

Hello all.

If we set a device to manual failback, how does one command the multipathd service to reinstate the path when we have decided the path is indeed ready to accept IO?

Thanks,

-Scott

#1 lore raw
Quoted 6 lines · Scott Dungan

Hello all.

If we set a device to manual failback, how does one command the multipathd service to reinstate the path when we have decided the path is indeed ready to accept IO?

paths are automatically reinstated by multipathd.

The 'failback' parameter means the original path_group is not re-activated after a switch-over to a secondary path_group.

You can force multipathd to not reinstate a path using the CLI (or pro-actively disable it).

Regards,
cvaroqui
http://www.opensvc.com

#2 lore raw
Quoted 10 lines · Scott Dungan
Quoted 8 lines

Hello all.

If we set a device to manual failback, how does one command the multipathd service to reinstate the path when we have decided the path is indeed ready to accept IO?

Quoted 8 lines

paths are automatically reinstated by multipathd.

The 'failback' parameter means the original path_group is not re-activated after a switch-over to a secondary path_group.

You can force multipathd to not reinstate a path using the CLI (or pro-actively disable it).

Thanks for the clarification. I think I understand this better now. Would it be possible to post CLI example(s) of reinstating or disabling a path? I cannot seem to find such an example in documentation or other available resources.

Regards,

-Scott

#3 lore raw
Quoted 14 lines · Scott Dungan
Quoted 14 lines · Scott Dungan
Quoted 8 lines

Hello all.

If we set a device to manual failback, how does one command the multipathd service to reinstate the path when we have decided the path is indeed ready to accept IO?

paths are automatically reinstated by multipathd.

The 'failback' parameter means the original path_group is not re-activated after a switch-over to a secondary path_group.

Quoted 8 lines
Quoted 3 lines

You can force multipathd to not reinstate a path using the CLI (or pro-actively disable it).

Thanks for the clarification. I think I understand this better now. Would it be possible to post CLI example(s) of reinstating or disabling a path? I cannot seem to find such an example in documentation or other available resources.

The cli has a syntax help message, accessed using 'help' or whatever unknown keyword.

The relevant commands are:
reinstate path $path
fail path $path

which wrap 1/ the dm messaging to fail/resinstate a path and 2/ disable/enable the specified path checking in multipathd

Signature · 2 lines
cvaroqui,
http://www.opensvc.com
#4 lore raw
Quoted 4 lines

The cli has a syntax help message, accessed using 'help' or whatever unknown keyword.

Quoted 8 lines

The relevant commands are:
reinstate path $path
fail path $path

which wrap 1/ the dm messaging to fail/resinstate a path and 2/ disable/enable the specified path checking in multipathd

Thanks for your continued help. Perhaps I am using the incorrect tools. Neither the 'multipath' command or the interactive mode of the multipathd daemon (multipath -k) have any of those directives documented under the 'help' listing, nor do they respond to them when I use them as you specify above. What CLI command are you using with those directives? Like:

%cli_command% reinstate path $path

-Scott

#5 lore raw
Quoted 11 lines · Scott Dungan
Quoted 11 lines

The cli has a syntax help message, accessed using 'help' or whatever unknown keyword.

The relevant commands are:
reinstate path $path
fail path $path

which wrap 1/ the dm messaging to fail/resinstate a path and 2/ disable/enable the specified path checking in multipathd

Quoted 9 lines

Thanks for your continued help. Perhaps I am using the incorrect tools. Neither the 'multipath' command or the interactive mode of the multipathd daemon (multipath -k) have any of those directives documented under the 'help' listing, nor do they respond to them when I use them as you specify above. What CLI command are you using with those directives? Like:

%cli_command% reinstate path $path

'multipathd -khelp' on most distro-shipped multipath-tools. 'multipathd help' is also possible with upstream.

#6 lore raw
Quoted 24 lines · Christophe Varoqui
Quoted 12 lines · Scott Dungan
Quoted 12 lines

The cli has a syntax help message, accessed using 'help' or whatever unknown keyword.

The relevant commands are:
reinstate path $path
fail path $path

which wrap 1/ the dm messaging to fail/resinstate a path and 2/ disable/enable the specified path checking in multipathd

Quoted 10 lines

Thanks for your continued help. Perhaps I am using the incorrect tools. Neither the 'multipath' command or the interactive mode of the multipathd daemon (multipath -k) have any of those directives documented under the 'help' listing, nor do they respond to them when I use them as you specify above. What CLI command are you using with those directives? Like:

%cli_command% reinstate path $path

Quoted 9 lines

'multipathd -khelp' on most distro-shipped multipath-tools. 'multipathd help' is also possible with upstream.

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

Yes, I understand that. If I run 'multipathd -k' and then help, these are the commands that are listed:

list|show paths
list|show maps
add path $path
remove|del path $path
add map $map
remove|del map $map
switch|switchgroup map $map group $group
dump pathvec
reconfigure
disablequeueing map $map
restorequeueing map $map

Where are the 'reinstate path' or 'fail path' directives you mention in this thread? In case this is a version issue, we are running with version device-mapper-multipath-0.4.7-30.el5_4.4. What version are you running where the 'reinstate path' or 'fail path' directives are listed in help or otherwise function?

-Scott

#7 lore raw
Quoted 15 lines · Scott Dungan

Yes, I understand that. If I run 'multipathd -k' and then help, these are the commands that are listed:

list|show paths
list|show maps
add path $path
remove|del path $path
add map $map
remove|del map $map
switch|switchgroup map $map group $group
dump pathvec
reconfigure
disablequeueing map $map
restorequeueing map $map

Quoted 9 lines

Where are the 'reinstate path' or 'fail path' directives you mention in this thread? In case this is a version issue, we are running with version device-mapper-multipath-0.4.7-30.el5_4.4. What version are you running where the 'reinstate path' or 'fail path' directives are listed in help or otherwise function?

-Scott

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

It looks like I have answered my own question. I was confused about which version we were running. I was testing against version 4.5. Those commands are not available in version 4.5 (RHEL 4.8). They are present in version 4.7 (RHEL 5.x).

Thanks for your help.

-Scott

Signature · 6 lines
Scott A Dungan
Systems Administrator
GPS Division
California Institute of Technology
Phone: (626) 395-3170
Fax:   (626) 585-1917