Perl IO:Pty support
This module is necessary for user/password authentification when is used ssh or other CLI access (not needed for REST API ones).
It is not needed when you use ssh-key based authorisation.
Install missing package under root
Linux RHEL, CentOS
# yum install perl-IO-Tty
Linux Debian, Ubuntu
# apt-get install libio-pty-perl
AIX
Generaly there is no free available IO:Tty rpm for the latest Perl 5.3X from Linux toolbox, solution below works only for old Perl 5.8.8
Use ssh-key based authorisation as a workaround.
Download it here:
perl-IO-Tty-1.07-1.aix5.1.ppc.rpm
# rpm -Uvh perl-IO-Tty-1.07-1.aix5.1.ppc.rpm
Unfortunatelly that does not work on AIXes with newer perl, you get this error:
error: Failed dependencies:
perl(:MODULE_COMPAT_5.8.8) is needed by perl-IO-Tty-1.07-1.ppc
There is unfortunately no solution, such module is not available for AIX.
The module is needed only for connection storage device using CLI (via ssh) with usage
user/password method like IBM FlashSystem, Fujitsu ETERNUS and some others.
As a workaround you can use
ssh-keys instead, that method does not require above perl module at all.
Test presence
cd /home/stor2rrd/stor2rrd
. etc/stor2rrd.cfg
$PERL -MIO::Pty -e ';'
When it prints error like "Can't locate IO/Pty.pm in @INC" then something is wrong with installation.