Hello

I solved ti by setting this parameter

statusurl="http://127.0.0.1/server-status";

and it works fine..apparently the value localhost was not working....

Now I have one last question : I would like to clone the SAP services so
that they run on both nodes...this is causing some kind of glibc dump :

crm configure clone CLW01 W01 meta globally-unique="true"  clone-max="2"
clone-node-max="1"
*** glibc detected *** crm_verify: munmap_chunk(): invalid pointer:
0x00007f5ca664d3c4 ***
Do you still want to commit?

What does it mean?

Thanks and regards
Michele




From:   Muhammad Sharfuddin <[email protected]>
To:     [email protected]
Cc:     [email protected]
Date:   27/02/2013 12:07
Subject:        Re: [Linux-HA] SAP Instance clustering



>I can start successfully apache via standard commands on both nodes.
>

the url contains the solution(at least on SLES 11) to start apace via
cluster

http://www.mentby.com/muhammad-sharfuddin-2/problems-starting-apache.html



Regards,

Muhammad Sharfuddin
Cell: +92-3332144823 | UAN: +92(21) 111-111-142 ext: 113 | NDS.COM.PK

On 02/27/2013 01:06 PM, [email protected] wrote:
      Hello

      Thanks for the info..I realized the apache does not start at all via
      cluster commands :

      OCF_ROOT=/usr/lib/ocf /usr/lib/ocf/resource.d/heartbeat/apache  start
      INFO: apache not running
      INFO: waiting for apache /etc/apache2/httpd.conf to come up
      /usr/lib/ocf/resource.d/heartbeat/apache: line 212: kill: (23847) -
      No such
      process
      INFO: Killing apache PID 23847
      INFO: apache stopped.

      I can start successfully apache via standard commands on both
      nodes...

      thanks and best regards
      Michele







      From:              Muhammad Sharfuddin <[email protected]>
      To:                [email protected]
      Cc:                [email protected]
      Date:              27/02/2013 05:39
      Subject:           Re: [Linux-HA] SAP Instance clustering




            Resource Group: webapps
                virtual-ip (ocf::heartbeat:IPaddr2) Started
                apache  (ocf::heartbeat:apache) Stopped
                W00        (ocf::heartbeat:SAPInstance) Stopped



      you are concerned about why cluster fails to start the resource W00 ?
      its
      because webserver resource 'apache' is stopped, so first start
      'apache'
      only then
      cluster start the resource 'W00'



      Regards,

      Muhammad Sharfuddin
      Cell: +92-3332144823 | UAN: +92(21) 111-111-142 ext: 113 | NDS.COM.PK

      On 02/25/2013 08:04 PM, [email protected] wrote:

            Hello all

            I apologize if I'm writing to the wrong audience, but it has
      been
            difficult
            to guess the right place for posting such a question :

            I'm trying to setup a 2 nodes cluster running on SLES 11 SP2
      where I
            would
            like to configure several sap webdispatchers in HA...so far I'm
            failing and
            not bale to understand why...here the configuration of the
      resource

             Resource Group: webapps
                 virtual-ip (ocf::heartbeat:IPaddr2) Started
                 apache  (ocf::heartbeat:apache) Stopped
                 W00        (ocf::heartbeat:SAPInstance) Stopped

            Last one is a SAP webdisp instance (installed via sapinst)
      primitive
            configured this way

            crm(live)configure# show W00
            primitive W00 ocf:heartbeat:SAPInstance \
                    params
      START_PROFILE="/sapmnt/W00/profile/START_W00_sapwd"
            DIR_PROFILE="/sapmnt/W00/profile" InstanceName="W00_W00_sapwd"
            MONITOR_SERVICES="sapwebdisp" START_WAITTIME="3600"
            DIR_EXECUTABLE="/sapmnt/W00/exe" AUTOMATIC_RECOVER="true" \
                    op stop interval="0" timeout="240" \
                    op start interval="0" timeout="180" \
                    op monitor interval="120" timeout="60" \
                    meta target-role="Started"

            As far as I understood the heartbeat checks the output of
      sapcontrol
            command which executed at os level is fine :

            sapcontrol -nr 00 -function GetProcessList

            25.02.2013 16:03:09
            GetProcessList
            OK
            name, description, dispstatus, textstatus, starttime,
      elapsedtime,
            pid
            sapwebdisp, Web Dispatcher, GRAY, Stopped, , , 23634

            The logs do not contain anything special...but maybe I'm
      looking in
            the
            wrong place...do you have any hints ?

            Thanks in advance and best regards
            Michele

            _______________________________________________
            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

Reply via email to