From Wanos Wiki
Jump to: navigation, search
(Update process from version 2.6.2 to 3.0.4)
(Update process from version 2.6.2 to 3.0.4)
Line 5: Line 5:
 
The update process documentation has been migrated to
 
The update process documentation has been migrated to
 
[http://wanos.co/docs/docs/knowledgebase/additionalconfigoptions/update-wanos/ Update Process]
 
[http://wanos.co/docs/docs/knowledgebase/additionalconfigoptions/update-wanos/ Update Process]
 
===Requirements===
 
v2.6.2 - v3.0.3
 
 
===Notes===
 
*Update versions are not backwards compatible. <br />
 
*The instructions written here only works when updating '''from version 2.6.2 to 3.0.4'''.
 
*'''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 retain basic settings e.g. IP, Gateway, Datastore, SSH, Hostname, Deployment mode, Virt_lan0, MAC wan0 & lan0 mappings. <br />
 
*Traffic policies, MultiSite, PortObjects and Groupobjects are migrated. <br />
 
*Some settings may be set to defaults e.g. dedup levels, compression levels. <br />
 
*Most stats will reset. <br />
 
*It is recommended to add a default bypass rule during the update. <br />
 
*Update is '''not backward compatible''', hence please update all devices. <br />
 
*It is strongly recommended to run an upgrade in a test lab environment before doing it on production machines. <br />
 
 
===How to===
 
If the device has access to the internet: <br />
 
<pre>
 
wget http://wanos.org/updateinfo/update-3.0.4.sh
 
bash update-3.0.4.sh update
 
</pre>
 
 
If the device does not have access to the internet, manually download and then scp/winscp the following two files to the device:
 
<pre>
 
http://wanos.org/updateinfo/update-3.0.4.sh
 
http://wanos.org/updateinfo/update-3.0.4.tar.gz
 
bash update-3.0.4.sh update
 
</pre>
 
 
If the device has intranet access then:
 
<pre>
 
wget http://10.1.1.10/dir/update-3.0.4.sh
 
wget http://10.1.1.10/dir/update-3.0.4.tar.gz
 
bash update-3.0.4.sh update
 
</pre>
 
 
To restore: <br />
 
<pre>
 
bash update-3.0.4.sh restore
 
</pre>
 
 
Expected result: <br />
 
'''''bash update-3.0.2.sh update''''' <br />
 
'''''Ready to start update. System will reboot.''''' <br />
 
'''''Ctrl-C to exit. Enter to continue.''''' <br />
 
'''''Starting update sequence.''''' <br />
 
'''''Creating restore.'' <br />
 
'''''tar: removing leading '../' from member names''''' <br />
 
'''''Extracting update package.''''' <br />
 
'''''Preparing update files.''''' <br />
 
'''''Clearing the datastore.''''' <br />
 
'''''Installing update.''''' <br />
 
'''''Update complete.''''' <br />
 

Revision as of 20:10, 13 September 2016

Update process from version 2.6.2 to 3.0.4

Document Migrated

The update process documentation has been migrated to Update Process