From Wanos Wiki
(→Update process from version 2.6.2 to 3.0.2) |
|||
Line 1: | Line 1: | ||
==Update process from version 2.6.2 to 3.0.2== | ==Update process from version 2.6.2 to 3.0.2== | ||
+ | |||
+ | ===Requirements=== | ||
+ | Minimum v2.6.2 | ||
===Notes=== | ===Notes=== | ||
Line 24: | Line 27: | ||
<pre> | <pre> | ||
http://wanos.org/updateinfo/update-3.0.2.sh | http://wanos.org/updateinfo/update-3.0.2.sh | ||
− | http://wanos.org/updateinfo/update- | + | http://wanos.org/updateinfo/update-3.0.2.tar.gz |
− | bash update- | + | bash update-3.0.2.sh update |
</pre> | </pre> | ||
If the device has intranet access then: | If the device has intranet access then: | ||
<pre> | <pre> | ||
− | wget http://10.1.1.10/dir/update- | + | wget http://10.1.1.10/dir/update-3.0.2.sh |
− | wget http://10.1.1.10/dir/update- | + | wget http://10.1.1.10/dir/update-3.0.2.tar.gz |
− | bash update- | + | bash update-3.0.2.sh update |
</pre> | </pre> | ||
To restore: <br /> | To restore: <br /> | ||
<pre> | <pre> | ||
− | bash update- | + | bash update-3.0.2.sh restore |
</pre> | </pre> | ||
Expected result: <br /> | Expected result: <br /> | ||
− | '''''bash update- | + | '''''bash update-3.0.2.sh update''''' <br /> |
'''''Ready to start update. System will reboot.''''' <br /> | '''''Ready to start update. System will reboot.''''' <br /> | ||
'''''Ctrl-C to exit. Enter to continue.''''' <br /> | '''''Ctrl-C to exit. Enter to continue.''''' <br /> |
Revision as of 19:24, 3 April 2016
Update process from version 2.6.2 to 3.0.2
Requirements
Minimum v2.6.2
Notes
- Update versions are not backwards compatible.
- The instructions written here only works when updating from version 2.6.2 to 3.0.2.
- 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-3.0.2.sh bash update-3.0.2.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-3.0.2.sh http://wanos.org/updateinfo/update-3.0.2.tar.gz bash update-3.0.2.sh update
If the device has intranet access then:
wget http://10.1.1.10/dir/update-3.0.2.sh wget http://10.1.1.10/dir/update-3.0.2.tar.gz bash update-3.0.2.sh update
To restore:
bash update-3.0.2.sh restore
Expected result:
bash update-3.0.2.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.