>>> Vijay Partha <vijaysarath...@gmail.com> schrieb am 05.08.2015 um 11:05 in
Nachricht
<cammmq+zr+h_8sovuw3unjtrju0krams-rv9pywcg8g0av6n...@mail.gmail.com>:
> Hi,
> 
> I need to run apache service on both the nodes in a cluster. httpd is
> listening in port 80 on first node and httpd is listening to port 81 on the
> second. I am not able to add these instances separately rather both of them
> are starting on the same node1. even if i move the service i get an error
> WebSite1_start_0 on node2 'unknown error' (1): call=27, status=complete,
> last-rc-change='Wed Aug  5 11:02:47 2015', queued=1ms, exec=3146ms.
> 
> Please help me out.

Did you read and understand what I wrote as answer to the same question before? 
See attachment...

Without more details, nobody will understand your problem further, I guess.

> 
> -- 
> With Regards
> P.Vijay



--- Begin Message ---
>>> Vijay Partha <vijaysarath...@gmail.com> schrieb am 29.07.2015 um 14:51 in
Nachricht
<cammmq+btg3rwnph2xols3v9wg3i9pdj45tgpcypkzhgdndc...@mail.gmail.com>:
> Hi.
> 
> Victor, Whatever you said i had tried and got it working. Thank you.
> 
> Could you guys answer the following questions please?
> 
> 1.) I have 2 apache services running on the same node. If the services go
> down can pacemaker restart it?
> 2.) I have 2 apache services running on different nodes. Can i control both
> the resources from a single node by making use of pacemaker?

The answer is rather simple: If you have a sript to start/stop/check on of your 
apache instances, pamemaker will be able to take care of your instances.

In SLES11SP3 I only found those:
# find /usr/lib/ocf/ -iname apa\*
/usr/lib/ocf/lib/heartbeat/apache-conf.sh
/usr/lib/ocf/resource.d/heartbeat/apache

Regards,
Ulrich

> 
> On Wed, Jul 29, 2015 at 6:14 PM, Kostiantyn Ponomarenko <
> konstantin.ponomare...@gmail.com> wrote:
> 
>> So, is it considered as a bug in Pacemaker?
>> Buy the way, while the "failure-timeout" is set to 1 hour and with the
>> "cluster-recheck-interval" of 15 min, the resource is started by the
>> cluster sometime after 1 hour and 15 min time period.
>>
>> Thank you,
>> Kostya
>>
>> On Mon, Jul 27, 2015 at 9:09 AM, Ulrich Windl <
>> ulrich.wi...@rz.uni-regensburg.de> wrote:
>>
>>> >>> Kostiantyn Ponomarenko <konstantin.ponomare...@gmail.com> schrieb am
>>> 24.07.2015
>>> um 16:53 in Nachricht
>>> <caenth0fpx9zjj71gw92xordkow1kk7kbt8xto7m1en9w5mc...@mail.gmail.com>:
>>> > On Fri, Jul 24, 2015 at 1:21 PM, Ulrich Windl <
>>> > ulrich.wi...@rz.uni-regensburg.de> wrote:
>>> >
>>> >> 25 years backwards?
>>> >
>>> >
>>> > I've tried to set time back for:
>>> >     2 hours;
>>> >     10 min.
>>> > The result was the same as with:
>>> >     # date --set="1990-01-01 01:00:00"
>>> >
>>> > Setting time to 5 min back doesn't lead to that issue - the resource is
>>> > restarted.
>>> > There is no such problem with setting time forward.
>>>
>>> I'm afraid no programmer ever took provisions for time running backwards.
>>> It may be as simple as that. Recently thres has been even heavy discussion
>>> (elsewhere) about the bad effects of inserting a leap second, realizing
>>> that the POSIX interface has to means of detecting a leap second...
>>>
>>> >
>>> > P.S.:The resource has it's monitor interval set to 30 sec.
>>> >
>>> > Thank you,
>>> > Kostya
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list: Users@clusterlabs.org 
>>> http://clusterlabs.org/mailman/listinfo/users 
>>>
>>> Project Home: http://www.clusterlabs.org 
>>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
>>> Bugs: http://bugs.clusterlabs.org 
>>>
>>
>>
>> _______________________________________________
>> Users mailing list: Users@clusterlabs.org 
>> http://clusterlabs.org/mailman/listinfo/users 
>>
>> Project Home: http://www.clusterlabs.org 
>> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf 
>> Bugs: http://bugs.clusterlabs.org 
>>
>>
> 
> 
> -- 
> With Regards
> P.Vijay





--- End Message ---
_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to