Installation
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 3033 Connection to "192.168.1.1" on port "3033" is ok
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ===================== STORAGE: compellent01 : COMPELLENT ===================== connection ok
$ crontab -l | grep load_compellentperf.sh $
$ crontab -e # Dell SC Series (Compellent) 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_compellentperf.sh > /home/stor2rrd/stor2rrd/load_compellentperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
# lslpp -L |egrep "X11.adt|X11.base|X11.motif" X11.adt.bitmaps 6.1.0.0 C F AIXwindows Application X11.adt.ext 6.1.6.0 C F AIXwindows Application X11.adt.imake 6.1.6.0 C F AIXwindows Application X11.adt.include 6.1.4.0 C F AIXwindows Application X11.adt.lib 6.1.2.0 C F AIXwindows Application X11.adt.motif 6.1.6.0 C F AIXwindows Application X11.base.common 6.1.0.0 C F AIXwindows Runtime Common X11.base.lib 6.1.6.0 C F AIXwindows Runtime Libraries X11.base.rte 6.1.6.0 C F AIXwindows Runtime Environment X11.base.smt 6.1.6.0 C F AIXwindows Runtime Shared X11.base.xpconfig 6.1.0.0 C F Xprint Configuration Files X11.motif.lib 6.1.6.0 C F AIXwindows Motif Libraries X11.motif.mwm 6.1.6.0 C F AIXwindows Motif Window
# umask 022 # gunzip SM10.86_AIX_SMIA-10.86.x5.43.tgz # tar xvf SM10.86_AIX_SMIA-10.86.x5.43.tar # cd AIX10p86/AIX # sh SMIA-AIX-10.86.0605.0043.bin -i console (accept the license agreement, type "enter" many times ) Please choose the Install Set to be installed by this installer. 1- Typical (Full Installation) --> 2- Management Station 3- Host 4- Customize... ENTER THE NUMBER FOR THE INSTALL SET, OR PRESS <ENTER> TO ACCEPT THE DEFAULT : 2 ...... Congratulations. IBM System Storage DS Storage Manager 10 has been successfully installed to: /opt/dell/mdstoragemanager # lslpp -L|grep SMclient SMclient.aix.rte 10.86.6543.0 C F IBM DS Storage Manager Client # ls -l /usr/SMclient/SMcli -r-x------ 1 root system 1008 Oct 10 2013 /usr/SMclient/SMcli
# ln -s /opt/dell/mdstoragemanager/ia/jre/ /opt/dell/mdstoragemanager/jre
# cd /opt/dell/mdstoragemanager # alien SMclient.rpm # alien SMesm.rpm # alien SMruntime.rpm # dpkg -i smclient_10.86.0G05.0043-2_all.deb # dpkg -i smesm_10.86.0G05.0007-2_all.deb # dpkg -i smruntime_10.86.0A05.0001-2_amd64.deb # ls -l /usr/SMclient/SMcli -r-x------ 1 root system 1008 Oct 10 2013 /usr/SMclient/SMcli
# SMmonitor stop # rmitab smmonitor
# /opt/SMgr/client/SMmonitor stop # chkconfig --list SMmonitor # chkconfig --level 2345 SMmonitor off alternatively: # rm -f /etc/rc2.d/S99SMmonitor /etc/rc.d/init.d/SMmonitor
# systemctl stop smmonitor.service # systemctl disable smmonitor.service
# rm -f /var/opt/SM/emwdata_v04_bin.lock /var/opt/SM/pref_01_bin.lock # chown stor2rrd /opt/dell/mdstoragemanager/client/SMcli /var/opt/SM/prefbackup_01.bin # chown stor2rrd /var/opt/SM/emwback_v04.bin /var/opt/SM /var/opt/SM/emwdata_v04.bin # chown stor2rrd /var/opt/SM /var/opt/SM/pref_01.bin # chmod -f 644 /usr/SMruntime/jre/lib/security/java.security # chmod -f 755 /opt/dell/mdstoragemanager/client/lib/*
# su - stor2rrd $ SMcli -d An internal error, error code 12, has occurred. This is possibly due to initialization problems when loading the necessary internal files. Please check your installation of the storage management client. If problems continue to persist, re-install the storage management client.
# su - stor2rrd
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 2463 Connection to "192.168.1.1" on port "2463" is ok
$ SMcli -d There are currently no storage subsystems listed in the configuration file. Add storage subsystems using the Add Storage Subsystem option in the storage management software or by command line. $ SMcli -A 192.168.1.1 192.168.1.2 New storage subsystem was discovered at address 192.168.1.1 New storage subsystem was discovered at address 192.168.1.2 SMcli completed successfully $ SMcli -d MD3800_01 ControlerA_hostname ControlerB_hostname
$ SMcli -n MD3800_01 -e -c "show hostTopology;"
$ SMcli -n MD3800_01 -e -c "show hostTopology;" The operation needs either the 'Administrator' or 'Monitor' password to be set. $ SMcli -n MD3800_01 -p <password> -R monitor -e -c "show hostTopology;"
$ df -g /home # AIX $ df -h /home # Linux
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh ========================= STORAGE: MD3800_01: DS5K ========================= /usr/SMclient/SMcli -n MD3800_01 -e -c "storageSubsystem summary;" connection ok
$ SMcli -n MD3800_01 -e -c "show hostTopology;" Warning! No Monitor password is set for the storage subsystem.
MD3800_01:DS5K:monitor:password01:
$ ./bin/config_check.sh MD3800_01 ...
$ crontab -l | grep load_ds5perf.sh $
$ crontab -e # LSI rebrands like Dell MD3000, IBM DS3000/4000/5000 and NetApp E-series 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_ds5perf.sh > /home/stor2rrd/stor2rrd/load_ds5perf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
$ perl /home/stor2rrd/stor2rrd/bin/conntest_udp.pl 192.168.1.1 161 Connection to "192.168.1.1" on port "161" is ok
# umask 0022 # rpm -Uvh net-snmp-5.6.2.1-1 net-snmp-utils-5.6.2.1-1 net-snmp-perl-5.6.2.1-1
# umask 0022 # yum install net-snmp # yum install net-snmp-utils # yum install net-snmp-perl
# subscription-manager repos --list ... # subscription-manager repos --enable rhel-7-server-optional-rpms
% umask 0022 % apt-get install snmp libsnmp-perl snmp-mibs-downloader
#mibs :If apt-get does not find snmp-mibs-downloader package then enable contrib and non-free repositories.
$ crontab -l | grep load_equallogicperf.sh $
$ crontab -e # Dell EqualLogic 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_equallogicperf.sh > /home/stor2rrd/stor2rrd/load_equallogicperf.out 2>&1
$ crontab -e # STOR2RRD UI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
$ cd /home/stor2rrd/stor2rrd $ ./load.sh