From Wanos Wiki
Revision as of 20:38, 14 December 2015 by Ahenning (Talk | contribs)

Jump to: navigation, search

Update process from version 2.6.2 to 2.6.3

Notes

  • Update versions are not backwards compatible.
  • The instructions written here only works when updating from version 2.6.2 to 2.6.3.
  • It is recommended to create a snapshot vm/img if it's in production in case things go wrong.
  • Update will create a restore point, but don't count on it.
  • Update will retain basic settings e.g. IP, Gateway, Datastore, SSH, Hostname, Deployment mode, Virt_lan0, MAC wan0 & lan0 mappings.
  • Traffic policies, MultiSite, PortObjects and Groupobjects are migrated.
  • Some settings may be set to defaults e.g. dedup levels, compression levels.
  • Most stats will reset.
  • It is recommended to add a default bypass rule during the update.
  • Update is not backward compatible, hence please update all devices.
  • It is strongly recommended to run an upgrade in a test lab environment before doing it on production machines.

How to

If the device has access to the internet:

wget http://wanos.org/updateinfo/update-2.6.3.sh
bash update-2.6.3.sh update

If the device does not have access to the internet, manually download and then scp/winscp the following two files to the device:

http://wanos.org/updateinfo/update-2.6.3.sh
http://wanos.org/updateinfo/update-2.6.3.tar.gz
bash update-2.6.3.sh update

If the device has intranet access then:

wget http://10.1.1.10/dir/update-2.6.3.sh
wget http://10.1.1.10/dir/update-2.6.3.tar.gz
bash update-2.6.3.sh update

To restore:

bash update-2.6.3.sh restore

Expected result:
bash update-2.6.3.sh update
Ready to start update. System will reboot.
Ctrl-C to exit. Enter to continue.
Starting update sequence.
Creating restore.
tar: removing leading '../' from member names
Extracting update package.
Preparing update files.
Clearing the datastore.
Installing update.
Update complete.