[mod_cluster-dev] How can I invoke MCMP commands via telnet ?

Bela Ban bela at jboss.com
Mon Dec 15 07:51:13 EST 2008


Thanks. How do you do this for DISABLE-APP ?

jean-frederic clere wrote:
> Bela Ban wrote:
>> I tried
>>
>> telnet localhost 8000
>> GET /INFO HTTP/1.0
>>
>> doesn't work. Is there a way for me to invoke those commands 
>> interactively ?
>>
>
> You have use the MCMP method INFO instead GET.
> For example:
> +++
> [jfclere at jfcpc ~]$ telnet 10.33.144.200 6666
> Trying 10.33.144.200...
> Connected to 10.33.144.200.
> Escape character is '^]'.
> INFO / HTTP/1.1
> Host: localhost
>
> HTTP/1.1 200 OK
> Date: Mon, 15 Dec 2008 12:22:31 GMT
> Server: Apache/2.2.11-dev (Unix) mod_ssl/2.2.11-dev OpenSSL/0.9.8g DAV/2
> Content-Length: 0
> Connection: close
> Content-Type: text/plain
>
> Connection closed by foreign host.
> +++
> and "INFO / HTTP/1.0" for 1.0
>
> Cheers
>
> Jean-Frederic

-- 
Bela Ban
Lead JGroups / Clustering Team
JBoss - a division of Red Hat




More information about the mod_cluster-dev mailing list