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. | + | ==Update process from version 2.6.2 to 3.0.3== |
===Requirements=== | ===Requirements=== | ||
− | + | v2.6.2 or later | |
===Notes=== | ===Notes=== | ||
*Update versions are not backwards compatible. <br /> | *Update versions are not backwards compatible. <br /> | ||
− | *The instructions written here only works when updating '''from version 2.6.2 to 3.0. | + | *The instructions written here only works when updating '''from version 2.6.2 to 3.0.3'''. |
*'''It is recommended to create a snapshot''' vm/img if it's in production in case things go wrong. <br /> | *'''It is recommended to create a snapshot''' vm/img if it's in production in case things go wrong. <br /> | ||
*Update will create a restore point, but don't count on it. <br /> | *Update will create a restore point, but don't count on it. <br /> | ||
Line 20: | Line 20: | ||
If the device has access to the internet: <br /> | If the device has access to the internet: <br /> | ||
<pre> | <pre> | ||
− | wget http://wanos.org/updateinfo/update-3.0. | + | wget http://wanos.org/updateinfo/update-3.0.3.sh |
− | bash update-3.0. | + | bash update-3.0.3.sh update |
</pre> | </pre> | ||
If the device does not have access to the internet, manually download and then scp/winscp the following two files to the device: | If the device does not have access to the internet, manually download and then scp/winscp the following two files to the device: | ||
<pre> | <pre> | ||
− | http://wanos.org/updateinfo/update-3.0. | + | http://wanos.org/updateinfo/update-3.0.3.sh |
− | http://wanos.org/updateinfo/update-3.0. | + | http://wanos.org/updateinfo/update-3.0.3.tar.gz |
− | bash update-3.0. | + | bash update-3.0.3.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-3.0. | + | wget http://10.1.1.10/dir/update-3.0.3.sh |
− | wget http://10.1.1.10/dir/update-3.0. | + | wget http://10.1.1.10/dir/update-3.0.3.tar.gz |
− | bash update-3.0. | + | bash update-3.0.3.sh update |
</pre> | </pre> | ||
To restore: <br /> | To restore: <br /> | ||
<pre> | <pre> | ||
− | bash update-3.0. | + | bash update-3.0.3.sh restore |
</pre> | </pre> | ||
Revision as of 12:18, 19 April 2016
Update process from version 2.6.2 to 3.0.3
Requirements
v2.6.2 or later
Notes
- Update versions are not backwards compatible.
- The instructions written here only works when updating from version 2.6.2 to 3.0.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-3.0.3.sh bash update-3.0.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-3.0.3.sh http://wanos.org/updateinfo/update-3.0.3.tar.gz bash update-3.0.3.sh update
If the device has intranet access then:
wget http://10.1.1.10/dir/update-3.0.3.sh wget http://10.1.1.10/dir/update-3.0.3.tar.gz bash update-3.0.3.sh update
To restore:
bash update-3.0.3.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.