[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bback.cgi and cookies
- To: hobbit (at) hswn.dk
- Subject: bback.cgi and cookies
- From: nico <nico (at) crysto.org>
- Date: Wed, 11 Feb 2009 18:36:54 +0100
- References: <0362AE866EBF9B4B964BD6C9652E8D91FD1589 (at) kfmex22p.ud1.utility> <20090211171917.GA10528 (at) osiris.hswn.dk>
- User-agent: RoundCube Webmail/0.1b
Hi,
I'd like to send ack events to multiple BBDISPLAY.
To do that, i did a change on hobbitserver.cfg with this configuration:
http://www.hswn.dk/hobbiton/2005/10/msg00203.html
1) In hobbitserver.cfg on both display servers, after the BBDISPLAY
setting add
# For the enable/disable and acknowledge scripts.
maint/BBDISP="0.0.0.0"
maint/BBDISPLAYS="10.0.0.1 172.16.12.10"
(replace with your display-server IP-adresses)
2) In hobbitcgi.cfg, change the line for the bb-ack.cgi tool:
# bb-ack.cgi options
CGI_ACK_OPTS="--area=maint
--env=/usr/lib/hobbit/server/etc/hobbitserver.cfg"
The first problem is that it seems to not send acks events to the multiples
IP but only to local.
The second problem is that when i modified BBDISP with the IP of another
hobbit server, we got an error:
2009-02-11 17:02:52 Cookie 338777 not found, dropping ack
2009-02-11 17:06:34 Cookie 338777 not found, dropping ack
The reason is that the cookie is different for the same host/test:
serverA$ ${BB} ${BBSERVERIP}:${BBPORT} "hobbitdboard color=red,yellow
fields=hostname,testname,cookie"
cusaa-ws02|ftp|640796
serverB$ ${BB} ${BBSERVERIP}:${BBPORT} "hobbitdboard color=red,yellow
fields=hostname,testname,cookie"
cusaa-ws02|ftp|338777
We tried to disable cookie by adding "--no-cookies" into CGI_ACK_OPTS
variable of hobbitcgi.cfg but the problem still happens.
Is there any way to fix it please ?
Regards,
nicolas