Forum Discussion
havalicosbyshow
Oct 05, 2011Nimbostratus
Getting pool info listing member host:port
Hi,
I am new to F5 and to this forum so I am not sure if this is right place to post this question.
What I am trying to do is to query F5 for a node and return me the pool that node belongs to. Since I wasn't able to find anything that returns this information, I decided to use
"tmsh show running-config ltm pool" command
This command returns me the information about the pools and the nodes in each pool. However, members are listed with their IP address and protocol (instead of port number). Is there a way to have the members being returned in 1.2.3.4:80 format instead of 1.2.3.4:http?
Thanks for your help.
- nitassEmployeecan u check Bigpipe.DisplayServiceNames db key?
[root@tulip:Active] config b db Bigpipe.DisplayServiceNames Bigpipe.DisplayServiceNames = true [root@tulip:Active] config b pool foo list pool foo { members 10.10.70.110:http } [root@tulip:Active] config b db Bigpipe.DisplayServiceNames false [root@tulip:Active] config b pool foo list pool foo { members 10.10.70.110:80 }
- havalicosbyshowNimbostratusThanks. This works.
- Michael_YatesNimbostratusHi
- nitassEmployeeThis seems to be a persistent change, though. Do you know if there is something similar that only affects the current session ?bigpipe.displayservicenames db key will affect when displaying only (the config file will still use service name). the command Michael mentioned will make config file use service number instead.
root@sunflower(Active)(tmos) list sys db bigpipe.displayservicenames sys db bigpipe.displayservicenames { value "true" } root@sunflower(Active)(tmos) modify sys db bigpipe.displayservicenames value false root@sunflower(Active)(tmos) list sys db bigpipe.displayservicenames sys db bigpipe.displayservicenames { value "false" }
- fa141_28766NimbostratusOnce you make the change in tmsh do you need to restart anything. I did this change through tmsh and it didn't change the pool configuration to show the ports instead of the service name.
- fa141_28766NimbostratusOnce you make the change in tmsh do you need to restart anything. I did this change through tmsh and it didn't change the pool configuration to show the ports instead of the service name.
- fa141_28766NimbostratusOnce you make the change in tmsh do you need to restart anything. I did this change through tmsh and it didn't change the pool configuration to show the ports instead of the service name.
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