Allied Telesis X610-48TS Switch User Manual


 
How to Configure and Use AMF on Allied Telesis Switches | Page 31
Node recovery
A “Cleannode
The recommended procedure for returning a device to a “clean” state is to remove any pre-
existing boot configuration, including any backup boot configuration, and delete all
configuration files from Flash. If the device you are cleaning has previously had VCStack
enabled, it is also necessary to delete the stacking configuration file.
Forexample:
configure terminal
no boot config-file
no boot config-file backup
exit
delete force *.cfg
delete force .configs/stk.conf
Any user created folders in Flash will have to be removed. Firstly, identify if any user created
folders exist.
cd flash:
dir
...
0 drwx Aug 20 2012 15:01:44 example_dir/
...
A folder is identified as having permissions drwx. Once you have identified them, any user
created folder and its contents should be removed.
rmdir force example_dir
In addition, any external media installed in the device should be physically removed. If you are
unable to remove the external media from the device then make sure any autoboot.txt files
are removed from the external media. This may be achieved with one of the following
commands:
delete force card:autoboot.txt
delete force usb:autoboot.txt
Note:
The procedure above contains the minimum requirements to return a device to a
clean state in order for AMF automatic node recovery to work. However, it should be
noted that any other user files that remain in Flash will be overwritten during the
automatic recovery process. If there are any files stored in the Flash of the
replacement device that need to be retained, these files should be backed up prior to
installing the device into the AMF network.
Manual node recovery
There are certain situations where, for a number of different reasons, automatic recovery
may fail. Automatic recovery has been deliberately designed to be cautious in its approach to
recovering a node and for reasons such as:
The backup stored on the AMF masters not having a “Good” status
The replacement device is of a different type to the node being replaced