IBM::StorageSystem::Enclosure::Canister - Class for operations with a IBM Storwize enclosure Canister
Version 0.01
IBM::StorageSystem::Enclosure::Canister is a utility class for operations with a IBM Storwize enclosure Canister.
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 WWNN of the first canister in the first enclosure. print $ibm->enclosure(1)->canister(1)->WWNN; # Print the temperatures of all canisters in this enclosure. map { print "Canister ", $_->canister_id, " temperature: ", $_->temperature } $enclosure->get_canisters;
Returns the Field Replaceable Unit (FRU) identity number for the specified canister.
Returns the Field Replaceable Unit part number of the specified canister.
Returns the status of the first SAS port.
Returns the status of the second SAS port.
Returns the SCSI Enclosure Services (SES) status of the specified canister.
Returns the World Wide Node Name (WWNN) of the specified canister.
Returns the numerical identifier of the specified canister.
Returns the numerical identifier of the enclosure in which the specified canister resides.
Returns the most recent error sequence number (if present).
Returns the state of the canister fault LED.
Returns the firmware level of the specified canister.
Returns the level 2 firmware code of the specified canister.
Returns the level 3 firmware code of the specified canister.
Returns the level 4 firmware code of the specified canister.
Returns the level 5 firmware code of the specified canister.
Returns the numerical node identifier of node in which the specified canister resides.
Returns the name of the node in which this canister resides.
Returns the operational status of specified canister.
Returns the temperature in degrees Celcius of the specified canister.
Returns the specified canister type.
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.