OK that was a stupid explanation and could be misunderstood so just to clear it up, you can add:
<setting name="hostname" value="THECOMPUTERNAME" />
Basically it just tells BBWin to report as a different hostname so you could do test_duplicateName and build_duplicateName. Jason.
-----Original Message----- From: Jones, Jason (Altrincham) Sent: 05 January 2007 10:15 To: hobbit at hswn.dk Subject: RE: [hobbit] 2 hosts with the same name
If you are using BBWin you can just add the line <setting name="hostname" value="hostname" /> to BBWin.cfg, this will save you having any possible problems that could arise from altering the %COMPUTERNAME% variable.
Thanks, Jason.
-----Original Message----- From: Kauffman, Tom [mailto:KauffmanT at nibco.com] Sent: 04 January 2007 18:36 To: hobbit at hswn.dk Subject: RE: [hobbit] 2 hosts with the same name
I'm about to get into this nonsense myself. I'm running an HA environment for two SAP systems under AIX. One of them is the SAP Business Warehouse (now renamed to something else); on the next upgrade the BW system will expect the hostname to match the IP address internally at all times -- so when it moves to the fallover system, the IP address AND hostname will need to move as well.
One of these days I'm going to flip, and implement a box with a hostname that has no resemblance to ANY IP interface label and then try to hack DNS to support it.
Tom
-----Original Message----- From: Jones, Jason (Altrincham) [mailto:JasonAS_Jones at mentor.com] Sent: Thursday, January 04, 2007 11:49 AM To: hobbit at hswn.dk Subject: RE: [hobbit] 2 hosts with the same name
You can always get one to lie by altering runclient.sh on one of them
(alter MACHINEDOTS="uname -n" to something like
MACHINEDOTS="test_uname -n"), though I'm confused how they are running
on the network together if they have the exact same hostname...
Jason.
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 04 January 2007 16:45 To: hobbit at hswn.dk Subject: Re: [hobbit] 2 hosts with the same name
On Thu, Jan 04, 2007 at 10:36:03AM -0600, Trent Melcher wrote:
Is there an easy way to monitor 2 servers with the same computername using 1 hobbit server? We are monitoring both our production enviroment and test environments. Unfortunately the computername in test or prod cannot be changed.
They must have different names in the bb-hosts file, or Hobbit will not be able to distinguish between them. So you need to make up a pseudo hostname for at least one of them.
For the client data (assuming you have a Hobbit client on them), you can modify the hostname it uses to report data and make sure it matches the name you use in bb-hosts.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in
reliance upon this message. If you have received this in error, please
notify us immediately by return email and promptly delete this message
and its attachments from your computer system. We do not waive
attorney-client or work product privilege by the transmission of this
message.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk