[Linux-cluster] apache resource problem in RHCS 5.1

Lorenz Pfiffner lp at xbe.ch
Thu May 29 15:22:30 UTC 2008


Hello everybody

I have the following test setup:

- RHEL 5.1 Cluster Suite with rgmanager-2.0.31-1 and cman-2.0.73-1
- Two VMware machines on an ESX 3.5 U1, so no fence device (it's only a test)
- 4 IP resources defined
- GFS over DRBD, doesn't matter, because it doesn't even work on a local disk

Now I would like to have an "Apache Resource" which i can select in the luci interface. I assume it's using the /usr/share/cluster/apache.sh script. If I try to start it, the error message looks like
this:

May 28 16:18:15 testsrv clurgmgrd: [18475]: <err> Starting Service apache:test_httpd > Failed
May 28 16:18:15 testsrv clurgmgrd[18475]: <notice> start on apache "test_httpd" returned 1 (generic error)
May 28 16:18:15 testsrv clurgmgrd[18475]: <warning> #68: Failed to start service:test_proxy_http; return value: 1
May 28 16:18:15 testsrv clurgmgrd[18475]: <notice> Stopping service service:test_proxy_http
May 28 16:18:16 testsrv clurgmgrd: [18475]: <err> Checking Existence Of File /var/run/cluster/apache/apache:test_httpd.pid [apache:test_httpd] > Failed - File Doesn't Exist
May 28 16:18:16 testsrv clurgmgrd: [18475]: <err> Stopping Service apache:test_httpd > Failed
May 28 16:18:16 testsrv clurgmgrd[18475]: <notice> stop on apache "test_httpd" returned 1 (generic error)
May 28 16:18:16 testsrv clurgmgrd[18475]: <warning> #71: Relocating failed service service:test_proxy_http

I've another cluster in which I had to alter the default init.d/httpd script to be able to run multiple apache instances (not vhosts) on one server. But there I have the Apache Service configured with
a "Script Resource".

Is this supposed to work of is it a feature in development? I don't see something like "Apache Resource" in the current documentation.

Kind Regards
Lorenz





More information about the Linux-cluster mailing list