From heiny at starband.net Wed May 14 16:43:11 2008 From: heiny at starband.net (Christopher Heiny) Date: Wed, 14 May 2008 13:43:11 -0700 Subject: [xml-qstat-d] xml-qstat and FlexLM In-Reply-To: References: <200805121638.43766.heiny@starband.net> Message-ID: <200805141343.11936.heiny@starband.net> [redirected from GE-users list] On Monday 12 May 2008, ground control picked up the following transmission from Chris Dagdigian: > Hi Christopher, > > Sorry for the inconvenience -- the SVN checkout is not directly ready > for prime-time as there is some testing and debug stuff baked into > the sitemap.xmap file that likely needs to be tweaked for your local > setup. > > I did a fresh checkout of xml-qstat and a new download of Apache > cocoon-2.1.11 and found I had to make the following changes to > sitemap.xmap: > > (1) At line 145 in sitemap.xmap you'll see a code block like this: > > > > > > > > > > What you need to do is alter the redirect line so that it forces the > browser to "qstat-jobs.html" which is the rendered view that does not > depend on cached XML data from the qlicserver code. Done, but it doesn't seem to have registered with cocoon. However, going directly to qstat-jobs.html works. However, qstat-jobs.html doesn't appear to recognize our host names or the load on the hosts. It does get the architecture, status, type, number of slots, number of occupied slots and so on, correct. I think at least part of this relates to the XML issues that have been discussed recently on GE-users. > (2) The 2nd change you'll need to do in sitemap is a global search > and replace on "qstat.sh" and replace it with just "qstat". We have > qstat.sh in the sitemap file as a debug step so that we can log > whenever Cocoon makes a Grid Engine call. This was originally used to > confirm by Mark that Cocoon was not actually smartly caching XML and > was directly calling qstat each time the page was reloaded (something > we want to avoid). Done. > Anyway, once you change the default redirect to "qstat-jobs.html" and > replace the instances of "qstat.sh" with "qstat" in your sitemap.xmap > file you should have more success. > > I'll keep going with xml-qstat tonight (it helps that I need to give > the "Fun with SGE XML" talk tomorrow. Any new change I find I'll > document in the wiki at location: > http://wiki.gridengine.info/wiki/index.php/Xml-qstat-1.0 Thanks very much for the help! I may poke around in the xml-qstat innards myself, but can't promise to do that in a timely fashion, or to resolve any issues if I do so.