[j-nsp] Centralized scripts and copying to redundant routing-engines..

Jared Mauch jared at puck.nether.net
Thu Sep 9 21:55:47 EDT 2010


On Sep 9, 2010, at 9:31 PM, Chris Evans wrote:

> I have a question, hopefully someone has an answer..
> 
> 
> I have setup centralized stored commit scripts, however I'm running into
> issues with devices (EX and MX) that have redundant routing-engines. The
> files have to be on both RE's to successfully commit as I use commit sync.
> How do I get the files on both RE's when using a central server??

Likely some sort of automation w/ jlogin from rancid would help you.

> The documentation says this: "If a platform has dual Routing Engines, you
> need to refresh the commit scripts on both Routing Engines. The commit
> synchronize command does not refresh the commit scripts between Routing
> Engines."


> That is a very vague statement and gives no options on how to do it.. Also
> the backup RE has no connectivity to the network, only the primary does.. So
> how am I supposed to copy the files over?

You can copy files locally between REs either at the CLI or in the shell.

jared at Router-re0> file copy /var/log/messages re1:/tmp/bar 

{master}
jared at Router-re0> file list re1:/tmp/bar 
re1:
--------------------------------------------------------------------------
/tmp/bar

{master}
jared at Router-re0> file list re1:/tmp        
re1:
--------------------------------------------------------------------------

/tmp:
.clnpkg.LCK
.pkg.LCK
.snap/
bar





More information about the juniper-nsp mailing list