After I sent this I just remembered how to copy files between EX devices.. Use 'fpc#" instead of "re#"..
So I'm going to come out and say this as I'm irritated.. Scripts are used to automate tasks, I can configure a centralized server for the active RE, yet I have to manually copy it to the backup RE.. What a sham. 10 Devices, this would be easy to manage, but thousands?? Come on! I've sent my SE a request to research how Juniper recommends this, if there is no elegant solution I'm putting in an ER to just get something like rsync setup to replicate the directories. On Thu, Sep 9, 2010 at 10:27 PM, Kevin Oberman <[email protected]> wrote: > > Date: Thu, 9 Sep 2010 21:31:55 -0400 > > From: Chris Evans <[email protected]> > > Sender: [email protected] > > > > 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?? > > > > > > 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? > > scp the scripts to the master RE and then tell that RE to copy them to > the backup RE. > > scp -i private-key-file script u...@router:/path > ssh -xai private-key-file u...@router copy /path/script reX:/path > > Note! You will need to check on the current master to know what to > replace the 'X' with. > ssh -xai private-key-file u...@router show chassis routing-engine 0 | > grep "Current state" > -- > R. Kevin Oberman, Network Engineer > Energy Sciences Network (ESnet) > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > E-mail: [email protected] Phone: +1 510 486-8634 > Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 > _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

