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?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
2. 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
3. High Performance Computing
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
4. Solaris
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
5. Solaris
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
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
7. Red Hat
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
8. Red Hat
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
9. AIX
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
LEARN ABOUT REDHAT
apacheconf
apacheconf(1) Apache configuration apacheconf(1)
NAME
apacheconf - Apache configuration utility
SYNTAX
apacheconf
DESCRIPTION
This is a new graphical tool to configure the common web server Apache in an easy and simple way. It supports the basic configuration
options and even allows to set up multiple virtual hosts.
OPTIONS
None
FILES
/usr/bin/apacheconf
/usr/share/apacheconf/*
/etc/alchemist/switchboard/apache.switchboard.adl
/etc/alchemist/namespace/apache/local.adl
/etc/alchemist/namespace/apache/rpm.adl
/var/cache/alchemist/apache/*
EXAMPLES
To run this program simply type:
apacheconf
SEE ALSO
httpd(8)
BUGS
Not all possible checks for correct values are done yet.
The current /etc/httpd/conf/httpd.conf file is NOT parsed, so changing the configuration with apacheconf will overwrite any manual changes
to the httpd.conf file or the changes done with apacheconf are discarded. In case of overwriting the manually editied file a backup file
will be generated.
AUTHORS
Jonathan Blandford <jrb@redhat.com>
Philipp Knirsch <pknirsch@redhat.com>
Philipp Knirsch 0.63 apacheconf(1)