Aruba Instant & Cloud Wi-Fi

Reply
MVP
Posts: 1,392
Registered: ‎11-30-2011

CLI upgrade upgrade-image vs upgrade-image2

anyone understand the difference between upgrade-image and upgrade-image2? (so not upgrade-image2-no-reboot, that one is clear).

 

the manual mentions for upgrade-image2: Uploads an additional image file and upgrades the IAP to use this image file when required.

 

i tested this with a newer, older and same firmware image and in all cases it "upgraded" and restarted automatically.

Aruba Employee
Posts: 3
Registered: ‎03-29-2015

Re: CLI upgrade upgrade-image vs upgrade-image2

[ Edited ]

I'm looking for the same info. We have command upgrade-image and we have upgrade-image2. Then we have 2 FW images in the AP. I figured upgrade-image would update the primary, upgrade-image2 the secondary but that doesn't appear to be so.

 

Any Aruba guys here who might know and coudl share the answer?

Valued Contributor II
Posts: 804
Registered: ‎12-01-2014

Re: CLI upgrade upgrade-image vs upgrade-image2

Hi,

 

That option ( Upgrade-Image2) primarily used when we deploy ( or convert ) IAP as a RAP ( Controller based AP). that will not have any impact on IAP.

 

Please feel free if you need further clarity on this.

Cheers,
Venu Puduchery,
[Is my post helped you ? Give Kudos :) ]
Aruba Employee
Posts: 3
Registered: ‎03-29-2015

Re: CLI upgrade upgrade-image vs upgrade-image2

Thanks... but this tells me when this command is used. What I am asking is what exactly does each of these commands do.

 

So upgrading an independent AP we use "upgrade-image" and upgrading a controlled AP we use "upgrade-image2"?

Moderator
Posts: 321
Registered: ‎08-28-2009

Re: CLI upgrade upgrade-image vs upgrade-image2

[ Edited ]

upgrade-image2 is used to upgrade a cluster, especially when it has multiple models (i.e. Orion, Pegasus, Cassiopeia etc)

 

for single class cluster example:
    upgrade-image2 Orion@tftp://192.168.0.1/mips32.ari
for multi class cluster example: upgrade-image2 Orion@tftp://192.168.0.1/mips32.ari;Cassiopeia@tftp://192.168.0.1/armv5te.ari

 

if you use upgrade-image2 without any decoration of the model name, then it behaves the same as the original upgrade-image command.

 

Neither have anything to do with the two image partitions.

 

oh, turns out while testing this to answer the post - if you get a 404 error from a http based upgrade URL, then the upgrade process gets stuck (fails, but IAP still reports upgrade in progress) - will require a reboot to clear. Tested on 6.4.2.3-4.1.1.5, will raise a bug.

 

regards

-jeff

MVP
Posts: 1,392
Registered: ‎11-30-2011

Re: CLI upgrade upgrade-image vs upgrade-image2

thanks jeff, you might also want this updated in the documentation. with this example everything becomes clear.

Aruba Employee
Posts: 3
Registered: ‎03-29-2015

Re: CLI upgrade upgrade-image vs upgrade-image2

Hi Jeff

 

Thanks for confirming :) I'll double that - would be a good idea to have this described in the documentation.

 

Cheers

PG

Moderator
Posts: 321
Registered: ‎08-28-2009

Re: CLI upgrade upgrade-image vs upgrade-image2

sure, i'll ask the doc team to update based on this thread.

regards

-jeff

 


Peregrino69 wrote:

Hi Jeff

 

Thanks for confirming :) I'll double that - would be a good idea to have this described in the documentation.

 

Cheers

PG


 

Search Airheads
Showing results for 
Search instead for 
Did you mean: