connecting single virtual server to several pools

In a senario,I have one virtual server that wants to connect with three server pools, I want to add web server addresses to single virtual server, how can I set the addresses for that? thanks to answer me

This requires you create a datagroup tying a URL (in lower case) to the pool name you want the URL to use. Example:

www.example.com := www.example.com_pool

You also should have a default pool for cases where the URL does not match your whitelist. If you prefer you could modify the iRule to reply with a 404 or something instead of using the default pool as a fallback.

when HTTP_REQUEST {
  set hostpool [class match -value [string tolower [HTTP::host]] eq url_whitelist]
  if { $hostpool ne "" } {
    pool $hostpool
  }
}

If i understand your question correctly, You want to use muliple pools in the single VIP? Are you trying to seperate the traffic to the pools based on URI?

-Jinshu