Welcome, Guest. Please login or register.

Author Topic: Backup HP stack (Nedi 1.5c)  (Read 348 times)

swepart

  • Newbie
  • *
  • Posts: 11
    • View Profile
Backup HP stack (Nedi 1.5c)
« on: January 03, 2017, 10:43:29 AM »
Model: HP2510-48 ProCurve J9280A Switch 2510G-48,
Firmware/sotfware: revision Y.11.44, ROM N.10.02

during backup the process hangs at this screen:

Stack Members

  SN MAC Address   System Name      Device Type           Status
  -- ------------- ---------------- --------------------- ----------------------
  0  101010-010101 Switch1...  ProCurve 2510G-48    Commander Up
  1  101010-010101 Switch2...  ProCurve 2510G-48    Member Up
  2  101010-010101 Switch3...  ProCurve 2510G-48    Member Up
  3  101010-010101 Switch4...  ProCurve 3400cl-24G  Member Up
  4  101010-010101 Switch5...  ProCurve 2510G-48    Member Up
  5  101010-010101 Switch6...  ProCurve 2510G-24    Member Up
  6  101010-010101 Switch7...  ProCurve 2510G-24    Member Up
  7  101010-010101 Switch8...  ProCurve 2510G-48    Member Up
  8  101010-010101 Switch9...  ProCurve 2510G-24    Member Up
  9  121212-020202                                                  Member Down
  14 101010-010101 Switch11...  ProCurve 2510G-48   Member Up
  15 101010-010101 Switch12...  ProCurve 2510G-24   Member Up

Enter switch number to connect to or <CR>:

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2510
    • View Profile
    • NeDi
Re: Backup HP stack (Nedi 1.5c)
« Reply #1 on: January 04, 2017, 10:11:15 AM »
I see, a new case to be recognised. Is this a cluster? E.g. they don't provide distributed trunks, right?

You can give it a try by searching for the first "any key|Ctrl-Y" in inc/libcli.pm. Change to:

   }elsif($match =~ /any key|Ctrl-Y| to or <CR>:/i){
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

swepart

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Backup HP stack (Nedi 1.5c)
« Reply #2 on: January 04, 2017, 12:11:17 PM »
Hi
the first row I find in libcli.pm start with  this:

 ($pre, $match) = $session->waitfor("/are you sure|offending key|modulus too small|connection refused|ssh_exchange_identification|any key|Ctrl-Y|$misc::uselogin|password\\s?:

is it that one ?,  and should replace the whole row with }elsif($match =~ /any key|Ctrl-Y| to or <CR>:/i){

the second row I found was this one:
}elsif($match =~ /any key|Ctrl-Y/i){




rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2510
    • View Profile
    • NeDi
Re: Backup HP stack (Nedi 1.5c)
« Reply #3 on: January 05, 2017, 12:31:48 PM »
Right, I missed that one. Just add "| to or <CR>:" to any of those...

But I wonder, do you get all configs or just the commander?
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo