Forum Discussion

strongarm_46960's avatar
strongarm_46960
Icon for Nimbostratus rankNimbostratus
Dec 11, 2008

Local Apology HTML & Embedded logos

I have noted that it is possible send back HTML pages to clients via iRule during pool failure etc. I would like to embed images within this page.

 

 

It would be ideal to embed local images and have iRule point to it as a default fall back incase all pools fails, i.e. send an apology page with embedded company logo and such. It’s important to host this page and its images locally on the LTM.

 

 

I suppose a way around will be to simply host those images on an external ISP and reference them within the page. The next trick is to convince the managers.

 

2 Replies

  • Hi jquadri,

     

     

    You can serve binary content, including images, from LTM. The downside is that they are loaded in memory at all times, so it takes resources away from load balancing and managing traffic. There are a few examples of this in the iRules codeshare (Click here). The rules have maintenance in the name.

     

     

    It would be require less memory if you hosted the images externally and just referenced them in HTML sent back from an iRule. Even more efficient would be to use the fallback host functionality on the HTTP profile. This allows you to send the client a redirect to another URL if the pool isn't available.

     

     

    Aaron