<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:#606420;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink="#606420">

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>We’re
bringing up 4.1.2 on a QA machine, and have noticed an anomaly.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Our
environment is mostly Solaris 9 with a few machines running Red Hat Enterprise
AS.   We have Hobbit 4.0.4 running on our production administrative
server and Hobbit 4.1.2 server running on our QA box.  The intention was
to qualify 4.1.2 and push it into the production environment if it seemed
reasonable to do so.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>I’ve
run into a problem with the QA instance on Red Hat machines.  I can see a
couple ways to fix it but want to find out what is considered “best
practices”<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>The
Solaris node names are the short (non-canonical) form, but the node names of
RHEE tend to be fully qualified.  It looks like we will have more Red Hat
and fewer Solaris machines in the near future, so this issue will become
significant.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>It
looks like different parts of 4.1.2 arrive at the machine name in different
ways.  The name of the server is set explicitly as BBSERVERHOSTNAME in
hobbitserver.cfg.  It appears that this is used both for the built-in
tests and server extensions.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>The
client, on the other hand, appears to get it’s hostname in a different
fashion depending on whether it’s a built-in test or an extension. 
With the client short name in bbhosts, but the client uname defaulting to the
fully qualified name, the built-in tests work but extensions do not.  It
appears that the built-in tests somehow figure out the client’s short
name, and the server recognizes it and displays the data.  However, when
extensions are invoked, the client name is set to the fully qualified name, the
name is munged to hostname,my,domain (note commas) and the server doesn’t
recognize the client.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>I see
a few ways around this.  We could set the uname on all the Linux boxes to
the short name, and remember that we have to do this for any new
installs.  (I’m not sure if this will break anything else.)  Or,
we could set up a hobbit alias for each Linux machine (ick…).  Or,
we could change runclient.sh to use “hostname –s” instead of “uname
–n” (But only on Linux boxes.) or change the “MACHINE=”`echo
$MACHINEDOTS | sed […]`” expression to dump the domain name instead
of changing the dots to commas.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Have
others run into this, and is there an accepted solution?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>            Ron<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>-</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt'>Silence
is golden.  Duct tape is silver.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><o:p> </o:p></font></p>

</div>

</body>

</html>