beautypg.com

Atmf recover – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1614

background image

AMF Commands

Software Reference for x310 Series Switches

60.26

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

atmf recover

This command is used to manually initiate the recovery (or replication) of an AMF node,
usually when a node is being replaced. The recovery/replication process involves loading
the configuration file for a node that is either about to be replaced or has experienced
some problem. The configuration file of the device being replaced is selected by the
nodename parameter, and the master node holding the config file is specified by the
parameter .

If the parameter is not entered then the node will attempt to use one that
has been previously configured. If the replacement node has no previous configuration
(and has no previously used nodename), then the recovery will fail.

If the parameter is not specified then the device will poll all
known AMF masters and execute an election process (based on the last successful backup
and its timestamp) to determine which master node to use. If no valid backup master is
found, then this command will fail.

Syntax

atmf recover [ ]

Mode

Privileged Exec

Usage

No error checking occurs when this command is run, and regardless of the last backup
status, the recovering node will attempt to load its configuration from the master node
specified by the master-nodename parameter.

Note that if the node has previously been configured, we recommend that you suspend
any AMF backup before running this command. This is to prevent corruption of the
backup files on the AMF master as it attempts to both backup and recover the node at the
same time.

Example

To recover the AMF node named Node_10 from the AMF master node named Master_2,
use the following command:

Related Commands

atmf backup stop
show atmf backup
show atmf

Parameter

Description

atmf

The Allied Telesis Management Framework (AMF)

recover

Initiates the manual node recovery process.

<nodename>

The name of the device whose configuration is to be
recovered or replicated.

<master-nodename>

The name of the master device that holds the required
configuration information.

Note that although you can omit both the nodename and
the master nodename; you can only omit the master
nodename if you also omit the nodename.

Master_2#

atmf recover Node_10 Master_2