hello
I have a problem to create working service on rhel cluster.
I have three nodes:
rhel 192.168.1.26
rhel1 192.168.1.27
rhel2 192.168.1.28
on rhel2 luci and ricci has been installed, on rhel and rhel1 only ricci has been installed.
Using luci on rhel2 i'm able to create cluster with 3 nodes.
Next step - add service.
So go to tab Services, add, put name, and from list select ip address, with value 192.168.1.61, mask 255.255.255.0.
Service is created, but can't start on any node.
Service name is adres, in luci is disabled
PHP Code:
Jun 1 14:20:00 rhel2 rgmanager[16767]: Starting stopped service service:adres
Jun 1 14:20:00 rhel2 rgmanager[16767]: start on ip "192.168.1.61/255.255.255.0" returned 1 (generic error)
Jun 1 14:20:00 rhel2 rgmanager[16767]: #68: Failed to start service:adres; return value: 1
Jun 1 14:20:00 rhel2 rgmanager[16767]: Stopping service service:adres
Jun 1 14:20:01 rhel2 rgmanager[16767]: Service service:adres is recovering
Jun 1 14:20:01 rhel2 rgmanager[16767]: #71: Relocating failed service service:adres
Jun 1 14:20:01 rhel2 rgmanager[16767]: #61: Invalid reply from member 2 during relocate operation!
Jun 1 14:20:01 rhel2 rgmanager[16767]: State Uncertain: svc:service:adres nid:2 req:start (recovery) ret:-4
still disabled, only this info in /var/log/messeges, I don;t know what to do
using rg_test
PHP Code:
rg_test test /etc/cluster/cluster.conf status service adres
Running in test mode.
Loading resource rule from /usr/share/cluster/vm.sh
Loading resource rule from /usr/share/cluster/oracledb.sh
Loading resource rule from /usr/share/cluster/svclib_nfslock
Loading resource rule from /usr/share/cluster/lvm_by_vg.sh
Loading resource rule from /usr/share/cluster/apache.sh
Loading resource rule from /usr/share/cluster/script.sh
Loading resource rule from /usr/share/cluster/nfsclient.sh
Loading resource rule from /usr/share/cluster/fs.sh
Loading resource rule from /usr/share/cluster/ip.sh
Loading resource rule from /usr/share/cluster/tomcat-6.sh
Loading resource rule from /usr/share/cluster/nfsexport.sh
Loading resource rule from /usr/share/cluster/ASEHAagent.sh
Loading resource rule from /usr/share/cluster/SAPInstance
Loading resource rule from /usr/share/cluster/nfsserver.sh
Loading resource rule from /usr/share/cluster/named.sh
Loading resource rule from /usr/share/cluster/openldap.sh
Loading resource rule from /usr/share/cluster/lvm.sh
Loading resource rule from /usr/share/cluster/SAPDatabase
Loading resource rule from /usr/share/cluster/clusterfs.sh
Loading resource rule from /usr/share/cluster/service.sh
Loading resource rule from /usr/share/cluster/netfs.sh
Loading resource rule from /usr/share/cluster/postgres-8.sh
Loading resource rule from /usr/share/cluster/lvm_by_lv.sh
Loading resource rule from /usr/share/cluster/samba.sh
Loading resource rule from /usr/share/cluster/mysql.sh
Loading resource rule from /usr/share/cluster/ocf-shellfuncs
Checking status of adres...
<debug> Checking 192.168.1.61/255.255.255.0, Level 10
Checking 192.168.1.61/255.255.255.0, Level 10
<warn> 192.168.1.61/255.255.255.0 is not configured
192.168.1.61/255.255.255.0 is not configured
Status check of adres failed
so it's configured, with ip addres and with mask
please help