For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

jotaeme33's avatar
jotaeme33
Icon for Nimbostratus rankNimbostratus
May 16, 2018

LB::status behavior

Hi everyone,

 

In an irule, when a node is set to "forced offline", the LB::status return "DOWN".

 

There is a way to difference the status of a node between "forced offline" and "down" because de monitor fails?

 

Thanks

 

1 Reply

  • Hi Jose,

    Your behaviour is normal, you have to set your node to disable an not force offline if you want to diferency this 2 status.

    You can have 4 differents status:

    • up
    • down
    • session_enabled
    • session_disabled

    If your node is down or you force it to "forced offline" it will mark down too. If your node is disable it will mark "session_disabled". ...

    Check this article it will helpfull for you:

    https://devcentral.f5.com/codeshare/site-maintenance-trigger

    Irule example with node disable...

    when HTTP_REQUEST {
    set maintenance_mode [LB::status node 192.168.250.1 session_disabled]
    if { ($maintenance_mode) } {
        HTTP::redirect "http://alternate.site.com/maintenance.html"
    } 
    }
    

    Let me now if it's clear for you.

    Regards