iRules Recipe 4: Static Maintenance Page
Updated Jun 06, 2023
Version 2.0Was this article helpful?
Hi GScholz,
add this line somewhere to your iRule...
if 0 { pool AllMYHighAvailableDefaultGWs }
The
if 0 {pool selection}
will never become executed. Its basically a multi-line TCL comment which gets ignored by the TCL compiler. But the syntax is sufficient enough to mark your VS as green as long as the default pool OR
the dummy pool is active...
https://wiki.tcl-lang.org/page/comment
Cheers, Kai