Forum Discussion
Rob_Burton_1739
Nimbostratus
Aug 08, 2017can we use iRules to dynamically change the resource pool in a VIP
I wish to utilise my VIPS with switchable resource pools during an infrastructure migration, changing the VIP names is not an option, so what I want to know is how I can configure an iRule to choose ...
iaine
Nacreous
Aug 09, 2017You could use a DataGroup to do this and have all your iRules reference it. You could then make it as simple or complex as you need it, however, simplistically it would look something like
ltm data-group internal /Common/environment
records {
32bit { }
}
type string
}
when HTTP_REQUEST {
if { [match class 64bit equals environment] } {
pool MachinePool_64
} else {
pool MachinePool_32
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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