IBM::StorageSystem::IOGroup - Class for operations with IBM StorageSystem I/O Groups
Version 0.01
IBM::StorageSystem::IOGroup is a utility class for operations with IBM StorageSystem I/O Groups.
use IBM::StorageSystem; my $ibm = IBM::StorageSystem->new( user => 'admin', host => 'my-v7000', key_path => '/path/to/my/.ssh/private_key' ) or die "Couldn't create object! $!\n"; # Get I/O group 0 my $io_group = $ibm->get_iogroup(0); # Print the I/O group maintenance state print $io_group->maintenance_state; # Alternately: print $ibm->iogroup(0)->maintenance_state; # Print a formatted listing of all I/O groups by ID and name, along with # their VDisk count, host count, node count and maintenance state. map { printf("%-8s%-20s%-20s%-20s%-20s%-20s\n", $_->id, $_->name, $_->vdisk_count, $_->host_count, $_->node_count, $_->maintenance ) } $ibm->get_iogroups; # Prints something like: # # ID Name VDisk Count Host Count Node Count Maintenance # 0 io_grp0 2 3 2 no # 1 io_grp1 0 3 0 no # 2 io_grp2 0 3 0 no # 3 io_grp3 0 3 0 no # ... etc.
Returns the number of accessible volumes in this I/O group.
Returns the I/O group volume compression support state.
Indicates if the I/O group supports compressed volumes.
Returns the I/O groups free flash copy memory in bytes.
Returns the I/O groups total flash copy memory in bytes.
Returns the number of hosts attached to the I/O group.
Returns the I/O groups numerical identifier.
Returns the maintenance state of the I/O group.
Returns the I/O groups mirroring free memory in bytes.
Returns the I/O groups total mirroring memory in bytes.
Returns the name of the I/O group.
Returns the attached node count of the I/O group.
Returns the I/O groups RAID free memory in bytes.
Returns the I/O groups RAID total memory in bytes.
Returns the I/O groups remote copy free memory in bytes.
Returns the I/O groups total remote copy memory in bytes.
Returns the I/O groups VDisk count.
Luke Poskitt, <ltp at cpan.org>
<ltp at cpan.org>
Please report any bugs or feature requests to bug-ibm-v7000-iogroup at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IBM-StorageSystem-IOGroup. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-ibm-v7000-iogroup at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IBM::StorageSystem::IOGroup
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IBM-StorageSystem-IOGroup
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/IBM-StorageSystem-IOGroup
CPAN Ratings
http://cpanratings.perl.org/d/IBM-StorageSystem-IOGroup
Search CPAN
http://search.cpan.org/dist/IBM-StorageSystem-IOGroup/
Copyright 2013 Luke Poskitt.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install IBM::StorageSystem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IBM::StorageSystem
CPAN shell
perl -MCPAN -e shell install IBM::StorageSystem
For more information on module installation, please visit the detailed CPAN module installation guide.