Changes between Version 9 and Version 10 of Internal/OpenFlow/Firmware


Ignore:
Timestamp:
Aug 5, 2011, 7:08:44 PM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/Firmware

    v9 v10  
    104104
    105105== Upgrading to 11.1.C.Ae == #Ae
    106 This is the production version of the !OpenFlow capable firmware for the IP8800. Unlike the experimental version, once you upgrade you don't need the SD card.
     106This is the production version of the !OpenFlow capable firmware for the IP8800. Unlike the experimental version, once you upgrade you don't need the SD card. Before beginning, make sure the switch is booted off of the SD card with the experimental !OpenFlow firmware (ver. 11.1.C) and has sdmem0a mounted at /mnt:
     107{{{
     108sw-sb-02> /sbin/mount
     109/dev/md0a on / type ffs (local)
     110...
     111/dev/sdmem0a on /mnt type msdos (synchronous, local)
     112}}} 
    107113=== 1. Firmware upgrade ===
    108 The firmware should have an extension of '.gz'. The easiest way to upgrade is to copy the firmware onto an SD card with a bootable file (e.g. something with extension '.img'^2^) along with the proper license; The switch will boot using the image file stored on the card, and will keep the SD card mounted and accessible under /mnt.
    109 
    110 Now run `ppupgrade` as admin, specifying the full path to the new firmware:
    111 {{{
    112 ppupgrade /mnt/nec.gz
    113 }}}
    114 And let the switch do the work. The whole process should take a minute or two. The switch will reboot unless given the `no-reload` flag with `ppupgrade`. The bootloader will search for .img files to load to memory upon startup. If you want the switch to boot into the new firmware when it reboots after the upgrade, you can either:
     114The firmware should have an extension of '.gz'. The easiest way to upgrade is to run `ppupdate` after copying the firmware onto the SD card using tftp:
     115{{{
     116sw-sb-02# tftp 10.50.0.42
     117tftp> get nec.gz /mnt/nec.gz
     118getting from 10.50.0.42:nec.gz to /mnt/nec.gz [octet]
     119Received 20973752 bytes in 100.7 seconds [1666237 bits/sec]
     120tftp> quit
     121}}}
     122This will take a good 1.5 minutes. After this step, /mnt should contain nec.gz:
     123{{{
     124sw-sb-02# ls -al
     125total 45153
     126drwxrwxrwx   1 root  wheel     16384 Jan  1  1980 .
     127drwxr-xr-x  26 root  wheel       512 Aug  5 18:19 ..
     128-rwxrwxrwx   1 root  wheel  25214752 Jun  9  2010 k.img
     129-rwxrwxrwx   1 root  wheel        66 Jul  7  2010 license.dat
     130-rwxrwxrwx   1 root  wheel  20973752 Aug  5 18:30 nec.gz
     131}}}
     132Now run `ppupdate` as admin, specifying the full path to the new firmware:
     133{{{
     134sw-sb-02# ppupdate /mnt/nec.gz
     135
     136Software update start
     137
     138Broadcast Message from operator@sw-sb-02
     139        (??) at 18:31 UTC...
     140
     141***********************************************
     142** UPDATE IS STARTED.                        **
     143***********************************************
     144
     145Current version is 11.1.C
     146New version is 11.1.C.Ae
     147Automatic reboot process will be run after installation process.
     148Do you wish to continue? (y/n)
     149}}}
     150And let the switch do the work. The whole process should take a minute or two, showing you this once complete:
     151{{{
     152100% |***********************************************************************************| 20482 KB    1.23 MB/s    00:00 ETA
     153
     154Update done.
     155
     156Broadcast Message from operator@sw-sb-02
     157        (??) at 18:32 UTC...
     158
     159***********************************************
     160** UPDATE IS FINISHED SUCCESSFULLY.          **
     161***********************************************
     162
     163
     164}}}
     165The switch will reboot unless given the `no-reload` flag with `ppupgrade`. The bootloader will search for .img files to load to memory upon startup. If you want the switch to boot into the new firmware when it reboots after the upgrade, you can either:
    115166
    116167 1. Issue `ppupdate` with the `no-reload` command. Run `reload stop` to halt the OS, and restart the switch after you (safely) remove the card ^1^.