03-Oct-2022 21:14
Hi All,
Wish to check is there any specific command in F5 ltm to fetch all inactive vip details which all associated pool members are in down state. Able to see disabled vips but need to fetch all down vips. Currently doing it manually (V 14.1.5.1).
thanks!
04-Oct-2022 00:50
Hi, the Network Map utility allows you to filter LTM object by status - including offline, disabled, ..
If you're looking for something specific in the CLI, check this thread
04-Oct-2022 16:15
Hello Saravananpn,
Besides the network map article, you can grep for both the virtual server name and the "offline" state on the TMSH.
here is the command, after entering the TMSH mode:
#show ltm virtual | grep "Virtual Server" "offline"
The output looks like the below:
Ltm::Virtual Server: test
Availability : offline
Ltm::Virtual Server: test2
Availability : offline
Ltm::Virtual Server: test3
Availability : offline
You can also add to the output any entry you would like, for example if you need to know the reason, you can run the below command and the out will be as follows:
#show ltm virtual | grep "Virtual Server" "offline" "Reason"
Output:
Ltm::Virtual Server: test
Availability : offline
Reason : The children pool member(s) are down
Ltm::Virtual Server: test2
Availability : offline
Reason : The children pool member(s) are down
Ltm::Virtual Server: test3
Availability : offline
Reason : The children pool member(s) are down
I hope this is what you are looking for.
Thanks,
Mohamed Salah
04-Oct-2022 16:16
Just for your info, "test" and "test2" and test3" are the virtual servers name in my lab.
Thanks,
04-Oct-2022 21:52
This command list down all type of vip status but can helpful for my requirement. Thanks!
05-Oct-2022 14:43
Hello @Nandhi,
You can use this script to check the status of your pools
https://github.com/DariuSGB/F5_Bash/blob/master/Check_Pool_Status.sh
You can also use the same idea to gather the status of your VS.