- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How to find WWID from DCL ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 08:53 PM
тАО01-28-2010 08:53 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 09:38 PM
тАО01-28-2010 09:38 PM
Re: How to find WWID from DCL ?
combination of F$DEVICE (in a loop) to get
the device names, then F$GETDVI( x, "WWID")
to get their WWID values.
I assume that there's some combination of
DEVCLASS and/or DEVTYPE which would lead
F$DEVICE to the appropriate devices. If you
know of any, then F$GETDVI( x, "DEVCLASS")
and/or then F$GETDVI( x, "DEVTYPE") might
provide some clues.
I don't think that I have anything with a
WWID, so my ability to test anything is (so
far as I know) nil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 12:05 AM
тАО01-29-2010 12:05 AM
Re: How to find WWID from DCL ?
$ pipe sh dev /fu dg | sea sys$pipe disk,wwid
shows for me
Disk $1$DGA1: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-5C14-A694-D9C2-DE11
Disk $1$DGA2: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-2869-5FE8-D8C2-DE11
Disk $1$DGA3: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-E88D-4B21-D9C2-DE11
Disk $1$DGA4: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-3816-B6CF-D8C2-DE11
Disk $1$DGA5: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-9C7A-8EDE-D8C2-DE11
Disk $1$DGA6: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-10C3-D45D-D9C2-DE11
Disk $1$DGA7: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-7A42-667E-D9C2-DE11
Disk $1$DGA8: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-3EC7-DBB0-D9C2-DE11
Disk $1$DGA9: (ALPHA1), device type DGC RAID 5, is online, file-oriented device,
WWID 01000010:6006-0160-D119-2500-86BD-E900-D9C2-DE11
Disk $1$DGA10: (ALPHA1), device type DGC RAID 5, is online, file-oriented
WWID 01000010:6006-0160-D119-2500-32FD-3316-D9C2-DE11
Disk $1$DGA11: (ALPHA1), device type DGC RAID 5, is online, file-oriented
WWID 01000010:6006-0160-D119-2500-8434-DE2D-D9C2-DE11
Disk $1$DGA12: (ALPHA1), device type DGC RAID 5, is online, file-oriented
WWID 01000010:6006-0160-D119-2500-2830-3E38-D9C2-DE11
Disk $1$DGA13: (ALPHA1), device type DGC RAID 5, is online, file-oriented
WWID 01000010:6006-0160-D119-2500-5471-6643-D9C2-DE11
Disk $1$DGA14: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-8869-CB21-5BC2-DE11
Disk $1$DGA15: (ALPHA1), device type DGC RAID 5, is online, mounted, file-
WWID 01000010:6006-0160-D119-2500-4E8E-494E-D9C2-DE11
$
It depends what you want to do with this data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 05:31 AM
тАО01-29-2010 05:31 AM
Re: How to find WWID from DCL ?
or use SANCP
SANCP is a an OpenVMS system management utility which allows a
suitably privileged user to perform various Storage Area Network
tuning and monitoring tasks. The user must have the OPER privilege
authorized, but it need not be currently enabled
NVI$ mc sancp
SANCP> sho wwid
| Conn Port Dev Cred Appr | QF Cred User Current
Product ID Node WWID Port WWID | Cnt I/Os I/Os I/Os I/Os | Seen Avl Cap QF Alg
---------------- ------------------- ------------------- + ---- ---- ---- ---- ---- + ---- ---- ---- -------
HSG80CCL 5000.1FE1.0016.3050 5000.1FE1.0016.3052 | 0001 0000 0000 0000 0000 | 0000 8000 0000 T/5000
HSG80CCL 5000.1FE1.0016.3050 5000.1FE1.0016.3054 | 0001 0000 0000 0000 0000 | 0000 8000 0000 T/5000
HSV300 5001.4380.025A.A490 5001.4380.025A.A499 | 0001 0000 0000 0000 0000 | 0000 0008 0008 T/5000
HSV300 5001.4380.025A.A490 5001.4380.025A.A49D | 0001 0000 0000 0000 0000 | 0000 8000 0000 T/5000
HSV300 5001.4380.025A.A800 5001.4380.025A.A809 | 0001 0000 0000 0000 0000 | 0000 0008 0008 T/5000
HSV300 5001.4380.025A.A800 5001.4380.025A.A80D | 0001 0000 0000 0000 0000 | 0000 0008 0008 T/5000
SANCP> help
Information available:
Overview SET_Command SHOW_Command WWIDs
Topic? show
SHOW_Command
Shows WWID characteristics
SHOW WWID /PRODUCT_ID=
/PORT=
Additional information available:
/PORT=
/Toine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 05:33 AM
тАО01-29-2010 05:33 AM
Re: How to find WWID from DCL ?
Device $1$GGA2:, device type HP HSV210, is online, shareable, device has
WWID 02000008:5000-1FE1-5007-0B80
Device $1$GGA3:, device type HP HSV210, is online, shareable, device has
WWID 02000008:5000-1FE1-5007-0B90
Device $1$GGA4:, device type HP HSV210, is online, shareable, device has
WWID 02000008:5000-1FE1-500C-6B00
Device $1$GGA5:, device type HP HSV210, is online, shareable, device has
WWID 02000008:5000-1FE1-500C-6AE0
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 05:53 AM
тАО01-29-2010 05:53 AM
Re: How to find WWID from DCL ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 09:17 AM
тАО01-29-2010 09:17 AM
Re: How to find WWID from DCL ?
$START:
$ DEVICE_NAME = F$DEVICE("_FG%0:","BUS")
$ IF DEVICE_NAME .EQS. "" THEN EXIT
$ WRITE SYS$OUTPUT DEVICE_NAME + " FC Port Name: " + F$GETDVI(DEVICE_NAME,"FC_PORT_NAME")
$ WRITE SYS$OUTPUT DEVICE_NAME + " FC Node Name: " + F$GETDVI(DEVICE_NAME,"FC_NODE_NAME")
$ GOTO START
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 02:50 PM
тАО01-31-2010 02:50 PM
Re: How to find WWID from DCL ?
Tonie, we run VMS 7.3-2 and $MC SANCP does not live here.