Data Domain - Connectivity Issues
I am new to Stor2rrd and am trying to implement a Data Domain for monitoring. So far:
Allow access from the Stor2rrd host to the storage on port 22 = success
Create user stor2rrd under user role on the storage = success
Exchange public keys = success
Logon to the storage and add key = success
Test connection ssh <data domain host> -l stor2rrd = does not fail, but requires a password. I give it the password for the stor2rrd user I created earlier and it logs me on.
Configure storage in etc/storage-list.cof = success
Test storage connectivity = fails. Output below:
[lpar2rrd@stor2p1s1 stor2rrd]$ ./bin/config_check.sh DDRP1S4
tee: /home/stor2rrd/stor2rrd/logs/config_check.out: Permission denied
=========================
STORAGE: DDRP1S4: DATADOMAIN
=========================
TCP connection to "172.31.0.48" on port "22" is ok
ssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no -q stor2rrd@172.31.0.48 "system show all"
connection failed!!
[lpar2rrd@stor2p1s1 stor2rrd]$ ./bin/config_check.sh 172.31.0.48
tee: /home/stor2rrd/stor2rrd/logs/config_check.out: Permission denied
Any thoughts or ideas would be greatly appreciated as I'm new to the product but it seems to hold great promise.
Comments
-
ls -l /home/stor2rrd/stor2rrd/logs/config_check.outls -ld /home/stor2rrd/stor2rrd/logs
-
Pavel -I looked at config_check.out. It contains the following:=========================
STORAGE: DDRP1S4: DATADOMAIN
=========================
TCP connection to "172.31.18.94" on port "22" is ok
ssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no -q stor2rrd@172.
31.18.94 "system show all"
connection failed!!
The logs directory contains the following files:[lpar2rrd@stor2p1s1 logs]$ ls -lia
total 108
136641413 drwxr-xr-x 2 lpar2rrd lpar2rrd 4096 Nov 7 10:10 .
67127887 drwxr-xr-x 16 lpar2rrd lpar2rrd 4096 Nov 6 09:58 ..
136641444 -rw-r--r-- 1 lpar2rrd lpar2rrd 0 Oct 19 08:33 cleaner.out
136641454 -rwxrwxrwx 1 root root 317 Nov 7 10:09 config_check.out
136641445 -rw-r--r-- 1 lpar2rrd lpar2rrd 12 Nov 7 10:09 config_check_sum.out
136641408 lrwxrwxrwx 1 root root 33 Oct 19 08:21 error-cgi.log -> /var/tmp/stor2rrd-realt-error.log
136641439 -rw-r--r-- 1 lpar2rrd lpar2rrd 1174 Nov 7 09:33 error.log
136641446 -rw-r--r-- 1 lpar2rrd lpar2rrd 57204 Nov 7 10:35 error.log-DDRP1S4
136641440 -rw-r--r-- 1 lpar2rrd lpar2rrd 0 Nov 7 10:30 load_bnaperf.out
136641438 -rw-r--r-- 1 lpar2rrd lpar2rrd 0 Nov 7 10:35 load_lanperf.out
136641441 -rw-r--r-- 1 lpar2rrd lpar2rrd 6769 Nov 7 10:33 load.out
136641437 -rw-r--r-- 1 lpar2rrd lpar2rrd 0 Nov 7 10:35 load_sanperf.out
136641452 -rw-r--r-- 1 lpar2rrd lpar2rrd 0 Nov 6 09:55 output.log-ddrp1s4
136641447 -rw-r--r-- 1 lpar2rrd lpar2rrd 0 Nov 7 10:10 output.log-DDRP1S4
136641442 -rw-r--r-- 1 lpar2rrd lpar2rrd 20714 Nov 7 09:33 sys.logIf I check error.log-DDRP1S4 it is full of either "command failed:" or "file not found:" errors.Any thoughts?
-
under root:rm /home/stor2rrd/stor2rrd/logs/config_check.outsu - lpar2rrdcd /home/stor2rrd/stor2rrd./bin/config-check.sh DDRP1S4
-
Pavel -Thanks for your quick reply. Here is the output of those commands:[root@stor2p1s1 /]# rm /home/stor2rrd/stor2rrd/logs/config_check.out
rm: remove regular file ‘/home/stor2rrd/stor2rrd/logs/config_check.out’? yes[root@stor2p1s1 /]# su lpar2rrd[lpar2rrd@stor2p1s1 stor2rrd]$ ./bin/config_check.sh DDRP1S4
[lpar2rrd@stor2p1s1 /]$ cd /home/stor2rrd/stor2rrd
=========================
STORAGE: DDRP1S4: DATADOMAIN
=========================
TCP connection to "172.31.18.94" on port "22" is ok
ssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no -q stor2rrd@172.31.18.94 "system show all"
connection failed!!
Thanks again for all your help!
-
su - lpar2rrdssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no stor2rrd@172.31.18.94 "system show all"
-
Pavel -Here is the output of those commands:[root@stor2p1s1 ~]# su lpar2rrd
[lpar2rrd@stor2p1s1 root]$ ssh -o ConnectTimeout=80 -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey -o SendEnv=no stor2rrd@172.31.18.94 "system show all"
Data Domain OS
Permission denied (publickey,password,keyboard-interactive).
[lpar2rrd@stor2p1s1 root]$
-
Pavel -Found it!!!It was all me. I was getting the SSH keys from the stor2rrd server, then going to the datadomain console with a different SSH session, logging in, then entering the keys. There were no errors but I needed to be logging into the data domain console FROM the stor2rrd server. Continuing on and will update
-
exchange properly ssh key as per docu:
-
All four Data Domains and now populating the web gui. Thanks for all your help.
Howdy, Stranger!
Categories
- 1.5K All Categories
- 31 XORMON NG
- 25 XORMON
- 143 LPAR2RRD
- 12 VMware
- 15 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 121 STOR2RRD
- 18 SAN
- 7 LAN
- 17 IBM
- 3 EMC
- 12 Hitachi
- 5 NetApp
- 15 HPE
- Lenovo
- 1 Huawei
- 1 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 3 Pure Storage
- Oracle