-
1. Re: add-metric&remove-metric
jfclere Jul 23, 2012 7:27 AM (in response to bogdan.toma)Because they are in mod-cluster-config=configuration
-
2. Re: add-metric&remove-metric
bogdan.toma Jul 23, 2012 8:12 AM (in response to jfclere)Hello, thank you for reply.
Still not working.
I have done this:
[standalone@localhost:9999 /] cd subsystem=modcluster
[standalone@localhost:9999 subsystem=modcluster] cd mod-cluster-config=configuration
[standalone@localhost:9999 mod-cluster-config=configuration] :add-metric(type=cpu)
{
"outcome" => "failed",
"failure-description" => "No handler for operation add-metric at address [
(\"subsystem\" => \"modcluster\"),
(\"mod-cluster-config\" => \"configuration\")
]",
"rolled-back" => true
}
[standalone@localhost:9999 mod-cluster-config=configuration]
I have the following configuration in AS7:
<subsystem xmlns="urn:jboss:domain:modcluster:1.0">
<mod-cluster-config advertise-socket="modcluster">
<dynamic-load-provider history="0" decay="1">
<load-metric type="heap" weight="1" capacity="1"/>
</dynamic-load-provider>
</mod-cluster-config>
</subsystem>
-
3. Re: add-metric&remove-metric
jfclere Jul 23, 2012 8:22 AM (in response to bogdan.toma)1 of 1 people found this helpfulI guess that was a bug related to AS7-3194 you should try with a never version of AS7.
I have:
[standalone@localhost:9999 mod-cluster-config=configuration] :add-metric(type=cpu)
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}