Hi
I will post an output from cibadmin -Ql and from the crm_mon tomorrow -
I dont have it here in my home.
In the meanwhile here is what I do:
I fire up my cluster and by monitoring the /var/log/messages and with
"crm_mon -i 2"
I wait for it to get online. Then I add a resource with "cibadmin -C -o
resource -x <xml-fil>"
It adds to the cluster starts up nice.
"crm_mon -i 2" shows me that the resource was added - now I have "one"
resource in my cluster.
I stop it with "crm_resource -r <resource-name> -p target_role -v stopped.
I goes down and then I remove the resource with "cibadmin -D -o resource
-x <the-same-xml-file-which-I-used-to-create>
I check with "crm_resource -L" to be sure that it is gone from my
cluster, and gone it is.
But my "crm_mon -i 2" is till showing the there is "one" resource in my
cluster.
I then run the command "crm_resource -C -r <resource>" and then my
"crm_mon -i 2" is showing
that there is not any resources in my cluster.
More info will come tomorrow...
/Claes Lindvall
Andrew Beekhof skrev:
On 6/4/07, matilda matilda <[EMAIL PROTECTED]> wrote:
Hi Claes,
interestingly you can delete a ressource with crm_resource, but you
can't add
one.
its the difference between:
delete name
and
add name, class, type, parameters, operations, meta-options, etc etc
When I delete one with crm_resource everything seems to go right.
Andrew: Is the phenomena mentioned by Claes a bug? Or simple a
missunderstanding
of us?
if the resources are indeed stopped - then its a bug
can you paste the output of crm_mon that is incorrect?
and include the result of "cibadmin -Ql" (as an attachment) from the
same time.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems