StorageGuy201

updated

18 years ago

0

2060

November 10th, 2008 11:00

Where can I find the SymCLI guide?

Hi everyone,

Doing a search for "symcli guide" on powerlink didn't turn up anything in the first few pages. I'm trying to find the equivalent commands for the following actions:

1. List available (unmapped/unmasked) devices
2. create a device (optional)
3. form meta from the available devices
4. map the device to the FE port
5. mask the device to the WWN

Thanks
  • AmolMahajan

    108 Posts

    836

    0

    Posted November 10th, 2008 12:00

    Hi,

    Search for "symmetrix cli" :-)

    1. List available (unmapped/unmasked) devices
    #symdev -sid xxx -noport list //unmapped
    #symmaskdb -sid xxx list no_assignment -dir all // mapped but not masked


    2. create a device (optional)
    depends on what type of devices you want to create ;-)

    3. form meta from the available devices
    create a file with below content
    form meta from dev 123 config_striped, stripe_size=2 cyl;
    add dev 124:127 to meta 123; //range depends on size of your meta

    run the file with symconfigure
    #symconfigure -sid xxx -f abc preview -nop
    #symconfigure -sid xxx -f abc commit -nop


    4. map the device to the FE port


    again create a file with below content
    map dev 123 to dir 3c:0 lun=12;
    map dev 123 to dir 14c:0 lun=12;
    run with symconfigure

    #symconfigure -sid xxx -f abcd preview -nop
    #symconfigure -sid xxx -f abcd commit -nop

    5. mask the device to the WWN
    #symmask -sid xxx -wwn 20aad6712c2123 -dir 3c -p 0 add devs 123
    #symmask -sid xxx -wwn 20aad6712c2124 -dir 14c -p 0 add devs 123

    it was a big task :-)
  • xe2sdc

    6 Operator

    •

    2831 Posts

    571

    0

    Posted November 10th, 2008 12:00

    Having that said .. 4 quick and dirty answers to your questions ...

    You need to master our "symconfigure" command .. thus you need to build a file (a command file) containing a textual description of what you want to achieve.

    2) create dev count=nn, size=XX, config=WW, emulation=ZZ;

    3) form meta from dev xxx, config=striped/concatenated; add dev yyy to meta xxx;

    4) map dev xxx to dir wwA:0, lun=yyy;

    Answer to question number 5 is easier ...

    5) symmask -sid yyy -dir wwB -p 0 -wwn yourwwnhere add dev xxx


    I guess now you have even more questions then before .. :-)
    Don't be shy and drop more questions :D
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    428

    0

    Posted November 10th, 2008 12:00

    but of course ;)
  • xe2sdc

    6 Operator

    •

    2831 Posts

    648

    0

    Posted November 10th, 2008 12:00

    Sure! :-)
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    648

    0

    Posted November 10th, 2008 12:00

  • 428

    0

    Posted November 10th, 2008 12:00

    Thanks guys, I appreciate the help!
  • xe2sdc

    6 Operator

    •

    2831 Posts

    505

    0

    Posted November 10th, 2008 12:00

    Hmmmm I guess you also use our brand new cloud optimized storage (aka the search button) :-)
  • xe2sdc

    6 Operator

    •

    2831 Posts

    648

    0

    Posted November 10th, 2008 12:00

    You can find symcli manuals in the appropriate section of Powerlink.

    From Powerlink browse the "Support" area, then point toward "Technical Documentation and Advisories" .. On the left choose "Software ~ S ~ Documentation" and then "Solution Enabler" -> "General Reference". Go straight to "Solutions Enabler Documentation CD 6.5.2 A02" and download the zipfile :D

    Most of the questions you put do have an answer in "EMC Solutions Enabler
    Symmetrix Array Controls CLI" manual (PN 300-002-940 REV A05). There are sections regarding device creation, metavolumes management, mapping on frontend and masking. You can find most of the answers in the "Managing Configuration Changes" and "Device Masking" sections.

    Answer to your first question is a little more tricky since you can easily find unmapped devices (symdev -noport list) but it's a little bit harder finding unmasked devices. However there are resources here and there .. I can't find right now the thread however someone posted a shell script that found mapped but unmasked devices.
  • AmolMahajan

    108 Posts

    648

    0

    Posted November 10th, 2008 12:00

    it's a little bit harder finding unmasked devices. However there are resources here and there .. I can't find right now the thread however someone posted a shell script that found mapped but unmasked devices.

    This is what I use
    #symmaskdb -sid xxx list no_assignment -dir all

    or you can "grep" the specfic device.
    also just to cross check, go to ECC ->mapped devices _select dev and check for the status "Allocated" or "unallocated" in display window.

    correct me if I'm wrong ;-)
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    503

    0

    Posted November 10th, 2008 12:00

    i have tiered memory ..symmetrix/symcli stuff is on tier 1 (flash drives) ..Clariion/PowerPath/Celerra/Centera/Avamar/Networker ...tier 2 (300G FC)

    :D