- Community Home
- >
- Storage
- >
- HPE Nimble Storage
- >
- Application Integration
- >
- Perl Script: Mapping Volumes to Initiator Group
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
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
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
07-15-2013 03:32 PM
07-15-2013 03:32 PM
Perl Script: Mapping Volumes to Initiator Group
Attached is a quick perl script that will list all the unique Initiator Groups and their associated mapped volumes;
Sample output is:
Getting list of volumes on 192.168.1.200
Getting list of Mapped Initiator Groups........................
Initator Group => Volumes Mapped
=================================
bckexec => :bckexec.source:bckexec.target
srv2 => :srv2
exc1 => :exc1-jetstress-db:exc1-jetstress-logs:exc1-logs
sql1 => :sql1-db
srv1 => :srv1
fs1 => :fs1-vol1
bus-nl => :bus-nl-backup:exc1-db
bus-veeam => :bus-veeam-backup
dc1 => :dc1
esx => :esx-ds1:esx-ds2:esx-ds3:esx-ds4:esx-ds5-view-Win7-template:esx-ds6-view-Win7-LinkedClone
bus-cv => :bus-cv:sql1-logs
centos => :centos:centos-iotest-sd
I also posted a Community post on how to setup SSH keys with Nimble OS so scripts can execute without prompting for a password: