Hello All,
We do a lot of application deploys here which brings
down the http server. Of course users don't call-in
to disable the hobbit server.
I was wondering is there a way to disable a test via
the command line from another server, so that I can
add the hobbit disable of http test during a deploy
of applications.
I then want to script re-enabling it at the end of the
deploy script.
Thanks..James
James Wade
Good question...
I've just tried this on the hobbit server
Disabling:
bin/bbcmd bin/bb 127.0.0.1 "disable foo.conn 60"
Enabling:
bin/bbcmd bin/bb 127.0.0.1 "enable foo.conn"
and it works
-Johann-
From: James Wade [mailto:jkwade at futurefrontiers.com] Sent: Donnerstag, 4. Oktober 2007 18:17 To: hobbit at hswn.dk Subject: [hobbit] Disable of http Test
Hello All,
We do a lot of application deploys here which brings
down the http server. Of course users don't call-in
to disable the hobbit server.
I was wondering is there a way to disable a test via
the command line from another server, so that I can
add the hobbit disable of http test during a deploy
of applications.
I then want to script re-enabling it at the end of the
deploy script.
Thanks....James
James Wade
Just to clarify this, is this command
/home/shire/server/bin/bbcmd bin/bb 127.0.0.1 "disable foo.conn 60" then?
Is the 60 in seconds or minutes?
Josh
On 10/4/07, Johann Eggers <Johann.Eggers at teleatlas.com> wrote:
Good question…
I've just tried this on the hobbit server
Disabling:
bin/bbcmd bin/bb 127.0.0.1 "disable foo.conn 60"
Enabling:
bin/bbcmd bin/bb 127.0.0.1 "enable foo.conn"
and it works
-Johann-
*From:* James Wade [mailto:jkwade at futurefrontiers.com] *Sent:* Donnerstag, 4. Oktober 2007 18:17 *To:* hobbit at hswn.dk *Subject:* [hobbit] Disable of http Test
Hello All,
We do a lot of application deploys here which brings
down the http server. Of course users don't call-in
to disable the hobbit server.
I was wondering is there a way to disable a test via
the command line from another server, so that I can
add the hobbit disable of http test during a deploy
of applications.
I then want to script re-enabling it at the end of the
deploy script.
Thanks….James
James Wade
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On 10/4/07, Josh Luthman <josh at imaginenetworksllc.com> wrote:
Just to clarify this, is this command
/home/shire/server/bin/bbcmd bin/bb 127.0.0.1 "disable foo.conn 60" then?
Is the 60 in seconds or minutes?
According to the bb man page, that's minutes.
Ralph Mitchell
Josh Luthman wrote:
Just to clarify this, is this command
/home/shire/server/bin/bbcmd bin/bb 127.0.0.1 "disable foo.conn 60" then?
Is the 60 in seconds or minutes?
Minutes.
To run that command from a remote server and not on the hobbit server, you would need to use $BBDISP instead of 127.0.0.1.
Tom
participants (5)
-
jkwade@futurefrontiers.com
-
Johann.Eggers@teleatlas.com
-
josh@imaginenetworksllc.com
-
ralphmitchell@gmail.com
-
tomg@mcclatchyinteractive.com