shawn306_84070
Apr 21, 2010Nimbostratus
HELP !!!! With I rule
I have been asked to created a vip that will load balance a pair of biztalk servers. ppreciated.
I created the VIP and everything looked great. It was load balancing very nicely and the http redirect irule I created was working fine.
when HTTP_REQUEST {
if { [HTTP::host] eq "bttst"} {
HTTP::redirect "]"
}
}
Here is where the problems began. When you typed it brought up a login prompt. If you went directly to the the server, i.e https://biztalk-01.abc.com it did what it was supposed which was bring up the ESB Management Console.
So from that point I created a simple irule that would redirect the traffic to just that one server.
when HTTP_REQUEST {
HTTP::header replace Host "biztalk-01.abc.com"
}
This irule worked fine. It redirected the request directly to that server and everything worked fine.
Now I have to add the the other server biztalk-02.abc.com to the irule.
I looked around, downloaded the irule editor. From what I gather it looks like I have to create a datagroup with both servers in the group and then create the irule using the datagroup as a reference.
I found a couple of posts that I thought might be of help to me I just don't totally understand them.
http://devcentral.f5.com/Wiki/defau..._name.html
https://devcentral.f5.com/Default.a...&aft=27386
If anyone out there can give me a hand on this it would be greatly a
Thanks
Shawn