Topic
  • 3 replies
  • Latest Post - ‏2013-11-11T10:18:55Z by chriscanto
LeonelSAA
LeonelSAA
19 Posts

Pinned topic Change preferred node from volume on V3700

‏2013-11-08T15:44:13Z |

Hi all,

I need a help!

How can change the volume preferred node like from node2 to node1?

 

Attachments

Updated on 2013-11-11T08:09:51Z at 2013-11-11T08:09:51Z by LeonelSAA
  • chriscanto
    chriscanto
    291 Posts

    Re: Change preferred node from volume on V3700

    ‏2013-11-11T09:54:25Z  

    The preferred node for a volume can only be set when creating the volume or moving it between I/O groups.

    As the V3700 only has one control enclosure (i.e. one I/O group), you would need to make use of the virtual "recovery I/O group" to move the volume out and back in.  This is a special I/O group that volumes are allowed to exist in even though there are no nodes in it.

    This can be performed using the CLI:

    movevdisk -iogrp 4 -force myvdisk

    movevdisk -iogrp 0 -node node1 myvdisk

    Note that this is a disruptive procedure: the volume is offline and inaccessible for all I/O while in the recovery I/O group.  (this is why the -force flag is required, to acknowledge this action will result in a loss of access to the volume).

     

    In the screenshot I noticed that your volume status is degraded... suggesting it is only online via one node canister.   If a node canister is offline then the partner node will automatically handle I/O for the volume, you do not need to manually change anything for failover.

  • LeonelSAA
    LeonelSAA
    19 Posts

    Re: Change preferred node from volume on V3700

    ‏2013-11-11T10:09:05Z  

    The preferred node for a volume can only be set when creating the volume or moving it between I/O groups.

    As the V3700 only has one control enclosure (i.e. one I/O group), you would need to make use of the virtual "recovery I/O group" to move the volume out and back in.  This is a special I/O group that volumes are allowed to exist in even though there are no nodes in it.

    This can be performed using the CLI:

    movevdisk -iogrp 4 -force myvdisk

    movevdisk -iogrp 0 -node node1 myvdisk

    Note that this is a disruptive procedure: the volume is offline and inaccessible for all I/O while in the recovery I/O group.  (this is why the -force flag is required, to acknowledge this action will result in a loss of access to the volume).

     

    In the screenshot I noticed that your volume status is degraded... suggesting it is only online via one node canister.   If a node canister is offline then the partner node will automatically handle I/O for the volume, you do not need to manually change anything for failover.

    When Created the volume made it by default for automatically, but now I have problem with fiber cable on node2. I want move it to node1, already put node2 at offline to move automatically to node1 but it remain on node2 and those volumes are inaccessible.

     

    What can I do now?

  • chriscanto
    chriscanto
    291 Posts

    Re: Change preferred node from volume on V3700

    ‏2013-11-11T10:18:55Z  
    • LeonelSAA
    • ‏2013-11-11T10:09:05Z

    When Created the volume made it by default for automatically, but now I have problem with fiber cable on node2. I want move it to node1, already put node2 at offline to move automatically to node1 but it remain on node2 and those volumes are inaccessible.

     

    What can I do now?

    The preferred node property doesn't change when a node goes offline, but the volume will be accessible via the partner node if it is online (volume will be reported as degraded).   So having your host/switch connected to node 1 and triggering it to discover the new paths to volumes should work.

    Updated on 2013-11-11T10:20:30Z at 2013-11-11T10:20:30Z by chriscanto