Forum Discussion

Parveez_70209's avatar
Parveez_70209
Icon for Nimbostratus rankNimbostratus
Feb 04, 2014

How to Apply Irule Through CLI: Idea is to Share the tmsh script to create a Batch script which Windows Team can work edit accordingly

Hi Team,

The below is the Irule which we apply for the maintenance page which we applied through GUI, Kindly assist in letting know how can we apply through CLI,. This we need to give it to Application Team who can make a batch file, which they wanted to edit as per the requirement.

================================

when HTTP_REQUEST { Check active members of pool, if 0 respond with Apology Page. if { [active_members total-poc.redprairielabs.net-Pool] == 0 } { HTTP::respond 200 content {

The App is undergoing site maintenance This APP is currently down as it undergoing site maintenance. It will be available soon! Please check back again shortly. We apologize for the inconvenience.

If you need to reach us, please call 1-469-357-6900 or email HostingSD@jda.com.

    }
}

}

==========================================

Thanks and Regards Parveez

13 Replies