Forum Discussion
Andy_Herrman_22
Nimbostratus
Apr 23, 2010CLI command to enable/disable pool member
I'm trying to write a shell script to automate some of the configuration needed for a deployment that's coming up. One of the changes I need to be able to make is to disable pool members.
T...
nitass
Employee
Mar 17, 2013e.g.
bigpipe
[root@ve10:Active] config b pool my_pool list
pool my_pool {
members {
10.10.10.10:20 {}
10.10.10.11:20 {}
10.10.10.12:20 {}
}
}
[root@ve10:Active] config b pool my_pool member 10.10.10.10:20 delete
[root@ve10:Active] config b pool my_pool list
pool my_pool {
members {
10.10.10.11:20 {}
10.10.10.12:20 {}
}
}
tmsh
root@ve10(Active)(tmos) list ltm pool my_pool
ltm pool my_pool {
members {
10.10.10.10:ftp-data { }
10.10.10.11:ftp-data { }
10.10.10.12:ftp-data { }
}
}
root@ve10(Active)(tmos) modify ltm pool my_pool members delete { 10.10.10.10:20 }
root@ve10(Active)(tmos) list ltm pool my_pool
ltm pool my_pool {
members {
10.10.10.11:ftp-data { }
10.10.10.12:ftp-data { }
}
}
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
