Hello,
   
  I have 2 nodes with heartbeat version-2.0.4 and DRBD version-0.7.21 and iam 
using RHEL4 as my language.
   
  I have primary/secondary configuration.
   
  I want to update my system from version-0.7.21 to 8.2.4 directly,for that
   
  1.What all packages do i need?
  2.What is the step by step procedure to update the version using RHEL4?
  3.How can i check the data integrity of my primary and secondary?
   
  Regards,
  Jerryaru

Marco Leone <[EMAIL PROTECTED]> wrote:
  
> Now I've reached the point where I've a working two node
> active/passive cluster (HA 2.1.3) with one resource (Apache2) and 
DRBD > 8.2.4 working in the same two host as primary/secondary.

Atanas Dyulgerov ha scritto:
> cibadmin -C -o resources -x drbd.add

Thanks.

I addedd the following lines to the cib.xml

> >drbd.add:
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > >value="false"/>
> > > >value="stopped"/>
> > 
> > 
> > 
> >type="drbd">
> > 
> > 
> > 
> > 
> > 
> > 

> > 

And then these for the filesystem:











value="/usr/local/DATA"/>






When I try to add the constraints (as in: 
http://www.linux-ha.org/DRBD/HowTov2):

drbd.add3 file:
to_action="promote"/>
from="fs0" score="infinity"/>

cibadmin -C -V -o constraints -x drbd.add3

I receive the following error:

cibadmin[14401]: 2008/02/18_12:10:22 ERROR: parse_xml: Ignoring trailing 
characters in XML input.
cibadmin[14401]: 2008/02/18_12:10:22 ERROR: parse_xml: Parsed 95 
characters of a possible 190. Trailing text was: '

If I start only the drbd resource it works fine, when I try to start the 
filesystem resource I receive an error about a not possible mount.

Can anyone help to sort this out?

TIA for help.

cib.xml follows:

  have_quorum="true" ignore_dtd="false" num_peers="2" ccm_transition="2" 
cib_feature_revision="2.0" 
dc_uuid="e136bd79-20ab-45e7-b6e9-a4cbee8b42b2" cib-last-written="Mon Feb 
18 12:06:19 2008">




name="symmetric-cluster" value="true"/>
name="no-quorum-policy" value="stop"/>
id="cib-bootstrap-options-default-resource-stickiness" 
name="default-resource-stickiness" value="0"/>
id="cib-bootstrap-options-default-resource-failure-stickiness" 
name="default-resource-failure-stickiness" value="0"/>
name="stonith-enabled" value="false"/>
name="stonith-action" value="reboot"/>
name="startup-fencing" value="true"/>
name="stop-orphan-resources" value="true"/>
name="stop-orphan-actions" value="true"/>
name="remove-after-stop" value="false"/>
name="short-resource-names" value="true"/>
name="transition-idle-timeout" value="5min"/>
name="default-action-timeout" value="20s"/>
name="is-managed-default" value="true"/>
name="cluster-delay" value="60s"/>
name="pe-error-series-max" value="-1"/>
name="pe-warn-series-max" value="-1"/>
name="pe-input-series-max" value="-1"/>
name="dc-version" value="2.1.3-node: 
552305612591183b1628baa5bc6e903e0f1e26a3"/>




uname="ub704ha02" type="normal"/>
uname="ub704ha01" type="normal"/>




provider="heartbeat" type="IPaddr">

name="monitor" timeout="5s"/>



value="192.168.42.89"/>





type="apache">

timeout="60s"/>



value="/etc/apache2/apache2.conf"/>













value="false"/>
value="#default"/>



type="drbd">









id="fs0">








value="/usr/local/DATA"/>









id="prefered_location_group_1_expr" operation="eq" value="ub704ha01"/>


to="ms-drbd0" to_action="promote"/>





-- 

Marco Leone
Engisud S.p.a. - Gruppo Engineering I.I. S.p.a.
Viale Regione Siciliana, 7275 - 90146 Palermo
Tel.091-7511730 Fax 091-7511720
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


       
---------------------------------
 Forgot the famous last words? Access your message archive online. Click here.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to