Forum Discussion
Hi
You can do it easly.
- So you have only a single point of entry.
Your virtual server listne in IP (listening service) : 192.168.1.1:443 (HTTPS)
your VS manage 2 sites: site1.domain.com and site2.domain.com.
- you create 2 Arecord with the same IP:
192.168.1.1 site1.domain.com
192.168.1.1 site2.domain.com
- Now you have to create 2 Pool:
Pool1: for site 1
- server1
- server2
- server3
Pool2: for site 2
- server4
- server5
- server6
- You have to create a LTM Policy in order to route request depending to hostname:
site1.domain.com --> pool1
site2.domain.com --> pool2
- And you can set this irule on your VS:
This Irule allow you to detect the number of remaining servers up
when CLIENT_ACCEPTED {
Check if the VS default pool has no active members
if {[active_members [LB::server pool]] == 1}{
# redirect to a sorry page
pool sorry_pool
}
}
I hope I have correctly understood your request. it's the notion of a site that I have not really understood, but if you give me more details I could sketch out my explanation.
regards