Forum Discussion
Gazzu
Nimbostratus
Jun 02, 2017How to configure LTM Virtual Servers with same IP address , port but different ports (8000 to 8007) on pool members (containing three servers).
How to configure LTM Virtual Servers with same IP address and same port i.e. http but different ports (8000 to 8007) on pool members (containing three servers).
F5 VIP IP
10.10.10.1:80abc-p1.qm....
Faruk_AYDIN
Altostratus
Jun 02, 2017Hi Guy,
Firstly create your 8 pools, give them names like those:pool pool_abc-p1.qm.com {
monitor all tcp
members {
10.10.10.10:8007 {}
10.10.10.11:8007 {}
10.10.10.12:8007 {}
}
}
pool pool_abc-p1.qm.com {
monitor all tcp
members {
10.10.10.10:8006 {}
10.10.10.11:8006 {}
10.10.10.12:8006 {}
}
}
pool pool_abc-deve.qm.com {
monitor all tcp
members {
10.10.10.10:8005 {}
10.10.10.11:8005 {}
10.10.10.12:8005 {}
}
}
pool pool_abc-syst.qm.com {
monitor all tcp
members {
10.10.10.10:8004 {}
10.10.10.11:8004 {}
10.10.10.12:8004 {}
}
}
pool pool_abc-intg.qm.com {
monitor all tcp
members {
10.10.10.10:8003 {}
10.10.10.11:8003 {}
10.10.10.12:8003 {}
}
}
pool pool_abc-acpt.qm.com {
monitor all tcp
members {
10.10.10.10:8002 {}
10.10.10.11:8002 {}
10.10.10.12:8002 {}
}
}
pool pool_abc-emer.qm.com {
monitor all tcp
members {
10.10.10.10:8001 {}
10.10.10.11:8001 {}
10.10.10.12:8001 {}
}
}
pool pool_abc.qm.com {
monitor all tcp
members {
10.10.10.10:8000 {}
10.10.10.11:8000 {}
10.10.10.12:8000 {}
}
}
then add this simple iRule to your VS:
when HTTP_REQUEST {
set pool_name "pool_[HTTP::host]"
pool $pool_name
}
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects