Prior to Cisco IOS XR Software Release 7.1.2, XR dual RP devices did not support file mirroring from active RP to standby RP. Administrators had to manually perform the task or use EEM scripts to sync files across active RP and standby RP. Starting with Cisco IOS XR Software Release 7.1.2, file mirroring feature enables the router to copy files or directories automatically from /harddisk:/mirror location in active RP to /harddisk:/mirror location in standby RP or RSP without user intervention or EEM scripts.
mirror enable (Mandatory in 712, for the upcoming releases(r72x,r73x) its enabled by default) The /harddisk:/mirror directory is created by default, but file mirroring functionality is only enabled by executing the mirror enable command from configuration terminal. Status of the mirrored files can be viewed with show mirror status command.
The primary process is mirror_server, which is booted once the 'mirror enable' config is set. This process uses rsync via ssh to sync the active to standby nodes. Exclusive mirror_server process runs on RP spawns thread per mirror directory (currently only support a single mirror directory). Whenever a filesystem modification is detected by the watches, mirror_server triggers transfer the files across to standby RP.
Mirroring is also triggered whenever the standby node changes state to UP (this will handle standby reboots, as well as insertions). When there are more files added into the mirror directory there will be a slight increase in cpu on one core during the copy.
Mirroring always unidirectional from Active RP--> Standby RP
Configuration & Verification
File mirroring has to be enabled explicitly on the router. It is not enabled by default.
RP/0/RSP0/CPU0:router#show run mirror
Following is an example of copying running configuration to harddisk:/mirror location:
Hello everyone,I have a ASR 920 (ASR-920-12SZ-IM) currently on loan from the Amsterdam Demo Depot and I would need some help in configuring ethernet virtual connections. I have no experience in configuring these services. I have attached a drawing to...
Hi, Guys, There are two SRMS servers in the network, I wonder how SRMS Clients select the one of SRMS server as the active one, what's the election factors and how could i specify the one of SRMS server as the active server, the another one as redund...
On ASR-9904 Chassis with RSP5-SE. I was under the impression that the RSP - Chassis combo could support 1.8T per line card. However, when a A9K-8X100GE-TR is inserted, I get RATE LIMITED message. %FABRIC-FIA-1-RATE_LIMITER_ON : Set|fialc[...
Hey folks, I am trying to configure an intra-domain PCE/PCC setup with headend initiated ODN policy. It looks like PCEP is up and report messages gets delivered to the PCE, however it looks like the update messages aren't there and the ERO from PCC to PCE...