Junos Automation (Scripting)
Junos Automation (Scripting)

commit script to synchronize configuration?

‎09-30-2011 07:06 AM

We are looking at deploying two SRX side-by-side, with a T1 external each and VRRP internal. Really because clustering this would not work so well in the absence of ECMP. If we are too cautious and someone has this deployed as a cluster, I'd love to hear about it over in the SRX forum.

 

We'd like to synchronize certain stanzas of the configuration - security and routing come to mind - between the two using a commit script. Before we go and try to come up with our own version, has someone done this already?

 

2 REPLIES 2
Junos Automation (Scripting)
Solution
Accepted by topic author tbehrens
‎08-26-2015 01:27 AM

Re: commit script to synchronize configuration?

‎09-30-2011 07:14 AM

I haven't seen a commit script but the operational script "share-data" (in the library) uses groups to share configuration data across boxes. It works very well. I have a very brief document I put together for one of my customers on how it is used if you wanted it.

Kevin Barker
JNCIP-SEC
JNCIS-ENT, FWV, SSL, WLAN
JNCIA-ER, EX, IDP, UAC, WX
Juniper Networks Certified Instructor
Juniper Networks Ambassador

Juniper Elite Reseller
J-Partner Service Specialist - Implementation

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Junos Automation (Scripting)

Re: commit script to synchronize configuration?

‎09-30-2011 09:47 AM

Thanks, that'll work well. Yes, I'd love that document! I'll send you a PM with my contact details