IBM::StorageSystem::Enclosure::PSU - Class for operations with a IBM Storwize enclosure PSU
Version 0.01
IBM::StorageSystem::Enclosure::PSU is a utility class for operations with a IBM Storwize enclosure PSU.
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"; # Print the status of the second PSU in the fifth enclosure. print $ibm->enclosure(5)->psu(2)->status; # Print the status of all PSUs in all enclosures in our system map { print "\t- PSU ", $_->PSU_id, " status: ", $_->status, "\n" } map { print "--- Enclosure ", $_->id, "\n"; $_->get_psus } $ibm->get_enclosures; # Should yield something similar to: # --- Enclosure 1 # - PSU 1 status: online # - PSU 2 status: online # --- Enclosure 2 # - PSU 1 status: online # - PSU 2 status: online # ...
Returns the alternating current failure status of the specified PSU.
Returns the direct current failure status of the specified PSU.
Returns the Field Replacable Unit (FRU) identity of the specified PSU.
Returns the Field Replacable Unit part number of the specified PSU.
Returns the PSU ID.
Returns the enclosure ID of the enclosure in which the PSU resides.
Returns the last error sequence number of the PSU (if present).
Returns the fan failure condition status.
Returns the firmware level 1 identifier.
Returns the firmware level 2 identifier.
Returns the redundancy status of the PSU.
Returns the operational status of the PSU
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.