RackMan::Device::PDU::APC_RackPDU - Role for APC Rack PDUs
This module is the role for APC Rack PDUs.
It works by fetching the configuration from the corresponding PDU (obviously, you need a network access to it) and updating it with the values from the RackTables database. The resulting configuration file can then be compared with the original or pushed back to the device.
Write the PDU configuration file, config.ini, in the directory specified in RackMan's config (section [general], parameter path).
[general]
path
Arguments:
Fetch the PDU configuration from the device twice, modify one according to the database, compute and print the differences between the two.
The exit status of the program is set to 1 if there are differences, 0 otherwise.
Push the configuration from disk (where write_config wrote it) to the PDU device.
write_config
Fetch the PDU configuration from the device via FTP and modify it according to the information from the RackTables database.
Return:
PDU configuration (RackMan::File instance)
Fetch the PDU configuration from the device via FTP.
Store the PDU configuration to the device via FTP.
See "Section [device:pdu:apc_rackpdu]" in rack
Sebastien Aperghis-Tramoni
To install RackMan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RackMan
CPAN shell
perl -MCPAN -e shell install RackMan
For more information on module installation, please visit the detailed CPAN module installation guide.