This post is more than 5 years old
1 Rookie
•
70 Posts
0
2305
October 13th, 2010 10:00
Symcli commands to create new luns and map to a port?
I currently do almost everything using the symcli, but there are 2 tasks that I haven't had a chance to figure out yet. I was wondering if anyone can point me towards the commands I should be using and if scripts are necessary. Right now I use SMC to create new luns and ECC to map existing luns to ports. I do the masking, SRDF and TimeFinder stuff from the CLI.
I've been searching online to see if I could find some eixisting scripts that I could look at, but so far not successful.
No Events found!
dynamox
9 Legend
•
20.4K Posts
0
October 13th, 2010 11:00
1) create devices
create dev count=100,size=18414,emulation=FBA,config=RAID-5,data_member_count=7,disk_group=8,mvs_ssid=002C;
here i am creating 100 devices, 17G each, RAID5 7+1, from disk group 8. I also have Ficon adapters for mainframe so i need to add ssid
2) map devices
a) find available address on fa
symcfg list -sid 1234 -dir 8d -p 1 -address -available
symcfg list -sid 1234 -dir 9d -p 1 -address -available
b) map device to that address
map dev 178C to dir 8d:1 lun=1E1;
map dev 178C to dir 9d:1 lun=1E1;
Trouphaz
1 Rookie
•
70 Posts
0
October 13th, 2010 11:00
I just realized the first one has the command missing. I'm scanning through my symcli quick reference for a command that fits that pattern.
Trouphaz
1 Rookie
•
70 Posts
0
October 13th, 2010 12:00
Ok, I figured out that it was symconfigure. Now, I'm just trying to figure out if I can turn on dynamic RDF from here. I see the options, but it seems to be saying that I can only do that as I create RDF devices. With SMC I can just set the attributes that these devices can be used for dynamic RDF.
Trouphaz
1 Rookie
•
70 Posts
0
October 13th, 2010 12:00
yeah, it is complaining that i can only do that while creating RDF devices. it looks like this is done in 2 steps anyway with SMC, so there is probably a second command, maybe symld, where i can then turn on the dynamic_rdf attribute.
dynamox
9 Legend
•
20.4K Posts
0
October 13th, 2010 12:00
You can try adding
dynamic_capability = dyn_rdf
dynamox
9 Legend
•
20.4K Posts
0
October 13th, 2010 12:00
I set mine after devices get created
set device 035C attribute= dyn_rdf;
Trouphaz
1 Rookie
•
70 Posts
0
October 13th, 2010 13:00
Ok, it looks like I'll have to do it in 2 steps. Maybe at some point I'll make a script that grabs the device names from the original command to create the new devs.
Thanks for the help.
brad12341
207 Posts
0
May 27th, 2011 14:00
I need to create several hundred new FBA devices in a mixed (ckd and fba) environment. There is not enough room in existing SSIDs. Can I create new SSIDs with Solutions Enabler? Or do I have to go to EMC for a bin change.
dynamox
9 Legend
•
20.4K Posts
0
May 27th, 2011 18:00
yes, just specify un-used ssid ...and SE will create it.
brad12341
207 Posts
0
May 31st, 2011 08:00
Thanks, this worked great. Just key in an new SSID in SMC and it will create it for you.