Home | History | Annotate | Download | only in ldap

Lines Matching refs:failover

14 # FailOver notes:
15 # Failover is disabled by default, since it may need manually intervention.
16 # You can try the '--use=failover' option to see what happens :-)
18 # If enabled, the failover pool references will be written to LDIF output.
19 # The failover configs itself will be added to the dhcpServer statements
21 # it may be usefull to have multiple service containers in failover mode).
37 my @use = (); # extended flags (failover)
192 if(grep(/FaIlOvEr/i, @use))
194 foreach my $fo_peer (keys %failover)
196 next if(scalar(@{$failover{$fo_peer}}) <= 1);
197 print "dhcpStatements: failover peer $fo_peer { ",
198 join('; ', @{$failover{$fo_peer}}), "; }\n";
212 if(grep(/FaIlOvEr/i, @use) and ($second ne ''))
569 elsif($token eq 'failover')
580 # failover config block found:
581 # e.g. 'failover peer "some-name" {'
583 if(not grep(/FaIlOvEr/i, @use))
585 print STDERR "Warning: Failover config 'peer $peername' found!\n";
586 print STDERR " Skipping it, since failover disabled!\n";
587 print STDERR " You may try out --use=failover option.\n";
596 $failover{$peername} = [@statements];
601 # pool reference to failover config is fine
602 # e.g. 'failover peer "some-name";'
604 if(not grep(/FaIlOvEr/i, @use))
606 print STDERR "Warning: Failover reference '$str' found!\n";
607 print STDERR " Skipping it, since failover disabled!\n";
608 print STDERR " You may try out --use=failover option.\n";
709 if(grep(/FaIlOvEr/i, @use) and $second ne '');
722 %failover = ();