sorry, we ned the status section too.
the easiest way is to use hb_report which will grab everything that we
might need to provide assistance
On Dec 21, 2007, at 9:57 AM, Yves Schumann wrote:
Hi
[EMAIL PROTECTED] wrote on 21.12.2007 09:38:43:
But actually there is a strange problem: The group with the
services is
running at "Master" and "Redundance" is powered down. If
"Redundance"
is
powered up, the group with all the services is switched to the
Redundance.
If I do the opponent test, this is not the case! I mean, if
"Master" is
powered down and the group is running at "Redundance", the group
will
stay
there if I power up "Master". It seems to me like a nice small
setting,
but
which one must be changed and how? Please let me know if you need
more
information.
this seems like a problem with your constraints. can you please
provide
your cib.xml?
Here it is:
=
======================================================================
<cib generated="true" admin_epoch="0" have_quorum="true" num_peers="2"
cib_feature_revision="1.3" epoch="27" num_updates="536"
cib-last-written="Fri Dec 21 09:51:33 2007" ccm_transition="2"
dc_uuid="1ef0ac81-4865-4d40-8152-bf054d02745c">
<configuration>
<crm_config>
<cluster_property_set id="cib-bootstrap-options">
<attributes>
<nvpair id="cib-bootstrap-options-symmetric-cluster"
name="symmetric_cluster" value="true"/>
<nvpair id="cib-bootstrap-options-no-quorum-policy"
name="no_quorum_policy" value="stop"/>
<nvpair id="cib-bootstrap-options-default-resource-
stickiness"
name="default_resource_stickiness" value="INFINITY"/>
<nvpair
id="cib-bootstrap-options-default-resource-failure-stickiness"
name="default_resource_failure_stickiness" value="0"/>
<nvpair id="cib-bootstrap-options-stonith-enabled"
name="stonith_enabled" value="false"/>
<nvpair id="cib-bootstrap-options-stonith-action"
name="stonith_action" value="reboot"/>
<nvpair id="cib-bootstrap-options-stop-orphan-resources"
name="stop_orphan_resources" value="true"/>
<nvpair id="cib-bootstrap-options-stop-orphan-actions"
name="stop_orphan_actions" value="true"/>
<nvpair id="cib-bootstrap-options-remove-after-stop"
name="remove_after_stop" value="false"/>
<nvpair id="cib-bootstrap-options-short-resource-names"
name="short_resource_names" value="true"/>
<nvpair id="cib-bootstrap-options-transition-idle-timeout"
name="transition_idle_timeout" value="5min"/>
<nvpair id="cib-bootstrap-options-default-action-timeout"
name="default_action_timeout" value="30s"/>
<nvpair id="cib-bootstrap-options-is-managed-default"
name="is_managed_default" value="true"/>
</attributes>
</cluster_property_set>
</crm_config>
<nodes>
<node uname="oan-redundanz" type="normal"
id="f2ddf7a6-1f3a-4184-8ddc-e82605ef77d9">
<instance_attributes
id="nodes-f2ddf7a6-1f3a-4184-8ddc-e82605ef77d9">
<attributes>
<nvpair name="standby"
id="standby-f2ddf7a6-1f3a-4184-8ddc-e82605ef77d9" value="false"/>
</attributes>
</instance_attributes>
</node>
<node id="1ef0ac81-4865-4d40-8152-bf054d02745c" uname="oan-
master"
type="normal"/>
</nodes>
<resources>
<group id="oan_rsc_group">
<meta_attributes id="oan_rsc_group_meta_attrs">
<attributes>
<nvpair id="oan_rsc_group_metaattr_target_role"
name="target_role" value="started"/>
<nvpair id="oan_rsc_group_metaattr_ordered" name="ordered"
value="true"/>
<nvpair id="oan_rsc_group_metaattr_collocated"
name="collocated" value="true"/>
</attributes>
</meta_attributes>
<primitive id="rsc_IPaddr" class="ocf" type="IPaddr2"
provider="heartbeat">
<instance_attributes id="rsc_IPaddr_instance_attrs">
<attributes>
<nvpair id="96252422-60e0-4e3f-bcd6-4d1c3996d10e"
name="ip"
value="172.17.206.153"/>
</attributes>
</instance_attributes>
<meta_attributes id="rsc_IPaddr_meta_attrs">
<attributes>
<nvpair id="rsc_IPaddr_metaattr_target_role"
name="target_role" value="started"/>
</attributes>
</meta_attributes>
<operations>
<op id="2df96287-97cf-4d2e-b87b-66bb72090c33"
name="monitor"
interval="10s" timeout="20s" disabled="false" role="Started"/>
</operations>
</primitive>
<primitive id="rsc_snmp" class="lsb" type="snmp"
provider="heartbeat">
<operations>
<op id="rsc_operations_snmp" name="monitor" interval="15s"
timeout="15s"/>
</operations>
<meta_attributes id="rsc_snmp_meta_attrs">
<attributes>
<nvpair id="rsc_snmp_metaattr_target_role"
name="target_role" value="started"/>
</attributes>
</meta_attributes>
</primitive>
<primitive id="rsc_tomcat" class="lsb" type="tomcat"
provider="heartbeat">
<operations>
<op id="rsc_operations_tomcat" name="monitor"
interval="15s"
timeout="15s"/>
</operations>
<meta_attributes id="rsc_tomcat_meta_attrs">
<attributes>
<nvpair id="rsc_tomcat_metaattr_target_role"
name="target_role" value="started"/>
</attributes>
</meta_attributes>
</primitive>
</group>
</resources>
<constraints>
<rsc_location id="rsc_location_oan_group" rsc="oan_rsc_group">
<rule id="prefered_rsc_location_oan_group" score="100">
<expression attribute="#uname"
id="abcd6a9c-f2f5-4c88-9fa8-8231a9ce931c" operation="eq"
value="oan-master"/>
</rule>
</rsc_location>
</constraints>
</configuration>
</cib>
=
======================================================================
Yours
Yves Schumann
Softwareentwicklungsingenieur
Security Solutions Division
______________________________
Ascom (Schweiz) AG
Eichtal, CH-8634 Hombrechtikon
Phone: +41 55 254 66 84
[EMAIL PROTECTED]
http://www.ascom.com
_______________________________________________
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