Created
February 6, 2014 13:33
-
-
Save rhusar/8844193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[standalone@localhost:9990 subsystem=modcluster] :read-proxies-configuration | |
{ | |
"outcome" => "success", | |
"result" => [ | |
"localhost:9090", | |
"balancer: [1] Name: mycluster Sticky: 1 [JSESSIONID]/[jsessionid] remove: 0 force: 0 Timeout: 0 maxAttempts: 1 | |
node: [1:1],Balancer: mycluster,JVMRoute: x220,LBGroup: [],Host: 127.0.0.1,Port: 8009,Type: ajp,flushpackets: 0,flushwait: 10,ping: 10,smax: 2,ttl: 60,timeout: 0 | |
host: 1 [localhost] vhost: 1 node: 1 | |
host: 2 [default-host] vhost: 1 node: 1 | |
context: 1 [/clusterbench] vhost: 1 node: 1 status: 1 | |
context: 2 [/clusterbench-passivating] vhost: 1 node: 1 status: 1 | |
" | |
] | |
} | |
[standalone@localhost:9990 subsystem=modcluster] :disable-context(context="/clusterbench", virtualhost="localhost") | |
{ | |
"outcome" => "failed", | |
"failure-description" => "JBAS011733: virtualhost: localhost or context /clusterbench not found", | |
"rolled-back" => true | |
} | |
[standalone@localhost:9990 subsystem=modcluster] :read-proxies-info | |
{ | |
"outcome" => "success", | |
"result" => [ | |
"localhost:9090", | |
"Node: [1],Name: x220,Balancer: mycluster,LBGroup: ,Host: 127.0.0.1,Port: 8009,Type: ajp,Flushpackets: Off,Flushwait: 10,Ping: 10,Smax: 2,Ttl: 60,Elected: 0,Read: 0,Transfered: 0,Connected: 0,Load: 98 | |
Vhost: [1:1:1], Alias: localhost | |
Vhost: [1:1:2], Alias: default-host | |
Context: [1:1:1], Context: /clusterbench, Status: ENABLED | |
Context: [1:1:2], Context: /clusterbench-passivating, Status: ENABLED | |
" | |
] | |
} | |
[standalone@localhost:9990 subsystem=modcluster] :disable-context(context="clusterbench", virtualhost="localhost") | |
{ | |
"outcome" => "failed", | |
"failure-description" => "JBAS011733: virtualhost: localhost or context clusterbench not found", | |
"rolled-back" => true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment