Re: [ClusterLabs] corosync.conf token configuration

2018-01-03 Thread Jan Friesse
Adrián, Hello, I was wondering if someone have some description of the parameters: token, token_retransmits, token_retransmits_before_loss_const and consensus. I have read about it in the man page of corosync.conf but trying some configuration of the cluster I realized that I did not

Re: [ClusterLabs] Adding Tomcat as a resource to a Cluster on CentOS 7

2018-01-03 Thread Oyvind Albrigtsen
On 03/01/18 10:13 +, Sean Beeson wrote: Hi, Oyvind. Creating a unit file named tomcat@tomcat.service resolved my issue of Tomcat not starting with the /usr/lib/ocf/resource.d/heartbeat/tomcat resource file that PCS uses. I was getting the error that a Unit file for tomcat could not be found

Re: [ClusterLabs] Adding Tomcat as a resource to a Cluster on CentOS 7

2018-01-03 Thread Sean Beeson
Hi, Oyvind. Creating a unit file named tomcat@tomcat.service resolved my issue of Tomcat not starting with the /usr/lib/ocf/resource.d/heartbeat/tomcat resource file that PCS uses. I was getting the error that a Unit file for tomcat could not be found using these script to debug with--

Re: [ClusterLabs] Adding Tomcat as a resource to a Cluster on CentOS 7

2018-01-03 Thread Oyvind Albrigtsen
On 02/01/18 21:31 +, Sean Beeson wrote: Hi, I just wanted to add the solution for future reference. On CentOS 7 PCS starts and stops Tomcat as a systemd service named tomcat@tomcat.service, so a Unit file for the service in /etc/systemd/system/ is needed. The simplest way to create that