Active IQ Unified Manager Discussions

Oncommand Insight 6.3.2 not able to connect to IBM SVC 2145

HPSADMIN
16,304 Views

we have been trying to add IBM SVC 2145 on Oncammand insight but it keeps failing saying private key not valid. We had generated a new public and private key file, uploaded the public key to the SVC cluster on the oncommand server.

SSH using the same private is working fine for the SVC clsuter and that too from the Oncammand server.

Any recommendations here!

Thanks

Hitesh Thappa

1 ACCEPTED SOLUTION

ostiguy
16,304 Views

In the datasource configuration, in the "full path to private key", do you have the filename in that string?

I.e, if your private key file is file.txt

the path needs to be c:\directory\file.txt

Second - what format is the private key in? Is a putty formatted key? If yes, you want to convert it to OpenSSH format with PuttyGEN

Download puttygen, Load the existing key -> Conversion -> Export to OpenSSH

View solution in original post

9 REPLIES 9

ostiguy
16,305 Views

In the datasource configuration, in the "full path to private key", do you have the filename in that string?

I.e, if your private key file is file.txt

the path needs to be c:\directory\file.txt

Second - what format is the private key in? Is a putty formatted key? If yes, you want to convert it to OpenSSH format with PuttyGEN

Download puttygen, Load the existing key -> Conversion -> Export to OpenSSH

HPSADMIN
16,304 Views

BINGO!! Thank you very much....the conversion fixed the issue.

TARIKHAMZA
16,304 Views

I have similar (if not the same) issue. I can use the key pair to open putty ssh session, but OnCommand Insight is not working. I tried converting only private key to OpenSSH and then both Putty SSH and Insight did not work. I would appreciate if you someone can shed some light and post detailed steps.

This is the log:

Message:

Can not login to the device using private key:java.io.FileNotFoundException: C:\PUTTY\icat.ppk (The system cannot find the path specified)

Most likely causes:

Key file is invalid

Information in use:

Ip address:10.1.1.226

Private Key File: C:/PUTTY/icat.ppk

What you can try:

Check the private key

Generate key pairs

Confirm connection with alternate SSH client

Thank you

HPSADMIN
16,304 Views

where have you saved the private key? from the error mentioned its seems Oncommand is looking for the private key file in location  C:\PUTTY\icat.ppk but could not find it.

TARIKHAMZA
16,301 Views

I had a key on web client server. Once I put it on the server where OnCommand was installed, I got another error message:

Message:

scp: /tmp/svc.config.backup.xml: No such file or directory

Thank you

Tarik Hamza | Data Storage Architect | Federal Systems | Data Center Transformation and Outsourcing

Unisys | 11720 Plaza America Drive | Reston, VA 20190 | (O) 703-439-5958 | (C) (202) 415-3635

<http://www.youtube.com/theunisyschannel> <http://www.facebook.com/unisyscorp> <http://www.linkedin.com/companies/unisys> <http://www.twitter.com/unisyscorp> <http://www.unisys.com/>

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

HPSADMIN
16,301 Views

ok, did it try to run for some time and then fail, stating the error you mentioend.
It seems the sanscreen could not fetch the svc config backup data....check if you have the svc configuration backed up already.

if not take a config backup and then try running the inventory for SVC again.

ostiguy
16,301 Views

You may want to try doubling the timeout value in the datasource. It sounds like SSH is now working, but when the datasource attempted the SCP download of the SVC config file, it wasn't there yet. Doubling the time would give you more time for the SVC config backup to be created and placed in the directory

TARIKHAMZA
16,295 Views

The issue was that backup config file (xml) did not exist. Once I backed up config, everything was fine. Thank you for suggestions guys. I have never experienced board with such quick replies.

Tarik Hamza | Data Storage Architect | Federal Systems | Data Center Transformation and Outsourcing

Unisys | 11720 Plaza America Drive | Reston, VA 20190 | (O) 703-439-5958 | (C) (202) 415-3635

<http://www.youtube.com/theunisyschannel> <http://www.facebook.com/unisyscorp> <http://www.linkedin.com/companies/unisys> <http://www.twitter.com/unisyscorp> <http://www.unisys.com/>

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

ostiguy
16,295 Views

The datasource will tell the SVC to back itself up - you shouldn't have to do it automatically.

The SVC datasource is fairly simple:

OCI SSHs to the SVC

Ask the SVC to generate a fresh backup

Wait

SCP to the SVC, download the xml config backup file

Parse the SVC XML, generate a "odata" XML for OCI Acq to send to the OCI Server

Public