Znyx Networks bh5700 Manuale Utente

Pagina di 359
Saving Changes
Any modifications made to the scripts for your particular configuration must be properly saved or 
your changes are lost when you reboot. The file system for the switch only exists in memory. A 
rewritable overlay is contained within the upper four megabytes of the first application flash.
Modifying Files and Updating the Switch
Any file in OpenArchitect can be added, deleted or modified, with the exception of /sbin/init, 
/usr/sbin/zmnt, /lib/modules/zfm_c.o, and the /tmp directory. Files are saved across a 
system reboot by running the script zsync.
A directory /.zsync contains database files used by zsync for managing the file system 
overlaying process. The user should not modify the files in this directory or unpredictable results 
may occur.
Recovering from a System Failure
If the switch does not function after you initially change or reconfigure the image, you have 
several options for recovering from an error.  First, try to telnet into the switch.  If you are 
successful, remember to run zsync after fixing your problem.
If you cannot telnet, attach a console cable to the switch. Bring down the system and properly 
attach the console cable, see Chapter 2, Connecting to the Console Port .
System Boots with a Console Cable
After attaching the system console cable, if the system boots, fix the problem that does not allow 
you to telnet to the box, run zsync, and reboot.  The problem is likely to be in the configuration 
files contained in 
/etc/rcZ.d 
 In order to telnet into the box, there must be a configured interface 
with a proper IP address.  For example, zhp0 is configured with the IP address 10.0.0.42 in the 
factory default configuration.
Ethernet Switch Blade User's Guide
release  3.2.2j
page 140
Figure 9.3: Init Script 
Flow
/etc/init.d/rcS
/etc/rcZ.d/rc
S*  S*  S*