Subject: Sun Cluster 3.2.2 Apache HA failure, or cludge?


 
Thread Tools Search this Thread
Operating Systems Solaris Subject: Sun Cluster 3.2.2 Apache HA failure, or cludge?
# 1  
Old 01-05-2009
Subject: Sun Cluster 3.2.2 Apache HA failure, or cludge?

I folks,
season's greetings.
Hope you had a good festive season.



I've got 2 related problems on the same Sun Cluster 3.2.2 Apache 2.0.63 cluster:


[Problem 1:]
clsetup error: ERROR: Failed to get connection to node localhost
SunOS netra1 5.10 Generic_127127-11 sun4u sparc SUNW,UltraAX-i2
lo0: flags=2001000848<LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 0.0.0.0 netmask ff000000

lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000


[Problem 2:]
2 node cluster running Apache 2.0.63
nslookup ApacheOnlyFailoverHostName_1 (answer) 10.10.10.250
eri0:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2 inet 10.10.10.250 netmask ffffff00 broadcast 10.10.10.255

clresourcegroup show OnlyCluster-harg
Resource Group: OnlyCluster-harg
RG_description: <NULL>
RG_mode: Failover
RG_state: Unmanaged
Failback: False
Nodelist: netra3 netra1



[Long description] (An apache failover workaround functions.)
Having natively only eri0/1 I have used lo0 as my second private adapter and aliased lo0:1 as 127.0.0.1 but clsetup will not connect to the aliased interface.
Scdsbuilder packaged an apache GDS with apachectl stop/start. All works fine on the logicalhostname addressed to 10.10.10.250 fails over perfectly well from node2 to node1. (ie apache failover does work.)
But, (and it's a big but,) I believe in truth I only have a failover ipaddress.
At each boot sequence: Apache Listen 10.10.10.250 port 80, only works on node1 if I delay /etc/rc3.d/S90apache for three minutes until failover ipaddress 10.10.10.250 is "configured/up/available", else apache dies "could not locate ipaddress" And, apache will only work on node2 if I configure apache Listen *.80 (listen any)

Effectively what I've done is configure a failover ip 10.10.10.250 which works perfectly between the two hosts, failing backwards and forwards. But apache, on the other hand must be "workarounded" or "bodged" to fail backwards and forwards, but at the cost of adding cludges to my /etc/rc3.d scripts, (and cludging one httpd.conf to listen any) Ideally I would have liked to add the apache service using clsetup. But it won't add an apache service on my setup.

Given this scenario, is there a more elegant way of getting my apache to failover? Or have I done the best possible job given my constraints and circumstances?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Cluster failure reason

Hi guys ! I'm a French IT student in AIX, and i'm note very fluent in english. I have a task : Write a script to inform the administrator if on of a cluster UC is not working. I'm not going to ask you the script ^^' But i want to make a list of the failure reason of a cluster (network,... (10 Replies)
Discussion started by: Tharsan
10 Replies

2. Red Hat

Problem in RedHat Cluster Node while network Failure or in Hang mode

Hi, We are having many RedHat linux Server with Cluster facility for availability of service like HTTPD / MySQL. We face some issue while some issue related to power disturbance / fluctuation or Network failure. There is two Cluster Node configured in... (0 Replies)
Discussion started by: hirenkmistry
0 Replies

3. Red Hat

How to troubleshoot a 1000 nodes Apache cluster?

Hi all. May I get some expert advice on troubleshooting performance issues of a 1000 nodes Apache LB cluster. Users report slow loading/response of webpages. Different websites are hosted on this cluster for different clients. But all are reporting the same issue. Could you please let me know... (1 Reply)
Discussion started by: admin_xor
1 Replies

4. Solaris

Sun cluster 4.0 - zone cluster failover doubt

Hello experts - I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts. (1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over) (2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies

5. Solaris

Sun cluster and Veritas cluster question.

Yesterday my customer told me to expect a vcs upgrade to happen in the future. He also plans to stop using HDS and move to EMC. Am thinking how to migrate to sun cluster setup instead. My plan as follows leave the existing vcs intact as a fallback plan. Then install and build suncluster on... (5 Replies)
Discussion started by: sparcguy
5 Replies

6. Solaris

Sun Cluster

Hi All I hav working knowledge on solarois 10. Could anyone suggest me any doc or material for learning SUN cluster from scratch. Anything from basic level . Thanks in advance!! (1 Reply)
Discussion started by: ningy
1 Replies

7. High Performance Computing

SUN Cluster Vs Veritas Cluster

Dear All, Can anyone explain about Pros and Cons of SUN and Veritas Cluster ? Any comparison chart is highly appreciated. Regards, RAA (4 Replies)
Discussion started by: RAA
4 Replies

8. Solaris

Failure of sending mail through sun solaris

Hi , I tried to mail from my sun solaris 5.8 by: $mailx -v sridha_151086@yahoo.co.in Subject: Test mail This is the test mail!! . EOT The error message I got is: land% Sri... forward: /export/home/Sri/.forward.+: World writable directory Sri... forward:... (7 Replies)
Discussion started by: sridharnr
7 Replies

9. Shell Programming and Scripting

Failure of sending mail through sun solaris

Hi Friends, I tried to mail from my sun solaris 5.8 by: $mailx -v sridha_151086@yahoo.co.in Subject: Test mail This is the test mail!! . EOT The error message I got is: land% Sri... forward: /export/home/Sri/.forward.+: World writable directory Sri... forward:... (1 Reply)
Discussion started by: sridharnr
1 Replies
Login or Register to Ask a Question