[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: After IP server change bbcombotest is looking for the old IP address
- To: <hobbit (at) hswn.dk>
- Subject: FW: After IP server change bbcombotest is looking for the old IP address
- From: "Bart Gillis " <Bart.Gillis (at) msp.be>
- Date: Fri, 4 Apr 2008 10:33:03 +0200
- Thread-index: AciWLn+o3dvXRsbfRleoTj2gF0lb7g==
- Thread-topic: After IP server change bbcombotest is looking for the old IP address
Hi again,
I performed a grep on the server directory looking for the old IP address and found that this was hard coded in the compiled binaries.
So I’ve recompiled the hobbit source using the same Makefile (In which I changed the IP address on the line “BBHOSTIP = 10.0.6.13”)
After a make and a make install command my combo test is working.
I’ve however another problem.
I tried out the example:
WebCluster.http = (Web1.http || Web2.http)
AppSrvCluster.procs = (AppSrv1.conn && AppSrv1.procs) || (AppSrv2.conn && AppSrv2.procs)
Customer.cluster = WebCluster.http && AppSrvCluster.procs
My code is:
DC.svcs = (MSCT\-DC\-01.conn || MSCT\-DC\-02.conn)
DNS.svcs = (MSCT\-DC\-01.svcs || MSCT\-DC\-02.svcs)
CTCS.svcs = DC.svcs && DNS.svcs
DC is a connectivity check on 2 servers. (Primary and backup domain controllers)
DNS is the DNS services on the same servers.
On my bbhost config page I’ve configured
127.0.0.1 DC
127.0.0.1 DNS
127.0.0.1 CTCS
To get my combo test being displayed.
For DC and DNS the result is OK
(MSCT\-DC\-01.conn||MSCT\-DC\-02.conn) = (1||1) = 1
MSCT-DC-01.conn
MSCT-DC-02.conn
And
(MSCT\-DC\-01.svcs||MSCT\-DC\-02.svcs) = (1||1) = 1
MSCT-DC-01.svcs
MSCT-DC-02.svcs
For CTCS I get:
DC.svcs&&DNS.svcs = -1&&-1 = 1
&unknown DC.svcs
&unknown DNS.svcs
Why do I get an unknown status????
Best regards
Bart Gillis
From: Bart Gillis
Sent: donderdag 3 april 2008 13:58
To: hobbit (at) hswn.dk
Subject: After IP server change bbcombotest is looking for the old IP address
Hi,
I've set up a hobbit server very successfully with IP address 10.20.4.123. I became a FAN of this monitoring server.
But I still have one problem.
We changed our IP range, so I had to change the IP address of the Hobbit server. (10.0.6.13)
I was able to adjust all required setting. All test besides the Combotest are working fine now.
When I launch the combotest command from the console it still wants to connect to the old IP address
MMS-test:/opt/mms/server/bin # ./bbcombotest --debug
2008-04-03 13:45:58 Transport setup is:
2008-04-03 13:45:58 bbdportnumber = 1984
2008-04-03 13:45:58 bbdispproxyhost = NONE
2008-04-03 13:45:58 bbdispproxyport = 0
2008-04-03 13:45:58 Recipient listed as '10.20.4.123'
2008-04-03 13:45:58 Standard BB protocol on port 1984
2008-04-03 13:45:58 Will connect to address 10.20.4.123 port 1984
2008-04-03 13:46:01 Connect status is 113
2008-04-03 13:46:01 Could not connect to bbd (at) 10.20.4.123:1984 - No route to host
2008-04-03 13:46:01 Whoops ! bb failed to send message - Connection failed
2008-04-03 13:46:01 Symbolic '(B32910.mimix&&B32903.mimix)' converted to '(1&&1) '
2008-04-03 13:46:01 Adding to combo msg: status COMBO.mimix green Thu Apr 3 13:45:58 2008
2008-04-03 13:46:01 Flushing combo message
status COMBO.mimix green Thu Apr 3 13:45:58 2008
2008-04-03 13:46:01 Recipient listed as '10.20.4.123'
2008-04-03 13:46:01 Standard BB protocol on port 1984
2008-04-03 13:46:01 Will connect to address 10.20.4.123 port 1984
2008-04-03 13:46:04 Connect status is 113
2008-04-03 13:46:04 Could not connect to bbd (at) 10.20.4.123:1984 - No route to host
2008-04-03 13:46:04 Whoops ! bb failed to send message - Connection failed
2008-04-03 13:46:04 1 status messages merged into 2 transmissions
Where is the bbcombotest looking for that old IP address?
Haw can I change this behaviour?
Best regards
Bart Gillis