Forum Discussion
Samurai
Oct 14, 2010Nimbostratus
Pool members hostname
Hi,
Does anyone know how to get the hostnames of the members in a pool instead of IP addresses?
I run this command to get the members list
b pool show | grep +- | awk {'print $3 " " $4'}
As far as I know " b node show" does show the member with IP which means hostname is getting resolved to IP address.
The F5 is 8900 with BigIP 10.2.0
Thanks in advance
- hooleylistCirrostratusAre the IP's resolvable to host names via the hosts file or DNS? If so, you could set a DB key to have LTM resolve them:
- Chris_MillerAltostratusPosted By hoolio on 10/14/2010 10:20 AM
- SamuraiNimbostratusThanks Aaron for your reply.
bigpipe cli hostname lookup enable" command would help besides setting system preference using GUI. I see the lookup is disabled on my F5. The consequences of enabling this lookup is given in the doc. However for day today management, I think this lookup is helpful. Otherwise one needs to resolve it externally. - SamuraiNimbostratusAn alternate option I learned is to use screen names for the nodes in the conf file. With this I can use the hostname instead of IP address with the commands.
- hooleylistCirrostratusI didn't know about the cli hostname lookup option. Thanks for pointing that out.
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