Unsolved
This post is more than 5 years old
6 Posts
0
1737
January 21st, 2009 10:00
listing device/Host/Storage Port/Host PWWN
We have a tool, Sanscreen, that produces a report that lists for a given frame a masking report. The report shows the LunID, Host attached, FA the Lun is mapped to, and the Host PWWN. IE:
LUN SERVER FA WWN
1234 SERVERA 7A:0 50060b0000111111
1234 SERVERA 10A:0 50060b0000222222
1235 SERVERB 8A:0 50060b0000444444
1235 SERVERB 9A:0 50060b0000555555
I have been tring to find a symdev or symmaskdb command that it is using to get this data, but can't seem to come up with one. I never trust a GUI so I would like to be able to run directly against the vcmdb. "symdev -sid list" will show all the devices, but not the server/fa/wwn. "symmaskdb -sid list database kind of shows it but not really. I really can't find one that preduces the same output.
LUN SERVER FA WWN
1234 SERVERA 7A:0 50060b0000111111
1234 SERVERA 10A:0 50060b0000222222
1235 SERVERB 8A:0 50060b0000444444
1235 SERVERB 9A:0 50060b0000555555
I have been tring to find a symdev or symmaskdb command that it is using to get this data, but can't seem to come up with one. I never trust a GUI so I would like to be able to run directly against the vcmdb. "symdev -sid list" will show all the devices, but not the server/fa/wwn. "symmaskdb -sid list database kind of shows it but not really. I really can't find one that preduces the same output.
No Events found!
dynamox
9 Legend
•
20.4K Posts
0
January 21st, 2009 11:00
symmaskdb -sid 123 list capacity -host oracle_SMS
and the output would be look something like :
so if you have your systems named in the vcm database you could generate this report per host. Not sure if that's what you are looking for.
MaximUnited
111 Posts
0
January 22nd, 2009 01:00
From what I remember that it scans you SAN switches and gets all zones.
From the zone name pattern it can find the hostname.
After you have the hostname and its PWWN, it's pretty easy to parse the rest of the info from the 'symmaskdb list database'.
Or it can just connect to your ECC to get it...
Allen Ward
4 Operator
•
2.1K Posts
0
January 22nd, 2009 07:00
It's like talking about GUIs to the poor saps that manage our mainframe environment *lol*
scheerce
6 Posts
0
January 26th, 2009 08:00
colinwilson
1 Rookie
•
12 Posts
0
April 21st, 2009 03:00
Dynamox - just stumbled across this posting when searching for other information and tried this command out - I am loving that command - so simple - but really affective.
Cheers.
Davidy8s
154 Posts
0
April 21st, 2009 07:00
BTW:
"Hey, isn't ECC a "dirty word" here in the SE Forum?"
Yes, it is.;\
"It's like talking about GUIs to the poor saps that manage our mainframe environment *lol*"
Everyone knows that gui is something that should be on the inside of a chocolate bar, and nothing to do with computers!
The Benevolent Mainframe Forum Moderator.
BARBOSA2
1 Message
0
July 5th, 2010 10:00
symmaskdb -sid xxx list capacity -host yyyyy
symmaskdb -sid 385 list capacity -host smchpmaessbasep
symmetrix id : 000190100385
host name : smchpmaessbasep
identifiers found :1000000c93d40fa
1000000c93d426c
Device CAp (MB) Attr Dir:P
13ec 302104 (M) 3c:1,14c:1
140f 302104 (M) 3c:1,14c:1
1432 138105 (M) 3c:1,14c:1
1442 138105 (M) 3c:1,14c:1
1452 138105 (M) 3c:1,14c:1
MB Total :1165259
GB Total : 1137.9
first rename wwn for host name
symmask -sid 385 -wwn 1000000c93d40fa rename smchpmaessbasep/1000000c93d4fa
symmask -sid 385 -wwn 1000000c93d426c rename smchpmaesbasep/1000000c93426c