ENVIRONMENT
OS = RHEL 7.0
Total nodes = 2
HA software = pcs
Cluster Filesystem = no
Filesystem = LVM
QUERY
Suppose if an application is in house developed and we installed, configured and running this application on both pacemaker HA nodes simultaneously. Can we make Active/Active (Clone) resource for that application which is running on both nodes locally ?
Can we make Active/Active (Clone) resource for a local installed application
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Can we make Active/Active (Clone) resource for a local installed application
If it is an in house developed -you need a systemd service or a start/stop script which pacemaker will be using.
Be aware that you need cluster aware filesystem if both applications use the same shared storage.
Be aware that you need cluster aware filesystem if both applications use the same shared storage.
Re: Can we make Active/Active (Clone) resource for a local installed application
Your app would need to be aware that it was running in both places and contain logic to allow that to happen.
If you really mean RHEL 7.0 then you are a) way out of date as 7.4 is current and b) in the wrong forum as this is for CentOS not RHEL.
If you really mean RHEL 7.0 then you are a) way out of date as 7.4 is current and b) in the wrong forum as this is for CentOS not RHEL.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Can we make Active/Active (Clone) resource for a local installed application
Both applications will run at both nodes independently. (They just need to process client request, push to shared database and acknowledge clients)TrevorH wrote:Your app would need to be aware that it was running in both places and contain logic to allow that to happen.
Re: Can we make Active/Active (Clone) resource for a local installed application
- Yes we are going to use start/stop script definitely.hunter86_bg wrote:If it is an in house developed -you need a systemd service or a start/stop script which pacemaker will be using.
Be aware that you need cluster aware filesystem if both applications use the same shared storage.
- Both applications will be on local storage instead of shared storage on each/both HA nodes(No shared storage for applications).
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Can we make Active/Active (Clone) resource for a local installed application
Consider using latest CentOS/RHEL as numerous bug fixes and security patches have been implemented since 2014.
Re: Can we make Active/Active (Clone) resource for a local installed application
Acknowledged.hunter86_bg wrote:Consider using latest CentOS/RHEL as numerous bug fixes and security patches have been implemented since 2014.