Attached is my cib.xml file. maybe this will help.

Jason




Serge Dubrouski wrote:
Most probably you incorrectly configured Apache resource in your
cib.xml. That OCF script is pretty flexible and shouldn't depend on
how you compiled your Apache. As a matter of fact I myself support a
cluster of 2 Apache 2.2.4 instances compiled from sources.

To help you more it would be good to take a look at your cib.xml file.
At least resource configuration part.

On Thu, Feb 21, 2008 at 2:30 PM, Jason Erickson <[EMAIL PROTECTED]> wrote:
We compiled apache from source so for some reason it will not start up
 with the ocf file. I went into the file

 /usr/lib/ocf/resource.d/heartbeat/apache

 and changed the path for httpd.conf wherever applicable. This still did
 not work. So I was looking into lsb resources instead to see if that
 worked before looking deeper into why my ocf file does not work.  If you
 have any idea why my ocf resource is not working that would be great as
 well. Thanks for responding so quickly


 Jason




 Serge Dubrouski wrote:
 > If you are using 2.1.3 with CRM why you don't use included Apache OCF script?
 >
 > On Thu, Feb 21, 2008 at 2:17 PM, Jason Erickson <[EMAIL PROTECTED]> wrote:
 >
 >> What are the steps to write a LSB script for apache. I am using version
 >>  2.1.3 with crm. I found an example once but I can not find it anymore.
 >>  Does anyone have a good example?
 >>
 >>
 >>
 >>
 >>  Jason
 >>  _______________________________________________
 >>  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





 <cib generated="true" admin_epoch="0" have_quorum="true" ignore_dtd="false" ccm_transition="70" num_peers="2" cib_feature_revision="2.0" dc_uuid="488d1100-f844-4e7b-a726-44cf37cb3d0b" epoch="100" num_updates="1" cib-last-written="Thu Feb 21 17:30:50 2008">
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options">
         <attributes>
           <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.1.3-node: 552305612591183b1628baa5bc6e903e0f1e26a3"/>
           <nvpair name="last-lrm-refresh" id="cib-bootstrap-options-last-lrm-refresh" value="1203607308"/>
         </attributes>
       </cluster_property_set>
     </crm_config>
     <nodes>
       <node id="aaed2ff6-07cd-476f-8d98-259570a5480e" uname="postit.mtu.edu" type="normal"/>
       <node id="488d1100-f844-4e7b-a726-44cf37cb3d0b" uname="linux.mtu.edu" type="normal"/>
     </nodes>
     <resources>
       <group id="Webserver">
         <meta_attributes id="Webserver_meta_attrs">
           <attributes>
             <nvpair id="Webserver_metaattr_target_role" name="target_role" value="stopped"/>
             <nvpair id="Webserver_metaattr_ordered" name="ordered" value="true"/>
             <nvpair id="Webserver_metaattr_collocated" name="collocated" value="true"/>
           </attributes>
         </meta_attributes>
         <primitive id="IP" class="ocf" type="IPaddr2" provider="heartbeat">
           <instance_attributes id="IP_instance_attrs">
             <attributes>
               <nvpair id="8d36a793-5746-4015-b91a-6d3383371698" name="ip" value="192.168.1.30"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="IP_meta_attrs">
             <attributes>
               <nvpair id="IP_metaattr_target_role" name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
         <primitive id="Web" class="ocf" type="apache" provider="heartbeat">
           <instance_attributes id="Web_instance_attrs">
             <attributes>
               <nvpair id="6f4d6e67-03a0-4522-99d5-4254a7f781da" name="configfile" value="/opt/apache/conf/httpd.conf"/>
             </attributes>
           </instance_attributes>
           <meta_attributes id="Web_meta_attrs">
             <attributes>
               <nvpair id="Web_metaattr_target_role" name="target_role" value="started"/>
             </attributes>
           </meta_attributes>
         </primitive>
       </group>
     </resources>
     <constraints/>
   </configuration>
 </cib>
_______________________________________________
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