Skip to content

Commit

Permalink
use weighted
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnFLewis committed Dec 5, 2014
1 parent 518c962 commit b83d1ca
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 18 deletions.
13 changes: 7 additions & 6 deletions config
Expand Up @@ -2,17 +2,18 @@ options => {
listen => any
}
plugins => {
multifo => {
weighted => {
multi = false
up_thresh => 0.3
service_types => up,
service_types = up
www => {
addrs_v4 => {
prod8 => 178.62.7.227,
prod9 => 178.62.116.171,
prod8 = [ 178.62.7.227, 1 ]
prod9 = [ 178.62.116.171, 1 ]
}
addrs_v6 => {
prod8 => 2a03:b0c0:1:d0::b7:c001,
prod9 => 2a03:b0c0:1:d0::b7:b001,
prod8 = [ 2a03:b0c0:1:d0::b7:c001, 1 ]
prod9 = [ 2a03:b0c0:1:d0::b7:b001, 1 ]
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions zones/chemtalk.org
Expand Up @@ -10,8 +10,8 @@ $ORIGIN chemtalk.org.
)

; Wildcard services
@ DYNA multifo!www
* DYNA multifo!www
@ DYNA weighted!www
* DYNA weighted!www

; Name servers
@ NS ns1.orain.org.
Expand Down
8 changes: 4 additions & 4 deletions zones/orain.org
Expand Up @@ -10,8 +10,8 @@ $ORIGIN orain.org.
)

; Wildcard services
@ DYNA multifo!www
* DYNA multifo!www
@ DYNA weighted!www
* DYNA weighted!www

; Name servers
@ NS ns1.orain.org.
Expand Down Expand Up @@ -49,11 +49,11 @@ prod10 A 178.62.5.12

; Services
apt CNAME prod6
lb DYNA multifo!www
lb DYNA weighted!www
lists A 178.62.57.223
AAAA 2a03:b0c0:1:d0::13d:a001
mail A 178.62.57.223
AAAA 2a03:b0c0:1:d0::13d:a001
ganglia CNAME prod6
nagios CNAME prod6
static DYNA multifo!www
static DYNA weighted!www
4 changes: 2 additions & 2 deletions zones/spiral.wiki
Expand Up @@ -10,8 +10,8 @@ $ORIGIN spiral.wiki.
)

; Wildcard services
@ DYNA multifo!www
* DYNA multifo!www
@ DYNA weighted!www
* DYNA weighted!www
; Name servers
@ NS ns1.orain.org.
Expand Down
4 changes: 2 additions & 2 deletions zones/testwiki.org
Expand Up @@ -10,8 +10,8 @@ $ORIGIN testwiki.org.
)

; Wildcard services
@ DYNA multifo!www
* DYNA multifo!www
@ DYNA weighted!www
* DYNA weighted!www

; Name servers
@ NS ns1.orain.org.
Expand Down
4 changes: 2 additions & 2 deletions zones/wikiconstitucio.org
Expand Up @@ -10,8 +10,8 @@ $ORIGIN wikiconstitucio.org.
)

; Wildcard services
@ DYNA multifo!www
* DYNA multifo!www
@ DYNA weighted!www
* DYNA weighted!www

; Name servers
@ NS ns1.orain.org.
Expand Down

0 comments on commit b83d1ca

Please sign in to comment.