Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
= 0) ( 637 expr "ok"; 638 639 ) else ( 640 expr "nok"; 641 ) 642 ) 643 644 645 /* 646 main :: The starting point and main template for track ip 647 This is the main loop for the test. 648 It executes the ping tests and then will failover the cluster if there is an issue. 649 650 @param count the specified number of times this loop should run 651 */ 652 template main ($count) ( 653 /* check to see if we need to ruin through the loop again */ 654 if ($count > 0) ( 655 /* Log the iteration number */ 656 /* <xsl:value-of select="jcs:output(concat('checking servers ',$count,' iterations to go'))"/> */ 657 /* This variable stores the list of RGs that need to be failed over */ 658 var $ping-test-results = <redundancy-groups> ( 659 660 for-each ($chassis-cluster-config//cluster/redundancy-group ) ( 661 var $rg =