OpenWrt Forum Archive

Topic: Redundant boot partitions

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm wondering how best OpenWRT can be upgraded remotely.

For a production environment, you have to cater for the possibility that despite the best efforts of change management, that a remote upgrade will fail, leaving you with an unworkable unit.

OpenWRT has reached the stage where it's suitable for large scale rollouts, if only a mechanism existed to make sure that if an upgrade fails, the system could fall back to booting off a different partition.

Thoughts?

Sounds great, but there is a real problem.  There just isn't enough space on the flash to hold a new and current image. 

Upgrading openwrt with mtd is reliable.  The key is making sure you nvram is ready for the new image on reboot. 

Extensive testing of your configuration with your environment is critical.  You may be looking at custom building each .trx for each wrt so that it is configured as needed. 

I think a large scale rollout is completely possible.  Attention to detail and planning a always necessary.

The discussion might have continued from here.