Need help with Storwize v3700 setup
Hello, I'm having trouble with initial config. I've deployed the virtual appliance from OVF and have it running.
I followed the steps on this page http://www.stor2rrd.com/IBM-install.htm and everything has worked, until I reach the point 'Test the storage connectivity'.
When I run ./bin/config_check.sh (I am SU'ed to lpar2rrd) I get the error below. I created the ssh keys while su'ed to lpar2rrd as well. Not sure what I did wrong? I'm pretty sure I followed the instructions carefully. Please help.
[root@xorux stor2rrd]# su - lpar2rrd
Last login: Fri Mar 3 16:16:19 CST 2017 on pts/1
[lpar2rrd@xorux ~]$ cd /home/stor2rrd/stor2rrd
[lpar2rrd@xorux stor2rrd]$ ./bin/config_check.sh
=========================
STORAGE: IBM_V3700: SWIZ : sample rate: 300 seconds
=========================
ssh -o ConnectTimeout=15 -i /home/lpar2rrd/.ssh/id_rsa.pub lpar2rrd@v3700.domain.com "lscurrentuser"
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/home/lpar2rrd/.ssh/id_rsa.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/lpar2rrd/.ssh/id_rsa.pub
lpar2rrd@v3700.domain.com's password:
Comments
-
what about:
chmod 600 /home/lpar2rrd/.ssh/id_rsa*
-
OK that eliminates the key file warning. Now when I run ./bin/config_check.sh it asks me for the password for the lpar2rrd acct on the v3700. It fails if I use blank password. I flip to the v3700 and set a password on the act, and then it will authenticate.
Then it asks for the key password, which is blank: Enter passphrase for key '/home/lpar2rrd/.ssh/id_rsa.pub':
Then I get connection ok. But only if I use the password for the acct on the v3700.
-
you have probaly generated ssh key with pasphrase. it is wrong.
in the docu is stated: Type enter instead of passphrase
If this is the case then you have to repeat whole procedure.
delete existing key, use ssh-keygen and import it to the storage (delete the user account there and create it again with proper ssh key)
-
I thought so too, and I re-ran the ssh keys command 3 or 4 times before posting with no luck.
Are there supposed to be SSH keys in the home dir for a newly deployed VM from OVF? I re-created the VM today from the ovf, and when I checked the lpar2rrd home folder (before running ssh-keygen) there were already key files there - id_rsa & id_rsa.pub. I renamed them to .bak, and ran the ssh-keygen commands again and this time everything worked fine.
-
ssh keys of lpar2rrd user are created automatically on its 1st start. It should work .. .
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