Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud.
We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
It's not an uncommon problem trying to figure out where to plant that sorry page in the event your farm is down. It's also not an uncommon solution to just use your BIG-IP to issue a text-only HTTP::respond. It works, but it's not, how do you say, visually appealing? You want to say sorry and mean it. With pictures. If you take a stroll through the iRules codeshare, you'll notice several solutions to this problem. All of them work, with a variety of methods, but user kirkbauer's entry takes it to another level. Kirk's sorry page irule generator (written in perl) takes all the guess work out of the process for you. Dump the perl script in /var/tmp, give execute permissions to root, and off you go. Here's a sample configuration, just taking Google's main page:
[root@ltm01:Active] mibs # /var/tmp/sorrygen.pl
Welcome to the F5 Sorry Page iRule Generator
This script will create a sorry page iRule based on an arbitrary web page.
This script can download the sorry page from the specified URL (you may need to use an IP address instead of a hostname if you don't have DNS set up) or it can convert a page (and all includes) already in a local directory.
Enter the prefix pathname (such as 'sorrypage') for a directory that doesn't exist in your app (do not include any slashes): sorrypage
Done. Completed files can be found in /tmp/irulegen-18583/output/.
Do you want to deploy this iRule and associated data groups now?[Y/n]: Y
The following partitions were found: Common ops1 ops2
Which partition do you want to install this in?: ops2
** Backing up /config/bigip.conf as /config/bigip.conf.bak Saving current config. /config/bigip.conf was renamed to /config/bigip.conf.bak (492 lines). /config/bigip_local.conf was renamed to /config/bigip_local.conf.bak (3 lines). /config/bigip_sys.conf was renamed to /config/bigip_sys.conf.bak (32 lines). Modified bigip.conf Placed /var/class/sorrypage.index.html.class Placed /var/class/sorrypage.intl.en_ALL.images.logo.gif.class Loading new config. Reading configuration from /defaults/config_base.conf. Reading configuration from /config/bigip_base.conf. Reading configuration from /config/bigip_sys.conf. Reading configuration from /usr/bin/monitors/builtins/base_monitors.conf. Reading configuration from /config/profile_base.conf. Reading configuration from /config/daemon.conf. Reading configuration from /config/bigip.conf. Reading configuration from /config/bigip_local.conf. Loading the configuration ...
Rule should be ready to go -- just apply the iRule 'sorry_page_sorrypage' to one or more virtual servers.
Pretty easy, right? I allowed the script to deploy--here's the iRule:
Definitely the way to go if you plan on hosting your sorry page on the BIG-IP. Click here for the code.
About Jason Rahm Experienced predominantly in the networking realm over the last dozen or so years, Jason is expanding his horizons towards systems management and even trying his hand at python.
Jason assists in the maintenance duties for http://devcentral.f5.com, contributes frequently in the forums, and writes weekly on some cool geekery in the F5 product lines. When not working, Jason enjoys spending time with his beautiful wife Michelle and his four children. He is active and volunteers network administration duties at his church and if there are any remaining minutes in the week, he enjoys Wii & XBOX, tennis, racquetball, softball, etc. He does not enjoy running, but does (scratch that, thinks about doing) it anyway to recover his youthful appearance.
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice: