# no reload operation apache pacemaker & corosync cluster A/P

**URL:** <https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084>\
**Category:** SLES High Availability Extension\
**Created:** [April 15, 2016, 4:36pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084 "2016-04-15T16:36:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Pedro](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@Jose\_Pedro](https://forums.suse.com/u/Jose_Pedro)\
**Post date:** [April 15, 2016, 4:36pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/1 "2016-04-15T16:36:01Z")

</div>

Hi,  
I’ve implemented a cluster (active/pasive) with apache using pacemaker & corosync. Everything related to the cluster operation is working fine.  
The problem is that these apache is going to be also our load balancer. We need hi availability and the flexibility of the reload operation of the apache. On daily basis part of our tasks are to add sites, add nodes to the balanced applications, etc. So we need a cluster operation that permit us to invoke the apache reload (graceful) anytime we need without disrupt the service (user established connections, etc.)

We are using sevice ocf:💓apache, and these operations aren’t available …

Does anyone can help us with that?

Thanks in advance!  
José Pedro

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [April 18, 2016, 12:53pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/2 "2016-04-18T12:53:14Z")

</div>

On 15/04/16 14:44, Jose Pedro wrote:  
[color=blue]

> I’ve implemented a cluster (active/pasive) with apache using pacemaker &  
> corosync. Everything related to the cluster operation is working fine.  
> The problem is that these apache is going to be also our load balancer.  
> We need hi availability and the flexibility of the reload operation of  
> the apache. On daily basis part of our tasks are to add sites, add nodes  
> to the balanced applications, etc. So we need a cluster operation that  
> permit us to invoke the apache reload (graceful) anytime we need without  
> disrupt the service (user established connections, etc.)
> 
> We are using sevice ocf:💓apache, and these operations aren’t  
> available ..
> 
> Does anyone can help us with that?[/color]

Does “crm resource restart ” achieve what you’re wanting to do?

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![Jose\_Pedro](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@Jose\_Pedro](https://forums.suse.com/u/Jose_Pedro)\
**Post date:** [April 18, 2016, 3:15pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/3 "2016-04-18T15:15:50Z")

</div>

Hi,  
First of all thanks for your reply. No, remember that the new command to control the cluster is ÂpcmÂ no crm. Also remember that we need reload configuration without disrupt the established connections. The restart makes stop+start Â and this is exactly what we canÂt use …  
We think that we need the implementation of the reload operation…

Thanks!  
JosÃ© Pedro

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [April 20, 2016, 12:19pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/4 "2016-04-20T12:19:13Z")

</div>

On 18/04/16 13:24, Jose Pedro wrote:  
[color=blue]

> First of all thanks for your reply. No, remember that the new command to  
> control the cluster is ï¿½pcmï¿½ no crm.[/color]

Which version of SUSE Linux Enterprise Server (SLES) and High  
Availability Extension (HAE) are you using? Please post the output from  
“cat /etc/\*release”.

The reason for asking is that the SUSE Linux Enterprise High  
Availability Extension uses the crm command for configuring and managing  
cluster resources from the command line.

I’ve also found that you’ve posted exactly the same question in the  
CentOS forums though noting that you’ve “implemented a cluster  
(active/pasive) with apache _in centos 7_ using pacemaker & corosync.”  
Whilst both SLES and CentOS are RPM-based there are some important  
differences.  
[color=blue]

> Also remember that we need reload  
> configuration without disrupt the established connections. The restart  
> makes stop+start ï¿½ and this is exactly what we canï¿½t use ..  
> We think that we need the implementation of the reload operation..[/color]

Whilst restarting the Apache resource will stop and (re)start the Apache  
service it won’t do so immediately and will wait until current  
connections are served.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![Jose\_Pedro](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@Jose\_Pedro](https://forums.suse.com/u/Jose_Pedro)\
**Post date:** [April 21, 2016, 5:45pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/5 "2016-04-21T17:45:26Z")

</div>

Hi!  
Yes,  
In fact, we are evaluating both options: Centos and OpenSuse. The centos implementation have these problem and we post in both because we can use openSuse or centos Â weÂll decide to start testing in Centos because we fund the implementation with corosync+pacemaker full documented in the last release Â But if you said that in openSuse we have all implemented with reload … weÂll install it asap …

Thank you very much for your assistance and patience.

JosÃ© Pedro

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 22, 2016, 1:37pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/6 "2016-04-22T13:37:04Z")

</div>

Hi José Pedro,

> OpenSuse

please note that you’re currently posting to the SUSE forums, which are for the supported version of SUSE Linux (SLES/SLED & related products). For questions regarding openSUSE, please have a look at the forum over at [https://forums.opensuse.org](https://forums.opensuse.org) - you can use the same login credentials as you’re using here.

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [April 22, 2016, 1:37pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/7 "2016-04-22T13:37:09Z")

</div>

On 21/04/16 15:54, Jose Pedro wrote:[color=blue]

> Yes,  
> In fact, we are evaluating both options: Centos and OpenSuse. The centos  
> implementation have these problem and we post in both because we can use  
> openSuse or centos ï¿½ weï¿½ll decide to start testing in Centos because we  
> fund the implementation with corosync+pacemaker full documented in the  
> last release ï¿½ But if you said that in openSuse we have all  
> implemented with reload .. weï¿½ll install it asap ..
> 
> Thank you very much for your assistance and patience.[/color]

Okay so now having mentioned openSUSE you’ve thrown another variable  
into the mix - whilst SUSE Linux Enterprise Server (SLES) and openSUSE  
are closely linked, even more so with the latest openSUSE Leap release,  
there are also differences between them. In particular pacemaker is  
available as part of the openSUSE distribution rather than as a  
separate, paid for extra for SLES.

For questions/issues relating to openSUSE you should post in the  
openSUSE Forums @ [https://forums.opensuse.org/forum.php](https://forums.opensuse.org/forum.php) (the same user  
credentials for SUSE Forums will also work there).

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![Jose\_Pedro](https://avatars.discourse-cdn.com/v4/letter/j/838e76/32.png) [@Jose\_Pedro](https://forums.suse.com/u/Jose_Pedro)\
**Post date:** [April 25, 2016, 6:20pm UTC](https://forums.suse.com/t/no-reload-operation-apache-pacemaker-corosync-cluster-a-p/28084/8 "2016-04-25T18:20:47Z")

</div>

Hi guys,  
Thank you very much for your responses. IÂve opened these thread in openSuse forum … itÂ´s strange that the reload wasnÂt implemented Â  
Thanks !! regards!!  
JosÃ© Pedro
