Cluster Groups and Nodes

"; insertButtons(array( array( 'name=propButton value="Attributes"', 'name=defineButton value="Create Like"', 'name=createGroupButton value="Create Group"', 'name=pingNodesButton value="Ping"', //'name=updateButton value="Updatenode"', 'name=runcmdButton value="Run Cmd"', 'name=copyFilesButton value="Copy Files"' ), array( //'name=softMaintButton value="Soft Maint" onclick="this.form.nodesNeeded=1;"', 'name=hwctrlButton value="HW Ctrl"', 'name=rsaButton value="RSA/MM/FSP" onclick="this.form.nodesNeeded=1;"', 'name=installButton value="Install"', 'name=perfmonButton value="Perf Mon"', //'name=webminButton value="Webmin" onclick="this.form.nodesNeeded=1;"', 'name=diagButton value="Diagnose" onclick="this.form.nodesNeeded=1;"', 'name=removeButton value="Remove"' ), )); echo '
'; /* $output = array(); runcmd("\bin\sudo listattr", 2, $output); foreach ($output as $line) { echo "

line=$line

"; } */ echo HTMLProducer::getXCATNodeTableHeader(); // Get all the names of the groups $xcmdr = new XCATCommandRunner(); //$nodeGroupNames = $xcmdr->getAllGroupNames(); $nodeGroupNames = $xcmdr->getAllXCATGroups(); // Print the HTML for each of them foreach($nodeGroupNames as $key => $nodeGroupName) { echo HTMLProducer::getXCATGroupTableRow($nodeGroupName); } echo HTMLProducer::getXCATNodeTableFooter(); ?>

Node is good (Status is ready/pbs/sshd)
Node is bad (Status is 'noping')
Other status (unknown/node unavailable...)