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
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
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;
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
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.
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.
AmolMahajan
108 Posts
836
0
Posted November 10th, 2008 12:00
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