IBM::StorageSystem::Node - Class for operations with a IBM StorageSystem node
Version 0.01
IBM::StorageSystem::Node is a utility class for operations with a IBM StorageSystem node.
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 node mgmt001st001 as an IBM::StorageSystem::Node object my $node = $ibm->node( mgmt001st001 ); # Print the node description print "Description: " . $node->description . "\n"; # Prints something like: "Description: active management node" # Or alternately; print "Description: " . $ibm->node( mgmt001st001 )->description . "\n"; # Print the GPFS status of all nodes foreach my $node ( $ibm->get_nodes ) { print "GPFS status: " . $node->GPFS_status . "\n" } # Print the node product version print $node->product_version; # Print the node connection status print $node->connection_status;
Returns the Clustered Trivial Database Status (CTDB) status of the specified node.
Returns the connection status of the specified node.
Returns the CTDB IP address of the specified node.
Returns a IBM::StorageSystem::Statistic::Node::CPU object containing CPU statistics and performance data for the specified node.
Returns the daemon IP address of the specified node.
Returns the daemon version number.
Returns the node description.
Returns the General Paralell File System (GPFS) status of the specified node.
Returns the hostname of the specified node.
Returns the IP address of the specified node.
Returns the cache status of the specified node.
Returns the manager status of the specified node.
Returns the quorum status of the specified node.
Returns the time at which the CTDB status of the node was last updated.
Returns a IBM::StorageSystem::Statistics::Node::Memory object containing memory statistics and performance data for the specified node.
Returns the monitoring enablement status of the specified node.
Returns the operating system family type of the specified node.
Returns the operating system name of the specified node.
Returns the product version number of the specified node.
Returns the recovery master status of the specified node.
Returns the role of the specified node.
Returns the serial number of the specified node.
Returns the username used for management of the specified node.
Returns the version of the specified node.
Luke Poskitt, <ltp at cpan.org>
<ltp at cpan.org>
Please report any bugs or feature requests to bug-ibm-v7000-node at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IBM-StorageSystem-Node. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-ibm-v7000-node at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IBM::StorageSystem::Node
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-Node
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/IBM-StorageSystem-Node
CPAN Ratings
http://cpanratings.perl.org/d/IBM-StorageSystem-Node
Search CPAN
http://search.cpan.org/dist/IBM-StorageSystem-Node/
Copyright 2012 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.