Solved
Forum Discussion
Bobow
Cirrus
Hi Cjunior,
I have another question, did you any advise if i want to grep to identify the particular VS, pool, and node with availability status only "Available" ?
Thanks in advance
cjunior
Feb 13, 2020Nacreous
Are you trying to fit default pool members to output?
If so, add a "detail" statement:
tmsh show ltm virtual detail | grep -P ": (available|unknow)" -B4 | grep -P "(Ltm::|Availability)" |sed -e 's/|//'
To get it from specific virtual server write the name:
tmsh show ltm virtual my_vs_name detail | grep -P ": (available|unknow)" -B4 | grep -P "(Ltm::|Availability)" |sed -e 's/|//'
Regards.