Adding new storage

I am trying to add another v7000 to be monitored. Do I have to generate a new SSH key?

Comments

  • Hi,

    no, use the one you have already generated.
  • glynch
    edited April 2017
    Thanks. That's what I thought. I am moving a v7000 from an old stor2rrd server to a new virtual appliance. I uploaded the existing key and changed the key for the lpar2rrd user to the new key. When I try to run lssystem, it tells me that the private key is not valid for the user name

  • have you copied even the private key?
    you have to copy over whole .ssh directory and keep file rights (lpar2rrd owner and 600 for most of files include .ssh dir)
  • No I didn't copy that over to the new server because I already have another V7000 set up on there. I just want to bring the second V7000 over.
  • it should work, try to repeat the procedure, looks like wrong key you have pasted

    ls -l ~/.ssh/id_rsa.pub
    scp ~/.ssh/id_rsa.pub superuser@<storage IP>:/tmp/123tmp
    ssh superuser@<storage IP> "svctask chuser -keyfile /tmp/123tmp lpar2rrd"
    ssh lpar2rrd@<storage IP>  "lscurrentuser"
     

  • Now I can even copy the key over, I get the same error
  • I removed the user from the v7000 and started from scratch. It seems to have worked now. Thanks for your help
Sign In or Register to comment.