Upgrading or adding files, Excluding saving files to flash, Upgrading the switch driver – Znyx Networks bh5700 User Manual

Page 89

Advertising
background image

Download the OpenArchitect image to a local system.

The OpenArchitect image is very close to the limit of free space available on a default system so
you may need to clear some space prior to downloading the OpenArchitect image to the switch.
Check for free space with the df command.

One of the easiest ways to create free space is to remove /usr/sbin/gated. The application
will be replaced during the update procedure. Once you have enough free space, proceed.

From the switch console, ftp the new OpenArchitect (rdr) image from the local system to
your switch.

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.

NOTE: 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 rdr7000.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 89

Advertising