cancel
Showing results for 
Search instead for 
Did you mean: 

How do I move from Classic to NG ?

How do I move from Classic to NG ?

abeaudry1
New Contributor
How do I move from Classic to NG ?
1 ACCEPTED SOLUTION

bear
New Contributor III

Here's a doc you definitely want:

 

http://docs.aerohive.com/330000/docs/guides/Aerohive_HiveManagerNG-Migration.pdf?_ga=2.234056670.1329224720.1526344440-454282283.1511914886

 

As someone currently migrating devices from Classic to NG, here's some "big picture" items - a 10,000 foot view - let's call this Things I Wish I'd Understood Better Beforehand:

 

  1. Apparently, you can just go into to Classic's license key management interface, list all the keys you have in Classic, and go apply those same keys into NG; I copied my licenses into NG in about 30 seconds this way without involving support.
  2. You're basically just going to pretend like you're building your network from the ground up again, but in NG (so you're gonna want to go figure that out), then migrate the devices from Classic to NG one or more at a time.
  3. The summarized process of actually 'moving' a device to another HiveManager goes like this:
    1. Establish an SSH connection to the device + write down the IP address and HiveManager password to connect to it - this isn't required but you will kick yourself later when you mess up and you can't remember the device IP and it's not in HM because you just deleted it
    2. Write down the device serial number
    3. Change the CAPWAP redirector to redirector.aerohive.com, either via CLI (make sure to save changes) or via HiveManager+config push
    4. Once the configuration is committed to the device, schedule a reboot of the device for several minutes in the future, giving you time to do the next few steps BEFORE IT REBOOTS (<--- this part is important):
      1. Remove the device from HiveManager Classic by deleting it from the inventory
      2. Add the device to HiveManager NG using the serial number + network policy
      3. The device will boot up, contact redirector.aerohive.com, and be told to connect to HiveManager NG

 

Tips:

 

  1. Create a device template for each type of device you have, before you get started. For example, the switch templates for my SR2324 and SR2348 switches specifies that the 4 10G ports have trunking enabled, STP is enabled, on all ports, and ports 1-24 (or 48) are end-user ports.
  2. application stop hiveagent + application start hiveagent are CLI commands (for Nimitz-based devices such as the SR23xx switches) that can restart the hivemanager agent running on the device - after being disconnected from the 'net for a few days, our HM agent gave up trying, and this reconnected it to the hive without restarting the switch.

 

For a clearer understanding of all the 'redirector' business, check out the last 2 pages of the PDF I linked above, it explains the various ways that Aerohive devices can locate their HiveManager;

View solution in original post

16 REPLIES 16

bear
New Contributor III

​I just went to  HiveManager Classic interface and exported all 5 remaining devices to CSV.     The serial numbers of the device are in the first column; here are the column headers:

 

//Serial Number,Node ID,Host Name,Device Model,Device Function,Network Policy,Location,Static IP Address,Netmask,Default Gateway,Topology Map,Country Code,Wifi0 Radio Profile,Wifi0 Admin State,Wifi0 Operation Mode,Wifi0 Channel,Wifi0 Power,Wifi1 Radio Profile,Wifi1 Admin State,Wifi1 Operation Mode,Wifi1 Channel,Wifi1 Power,HiveOS,TAG1,TAG2,TAG3,VHM Name

 

If you opened the CSV in Excel, you might see the serial number converted to e.g. "1.00151+13" instead of 10015093342, but it is shown correctly in Notepad

 

Hope this helps! 🙂

 

mcoffey
New Contributor
I did EXACTLY what was in the Doc and the export did not have the serial #’s in the CVS export and I had to open a ticket and MANUALLY add them to NG.

The DOC is wrong because it does not tell your to MAKE SURE YOU HAVE YOUR SERIAL #s.

Buyer be ware if you use this doc

Maggie Coffey
Help Desk Administrator
Loftware, Inc.,
249 Corporate Drive, Portsmouth, NH 03801
Office: 603.570.4610
www.loftware.com<>
[cid:image002.jpg@01D259F3.3F3DB7A0]

bear
New Contributor III

If you actually followed the guide and exported your inventory (page 8, "click Device Inventory > Export to export a list of the selected devices as a .csv file") like it says, then you do have a list of your devices and their serial numbers.

 

If you don't actually read the guide and follow the instructions then yeah, you're going to have a bad time.

mcoffey
New Contributor

Do not use this document. It is not correct. It is not for the current version you will see on line. They do not tell you to MAKE SURE YOU HAVE ALL YOUR SERIAL NUMBERS. This document was put together by sales and is not correct.

 

c_mbutas
New Contributor

Interesting - yeah I can't add any entitlements, and seems I have "Configuration and Monitoring" rights only. I'll ping the site admin and have him elevate me at least for the time being. Seems that gave me most everything else for perms, didn't think it wouldn't let me export inventories...

 

Thanks for the advice, much appreciated!

GTM-P2G8KFN