Creating iRule for Redirection:
- Log in to the Configuration utility.
- Click Local Traffic.
- Click iRules—>iRule List
- Click Create…
- Type the name of the iRule
- Put the exact following content in the Definition dialog box:
- Click Finished.
when LB_SELECTED {
log local0. "[IP::client_addr] has connected to
[LB::server]"
}
Associate iRule to the virtual server
- Log in to the Configuration utility.
- Click Local Traffic.
- Click Virtual Servers.
- Click the virtual server you want to associate the iRule
- Click Resources.
- In the iRules section, click Manage.
- In the Resource Management section, move the appropriate iRule to Enabled
- Click Finished.
No comments:
Post a Comment