Suj_abi

updated

9 years ago

S

Suj_abi

14 Posts

0

3544

September 7th, 2017 13:00

Getting ssh error when discovering VNX

Hello !!!

    I am getting following 2 errors for 2 different VNXs while discovering them in VIPR SRM.

  • isakats

    141 Posts

    2432

    0

    Posted September 8th, 2017 09:00

    Hi Suj_abi,

    Could you confirm that you have selected Unity as the VNX type in the discovery configuration ?

    regards,

    Isaka

  • Suj_abi

    14 Posts

    2425

    0

    Posted September 8th, 2017 05:00

    SRM version is 4.1

  • Suj_abi

    14 Posts

    2425

    0

    Posted September 8th, 2017 05:00

    Errors are following:

    Testing File configuration

    >>>INFO: Primary CS SSH status: 5

    >>>INFO: Primary SSH error: ssh: command returned with a non-zero status (status: 5) !

    java.io.IOException: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out

    >>>ERROR: Primary Control Station error message: ssh: command returned with a non-zero status (status: 5) !

    java.io.IOException: com.jcraft.jsch.JSchException: Session.connect: java.net.SocketTimeoutException: Read timed out

  • isakats

    141 Posts

    2419

    0

    Posted September 8th, 2017 05:00

    Hi Suj_abi,

    Could you include the error message you are getting and tell us what version of SRM you are using ?

    Regards,

    Isaka

  • SKT2

    2 Intern

    1340 Posts

    2425

    0

    Posted September 8th, 2017 07:00

    Are you discovering the File part as well?

  • Suj_abi

    14 Posts

    2425

    0

    Posted September 8th, 2017 09:00

    Yes

  • Suj_abi

    14 Posts

    2425

    0

    Posted September 8th, 2017 12:00

    Thx a lot Isaka, I changed the type from Unified to Unity and it worked.

    So two out of 3 are taken care but still one VNX array is still giving an error. I thought it is genuine authentication error but I can login to VNX thru web interface.

    That last help if you can suggest some resolution

    Error is:

    Execution steps

    Testing management connectivity (open port)

    Testing public API

    Testing authentication

    Tests completed WITH ERROR(S). See details in full result.

    Click to show/hide the full result

    line 53: fail: command returned with a non-zero status (status: 1) !

    Testing Unity/VNXe2 configuration

    >>>INFO: Initial SSL connection succeeded.

    >>>INFO: API version ok: 2.0

    >>>ERROR: Cannot obtain serial number from the array. Confirm credentials are correct.

  • isakats

    141 Posts

    2425

    0

    Posted September 11th, 2017 06:00

    Hi Suj_abi,

    Does the account have administrator privilege ?

    You can test the account with the command below:

    (/opt/Navisphere/bin) ./naviseccli -h -user -password -scope 0 getagent


    Regards,

    Isaka

  • Suj_abi

    14 Posts

    2425

    0

    Posted September 11th, 2017 12:00

    Thx for your reply.

    Problem is I am able to access VnX via GUI with admin and passwd but cannot putty into it , tried admin , nasadmin and roor userid.

    I opened case with EMC.

  • isakats

    141 Posts

    504

    0

    Posted September 12th, 2017 11:00

    Hi Suj_abi,

    Just realized that Unity collector uses an API and not naviseccli... Do you have a custom banner in setup on the Array ?

    If you have a custom banner setup you have to click accept in order to get to the login page....the collector doesnt click on accept.

    It may be possible to setup a challenge string by going to the hub and generating an access key; in any case you will probably need support's assistance

    regards,

    Isaka