DB2 resource agent missing

Latest response

There is no DB2 Resource Agent or RHEL 6.5

[root@rhel6node2 heartbeat]# cat /etc/issue.net
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Kernel \r on an \m
[root@rhel6node2 heartbeat]#
[root@rhel6node2 heartbeat]# rpm -ql resource-agents-3.9.2-40.el6.x86_64| grep -i db2
[root@rhel6node2 heartbeat]#
On Centos
[root@centos66 ~]# cat /etc/issue.net
CentOS release 6.6 (Final)
Kernel \r on an \m
[root@centos66 ~]#
[root@centos66 ~]# rpm -ql resource-agents-3.9.5-12.el6_6.3.x86_64 | grep -i db2
/usr/lib/ocf/resource.d/heartbeat/db2
/usr/share/man/man7/ocf_heartbeat_db2.7.gz
[root@centos66 ~]#

Responses

Hello Adelean,

Could you install the the matching RHEL rpm and re-test please. Checking the file list for resource-agents-3.9.5-12.el6_6.3.x86_64.rpm I find that /usr/lib/ocf/resource.d/heartbeat/db2 is present in that version.

Many thanks,
Mark

Hello Mark,
I am working on a personal project outside working hours.
This project is something similar with Puppet, not at the same scale
The concept is very simple and it can be used for testing development environment.
I am installing DB2 clusters SLES 10. 11 and RHEL 6.X for each new OS release.
For example developers want to test some application which is running on DB2 cluster RHEL6.3 and / or SLES11 SP2, when new version is out(RHEL 6.6 /SLES11 SP3) scripts shod work regardless of new release.
This is the reason why i needed the DB2 resource agent for 6.5
Anyway i take this script from Centos 6.6
Thank You

I guess Red Hat drop all support for DB2 resource agent in RHEL 7
[root@rhel7node1 heartbeat]# hostnamectl
Static hostname: rhel7node1.local
Icon name: computer
Chassis: n/a
Machine ID: 3ca96079996ccf499642f9d74082e05f
Boot ID: 595371673feb47ef978b67419a43779c
Virtualization: kvm
Operating System: Red Hat Enterprise Linux Server 7.0 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.0:GA:server
Kernel: Linux 3.10.0-123.el7.x86_64
Architecture: x86_64
[root@rhel7node1 heartbeat]# rpm -ql resource-agents-3.9.5-26.el7.x86_64 | grep -i db2
[root@rhel7node1 heartbeat]#
Also on Centos

[root@cnt7n1 heartbeat]# hostnamectl
Static hostname: cnt7n1.local
Icon name: computer
Chassis: n/a
Machine ID: 067873865f7da344b61565a8c905164a
Boot ID: 0bb1097ab44048e99d1737f051ce7287
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-123.el7.x86_64
Architecture: x86_64

[root@cnt7n1 heartbeat]# rpm -ql resource-agents.x86_64 0:3.9.5-26 | grep -i db2
[root@cnt7n1 heartbeat]#

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.