Problem with 3PAR after reissuing a self-signed certificate.
Hello everyone. There was a problem with obtaining information from arrays on which the selfsigned certificate has expired. I reissued the certificate, but the data collection did not work.
Ran the check script config_check.sh
SSH network connection: TCP connection to 10.200.205.158:5782 is OK.
Crontab test: OK
SSH authorization: NOK
Ran the check script config_check.sh
lpar2rrd /home/stor2rrd/stor2rrd $ ./bin/config_check.sh PA_7450_1
=========================
STORAGE: PA_7450_1: 3PAR
=========================
TCP connection to "10.200.205.158" on port "22" is ok
CLI Client version: 3.2.2
TCP connection to "10.200.205.158" on port "5782" is ok
Using 3PAR CLI /opt/hp_3par_cli/bin/cli, PWF:/home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf
export TPDCERTDIR=/home/stor2rrd/stor2rrd/etc; export TPDPWFILE=/home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf; /opt/hp_3par_cli/bin/cli -sys 10.200.205.158 -pwf /home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf showuser
SSH network connection: TCP connection to 10.200.205.158:5782 is OK.
Crontab test: OK
SSH authorization: NOK
Under user: lpar2rrd ssh command failed: "export TPDCERTDIR=/home/lpar2rrd/stor2rrd/etc; export TPDPWFILE=/home/lpar2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf; /opt/hp_3par_cli/bin/cli -sys 10.200.205.158 -pwf /home/lpar2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf statvv -rw -d 1 -iter 1" The authenticity of the storage system cannot be established. CLI Server Certificate Issuer: CN=HP_3PAR 7450c-1688261 Subject: CN=HP_3PAR 7450c-1688261 SHA1 fingerprint: 85247F00E7533FC35C9BFD9EC2C54B1FC9A75CEF Validity: Not before: Jan 21 06:30:19 2022 GMT Not after: Jan 20 06:30:19 2025 GMT Warning: self signed certificate Warning: subject CN ("HP_3PAR 7450c-1688261") does not match the system name ("10.200.205.158") Continue connecting (yes/no)?
Comments
-
Hi,run the command and answer "yes", this will fix itsu - lpar2rrdexport TPDCERTDIR=/home/stor2rrd/stor2rrd/etc; export TPDPWFILE=/home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf; /opt/hp_3par_cli/bin/cli -sys 10.200.205.158 -pwf /home/stor2rrd/stor2rrd/etc/.3par-10.200.205.158.pwf showuserthen this will work:cd /home/stor2rrd/stor2rrd./bin/config_check.sh PA_7450_1
Howdy, Stranger!
Categories
- 1.6K All Categories
- 41 XORMON NG
- 25 XORMON
- 149 LPAR2RRD
- 13 VMware
- 16 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- XenServer / Citrix
- Nutanix
- 6 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 122 STOR2RRD
- 19 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