In JunOs not so long ago (9.4 or 9.5 - too lazy to look) appeared dynamic-db .
feature interesting and useful - Primarily for prefix-lists. The idea is that some parts of the configuration specific to bgp (prefix-lists and policy-statements) can be taken to a separate config file, and from the ground there of reference. This greatly reduces the size of the main config, speeds up the commit, rollback history does not clog filters, auto-update. We have a prefix-lists - it is about 90% of the config, commit instead of a couple of minutes was held for about 20 seconds.
However, as it turned out, while there are not going smoothly. :-(
first thing encountered - you can not watch this the most dynamic config, but to go in there and tell the show, which is very inconvenient for scripting, and privilege requires configuration changes when only viewing. Had do op script show-dyn-conf.slax , showing the dynamic config (however, the problem with the privileges it does not solve).
And about a month of using dynamic-db from him without any apparent reason сорвало крышу (MX480, 9.5R2.7). :-(
[edit dynamic]
gul# run show ?
Possible completions:
\zп*\ termination
error: remote side unexpectedly closed connection
Connection to quoll.itsinternet.net closed.
Nov 13 16:32:52 /kernel: BAD_PAGE_FAULT: pid 49853 (mgd), uid 0: pc 0x8109a21 got a read fault at 0xbad006bc, x86 fault flags = 0x4
Nov 13 16:32:52 /kernel: Trapframe Register Dump:
Nov 13 16:32:52 /kernel: eax: baf4bd2e ecx: bad006bc edx: 08315890 ebx: 00000000
Nov 13 16:32:52 /kernel: esp: bfbe5270 ebp: bfbe52c8 esi: 00000000 edi: baf4bdf0
Nov 13 16:32:52 /kernel: eip: 08109a21 eflags: 00010206
Nov 13 16:32:52 /kernel: cs: 0033 ss: 003b ds: bfbd003b es: 831003b
Nov 13 16:32:52 /kernel: fs: 832003b trapno: 0000000c err: 00000004 Nov 13 16:32:52 / kernel: Page table info for PC address 0x8109a21: PDE = 0x2c460067, PTE = 60c31425 Nov 13 16:32:52 / kernel: Dumping 16 bytes starting at PC address 0x8109a21: Nov 13 16:32:52 / kernel: 3a January 1975 1e 84 c0 74 15 8d 41 January 1942 83 ec August 1950
cured deleting file / var / run / db / juniper.dyn.
had to renounce the use of dynamic-db. At least not yet. :-(
0 comments:
Post a Comment