Rich_T_187288
Apr 01, 2015Nimbostratus
Newbie question about LTM load balancing
Hi,
We currently have pools and nodes configured as follows, where there is one primary server and one secondary server.
The resulting load balancing algorithm is only really achieving a failover, where the primary server is always used, unless that has a problem, in which case the secondary server is used instead:
ltm node /Common/primary {
address PR.IM.IP.186
description "Server name is primary server"
ratio 65535
ltm node /Common/secondary {
address SE.CO.IP.186
description "Server name is secondary server"
ltm pool /Common/service_Pool {
load-balancing-mode ratio-node
members {
/Common/primary:80 {
address PR.IM.IP.186
priority-group 1
}
/Common/secondary:80 {
address SE.CO.IP.186
priority-group 2
}
}
min-active-members 1
monitor /Common/http
Please could someone advise me on how to have a number of primary servers and a number of secondary secondary servers.
In F5 config language, I am looking for the below, but don't know what to set the ratio & priority-group numbers to and also if I need to have a different load-balancing-mode and min-active-members settings:
ltm node /Common/primary1 {
address PR.IM.IP.186
description "Server name is primary1 server"
ratio ????
ltm node /Common/primary2 {
address PR.IM.IP.187
description "Server name is primary2 server"
ratio ????
ltm node /Common/primary3 {
address PR.IM.IP.188
description "Server name is primary3 server"
ratio ????
ltm node /Common/secondary1 {
address SE.CO.IP.186
description "Server name is secondary1 server"
ratio ????
ltm node /Common/secondary2 {
address SE.CO.IP.187
description "Server name is secondary2 server"
ratio ????
ltm node /Common/secondary3 {
address SE.CO.IP.188
description "Server name is secondary3 server"
ratio ????
ltm pool /Common/service_Pool {
load-balancing-mode ratio-node
members {
/Common/primary1:80 {
address PR.IM.IP.186
priority-group ?
}
/Common/primary2:80 {
address PR.IM.IP.187
priority-group ?
}
/Common/primary3:80 {
address PR.IM.IP.188
priority-group ?
}
/Common/secondary1:80 {
address SE.CO.IP.186
priority-group ?
}
/Common/secondary2:80 {
address SE.CO.IP.187
priority-group ?
}
/Common/secondary3:80 {
address SE.CO.IP.188
priority-group ?
}
}
min-active-members 1
monitor /Common/http
Thanks in advance.