Re: AFR replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I have the following lines in client AFR translator in a test setup:
> >
> > option replicate /var/appl/*:2
> > option replicate /var/appl/*/logs/*:1
> even if I make it like this:
> option replicate /var/appl/*:2
> option replicate /var/appl/2.7/logs/*:1

Hi Gerry

Try switching the rules around, I believe the first match will be the
one it uses. In this case /var/appl/* matches
your /var/appl/2.7/logs/some.log so it applies the *:2 rule to it.

Switching them around will enable the *:1 rule to match your file before
it hits the *:2 rule

Also, i am not 100% certain, but i believe all the rules need to be on
the one line, comma sepparated...... i.e.....

option replicate /var/appl/2.7/logs/*:1,/var/appl/*:2

Although i may be incorrect on that one.


Hope this helps
Matt.






[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux