Znyx Networks bh5700 Switch User Manual


 
the limit of free space available on a default system, so you may need to clear some space
prior to downloading the new OpenArchitect image to the switch.
CAUTION: Do not remove the existing copy of /usr/sbin/gated (as suggested
in Step 5, below) until you have, in fact, determined that an OpenArchitect upgrade
version is available for downloading.
5. One of the easiest ways to create free space is to remove /usr/sbin/gated, as the
application will be replaced during the update procedure. Once you have enough free
space, proceed.
6. From the switch console, ftp the new OpenArchitect (rdr) image from the local system
to your switch.
7. The switch has two flash available: Device 1 and device 2. Use the zflash command to
write the new OpenArchitect image into the first flash device.
IMPORTANT: Make sure that Surviving Partner is not running before using zflash. The
delays incurred while zflash writes the flash can cause the Surviving Partner daemons to
think there is a failure, resulting in link oscillation.
zflash -d 1 <image_file>
The
image
file will be something named similar to the following,
zflash -d 1 rdr6000.zImage.initrd
Upgrading or Adding Files
Follow the procedure below to upgrade or add a new file to the switch. Place the file you are
adding or upgrading into the appropriate location in the file system. Save the file in the overlay
directory area on the application flash by running zsync.
zsync
After running zsync, the file is saved to the flash for future reboots.
Excluding Saving Files to Flash
Specific files or directories can be excluded from saving to flash by zsync by including an entry
in
/etc/exclude
. Likewise, existing entries in
/etc/exclude
such as
/tmp
can be removed
in order to save those files to flash with zsync.
Upgrading the Switch Driver
The switch driver upgrade process is the same as a file upgrade. However, more caution should
be taken since the driver module is likely to be the method by which you are logging into the
system. If the switch driver has a problem, you will need to have a console cable to recover. To
upgrade a switch driver, replace the file /
lib/modules/if_zxe.o
, run zsync and reboot.
Ethernet Switch Blade User's Guide release 3.2.2j page 143