tommyg1

updated

12 years ago

T

tommyg1

1 Rookie

•

7 Posts

0

10334

August 30th, 2010 10:00

symaccess -consistent_lun

Is there a way to add the "-consistent_lun" flag to an initiator group once it has been created? We did not know about this feature when we originally implemented VMAX, but now that we have configured 100+ production initiator groups, we are interested in turning this feature on for all of the currently configured groups.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    3005

    0

    Posted August 30th, 2010 10:00

    symaccess -sid 1234 -name test_IG -type initiator set consistent_lun on

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    3005

    0

    Posted August 30th, 2010 19:00

    when you add sym devices to a device group it will make sure that they are mapped to the same address on the FA.

  • SKT2

    2 Intern

    •

    1340 Posts

    3005

    0

    Posted August 30th, 2010 19:00

    what does this option do? where exactly this helps/benefits?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2174

    0

    Posted March 25th, 2011 10:00

    use -lun when you add devices to storage group.

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    3005

    0

    Posted September 5th, 2013 19:00

    can't think of anything else other than consistency when you run symdev show and look at device properties.

  • 12122

    1 Rookie

    •

    82 Posts

    3005

    0

    Posted September 5th, 2013 19:00

    I understood that enabling consistent_lun option on initiator groups will make sure it takes the same LUN address across all FA ports in that port group.

    Can you list out some benefits?

    Thanks

    Dino

  • PedalHarder

    4 Apprentice

    •

    465 Posts

    3005

    1

    Posted September 5th, 2013 21:00

    When the lun numbers are the same it makes it very clear from a host view that you are looking at the same device.

    For cascaded IG's, (when creating them for clustered hosts / ESC etc.) you will get the same Lun across each SG in the child IG's. Otherwise you can get different physical hosts seeing the same devices, but with different LUNID... confusing.

  • 3005

    1

    Posted September 6th, 2013 07:00

    We added this option in specifically for VMware environments when autoprovisioning came out. A few ESX versions back ESX required the LUN IDs to be the same across all paths in order for multipathing to work correctly. This isnt the case any more but there are some situations like RDMs and vMotion where they still need to be the same across hosts so this option is helpful in that regard. So enabling it on VMware clusters is still a best practice and like the others said makes management easier.

  • 12122

    1 Rookie

    •

    82 Posts

    1070

    0

    Posted September 18th, 2013 19:00

    no problem...

  • 12122

    1 Rookie

    •

    82 Posts

    1901

    0

    Posted September 18th, 2013 19:00

    Are you guys referring to LUN ID we ll get it by the below command?

    symcfg -sid xxx list -dir 8G -p 0 -addr -avail

    or LUN ID we see inside a masking view for each device?

    Thanks

    Dinesh