Forum Discussion

RSpangler_17032's avatar
RSpangler_17032
Icon for Nimbostratus rankNimbostratus
Sep 19, 2014

iRule association

I am looking for a way to find all virtual server that have a certain iRule associated to it.

 

For example I have an iRule for maintenance that displays as splash screen when the servers are down. I updated that rule with information I received on another thread. Unknowing to me this iRule was already placed on a virtual server resources and the change caused the VS to fail.

 

What I am looking for is a way to see every VS that has this rule enabled for or using before I make any changes to the rule. Is something like this possible?

 

I thank you for your time.

 

  • Hi, the method bellow is very simple, but it works. Connect in the ssh bash and execute the following command: tmsh list ltm virtual | egrep 'ltm virtual|the_irule_name_here'

     

  • giltjr's avatar
    giltjr
    Icon for Nimbostratus rankNimbostratus

    If you use the iRule editor you can double click on a iRule and it will show you what virtual Servers are referencing that iRule.