Fujitsu ETERNUS DX/AF storage installation
Back to storage installation home.
In case of usage of Virtual Appliance
- Use local account lpar2rrd for hosting of STOR2RRD on the virtual appliance
- Use /home/stor2rrd/stor2rrd as the product home
If you have older model then use this patch 2.20-04.
Above patch contains even some other fixes, load it in every case.
Monitoring of ETERNUS Unified file data is not implemented yet.
The product uses ETERNUS CLI interface natively provided by the storage to get all necessary data (ssh access).
- All actions below under stor2rrd user (lpar2rrd on Virtual Appliance)
Allow access from the STOR2RRD host to the storage both MNT interfaces on port 22 through your network.
$ perl /home/stor2rrd/stor2rrd/bin/conntest.pl 192.168.1.1 22 Connection to "192.168.1.1" on port "22" is ok
- Create ssh-keys on STOR2RRD host under stor2rrd user if do not exist yet.
It should already exist on the Virtual Appliance, skip it there.
$ ls -l ~/.ssh/id_rsa.pub $ ssh-keygen -t rsa -N "" Generating public/private rsa key pair. Enter file in which to save the key (/home/stor2rrd/.ssh/id_rsa): ... $ ls -l ~/.ssh/id_rsa.pub -rw-r--r-- 1 stor2rrd stor2rrd 382 Jun 1 12:47 /home/stor2rrd/.ssh/id_rsa.pub
Convert ssh-keys into IETF format.
Storage import utility expects ssh-keys in IETF format.
Keys in usual *.pub format will be accepted but access will not work!
$ ssh-keygen -e -f ~/.ssh/id_rsa.pub > id_rsa.pub.ietf $ ls -l id_rsa.pub.ietf -rw-r--r-- 1 stor2rrd stor2rrd 507 Jan 8 08:43 id_rsa.pub.ietf
Create user stor2rrd on the storage with monitor role and authorized via ssh-key.
System ➡ User Setting ➡ Setup User Account ➡ Add
Assure that performance monitoring collection is enabled on the storage and historical collection is set to 300 secs.
It must be set to 300 seconds to work correctly!
System ➡ Utility ➡ Start/Stop Perfmon ➡ Select 300 ➡ Apply
Note: this setting is reset (disabled) after each storage reboot at least with firmware release we have tested it.
It means that you have to enable performance monitoring and set interval after each storage reboot.
STOR2RRD storage configuration
Uncomment (remove the hash) example line and adjust it:
$ vi /home/stor2rrd/stor2rrd/etc/storage-list.cfg # # Fujitsu ETERNUS # # Storage Alias:ETERNUS:Controller_A IP address or hostname:Controller_B IP address or hostname:storage user:VOLUME_AGG_DATA_LIM:VOLUME_AGG_IO_LIM:SAMPLE_RATE_MINS #eternus-alias01:ETERNUS:ctla_host.example.com:ctlb_host.example.com:stor2rrd:1024:10: eternus-alias01:ETERNUS:192.168.1.1:192.168.1.2:stor2rrd
You can use either MNT interfaces or even RMT, it will work with all.
Assure you have enough of disk space on the filesystem where is STOR2RRD installed
Roughly you might count 2 - 30 GB per a storage (it depends on number of volumes, 30GB for 5000 volumes)
$ df -g /home # AIX $ df -h /home # Linux
Check storage connectivity
$ cd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh eternus-alias01 ===================== STORAGE: eternus-alias01 : ETERNUS ===================== connection ok
- Schedule to run storage agent from stor2rrd crontab (lpar2rrd on Virtual Appliance, it might already exist there)
$ crontab -l | grep load_eternusperf.sh $
$ crontab -e # Fujitsu ETERNUS 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /home/stor2rrd/stor2rrd/load_eternusperf.sh > /home/stor2rrd/stor2rrd/load_eternusperf.out 2>&1
$ crontab -e # STOR2RRD GUI (just ONE entry of load.sh must be there) 5 * * * * /home/stor2rrd/stor2rrd/load.sh > /home/stor2rrd/stor2rrd/load.out 2>&1
Let run the storage agent for 15 - 20 minutes to get data, then:
$ cd /home/stor2rrd/stor2rrd $ ./load.sh
- Go to the web GUI: http://<your web server>/stor2rrd/
Use Ctrl-F5 to refresh the web browser cache.