Forum Discussion

az1441_7592's avatar
az1441_7592
Icon for Nimbostratus rankNimbostratus
May 18, 2011

Service Unavailable Notification???

Guys I have a VIP on :23 with a 3-node pool bound to it. Each node listening on :23.

 

 

My question is this, outside of priority group activation, if all 3 servers are down, can the LTM send a service unavailable notification to the client?

 

 

 

Thanks

 

  • It's a relatively simple iRule, but not such a simple question. Glad that works for you.

     

     

    Aaron
  • hoolio,

     

     

    real quick - this is basically balancing telnet. To return to the client "Service Down" will the above TCP respond suffice?
  • I'm not sure what a service down message looks like for telnet. If you need to use binary content in the TCP::respond command, you can follow the steps in SOL7875 and use the binary format command:

     

     

    sol7875: Certain data may contain values or characters within the ASCII range thar are not printable but need to be processed by an iRule before load balancing or other handling of the data can occur.

     

    http://support.f5.com/kb/en-us/solutions/public/7000/800/sol7875.html

     

     

    binary format

     

    http://www.tcl.tk/man/tcl8.4/TclCmd/binary.htmM5

     

     

    Aaron
  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    Hmm...

     

     

    A 'standard' 'service down' message for telnet would be a tcp reset...

     

     

     

    H
  • That's easy enough as LTM will send a reset if no pool members are available. No iRule needed.

     

     

    Aaron