CentOS 5 :: [Cluster Suite] It Works For IP But Not For Tomcat Or Postgresql

May 18, 2010

I have made a cluster between two server.In luci I can see that my cluster is green and the two nodes to.I have make an IP resource and associate it to a service : green : I can relocate the service from a node to the other one and the IP appears in the list of IP addresses The problem is that I have made the same in order to configure tomcat and postgresql and it does not work...I put my configuration only for ip and tomcat:

My host configuration:

127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
10.0.0.1 server1.domain.com server1
10.0.0.2 server2.domain.com server2

View 7 Replies


ADVERTISEMENT

General :: [CentOs - Cluster Suite] Works For IP But Not For Tomcat , Postgresql / Sort It?

May 18, 2010

I have made a cluster between two server.

In luci I can see that my cluster is green and the two nodes to.
I have make an IP resource and associate it to a service : green : I can relocate the service from a node to the other one and the IP appears in the list of IP addresses

The problem is that I have made the same in order to configure tomcat and postgresql and it does not work...

I put my configuration only for ip and tomcat:

My host configuration code...

View 4 Replies View Related

CentOS 5 Server :: Cluster Suite CLVMD ?

Jul 17, 2011

I have just installed a two server cluster with ricci luci and conga on centos 5.6 32bit , both servers are vmware guests and have a shared storage disk connected to them both

with a GFS2 file system on them + fencing agents configured to work with VMware Vcenter.

(this is supported by vmware and works great on 4 other centos clusters i have been runing for 4 monthes with no CLVMD).

In this setup i used for the first time CLVMD as recommnded by RedHat so i could have the flexablitly of LVM under the GFS2 file system but , i have been getting some Strange problem with it , some times after a developer has done some IO heavy task like unziping a file or a simple TAR the load goes to 10 - 15 and no task can be killed , trying to reboot the server hangs.

After hard shutting the server every thing works ok until the next time some one does the same IO work as before.

View 5 Replies View Related

CentOS 5 :: Redhat Cluster Suite - How To Configure Failback

May 6, 2009

i am using the redhat cluster suite (luci and ricci) on my centos 5.3. i have 2 nodes in a cluster. when i poweroff the first node on wich a vm service is running, the service switchtes to node2. so far, so good :) but when i restart node1 the service is not failback to node1! i have created a failover domain with both nodes and priorized whre node1 has prio1 and node2 has prio2.

View 4 Replies View Related

CentOS 5 :: Cluster Suite And Fence For VMWare ESXi 4.0

Oct 22, 2009

This is my first post, and i have a question with the fence software for VMWare ESXi. The fence_vmware agent only works with ESX, and redhat (in you GIT repository) has submited a new agent called fence_vmware_ng that claims to work with ESXi. But the problem is that they do not specify the version that works with that. Anybody has test the fence_vmware_ng agent for VMWare ESXi 4.0 ?, i follow the instructions here: [URL]...and i can install the software, the API from VMWARE site, etc, but in the moment when i run the agent nothing happen, The agent connects to server, i see in logs, but the off-reboot-on operations not works. Only works status operations, that return the state of a virtual machine. I have CentOS 5.3 (fully today updated) with RHCS.

View 6 Replies View Related

Fedora Servers :: How To Setup GFS2 Without Cluster Suite / How To Configure Cluster.conf

Nov 6, 2010

I am trying to build GFS2 cluster with 2 or 3 Fedora 14 nodes, but I've encountered some problems from the start. First luci does not work at all in Fedora 14. There is no luci_admin and even if I manage to start luci service, I get a blank white screen when I try to open it from the browser. I've googled a bit and found that I'd might be able to setup GFS if I manage to build cluster.conf manually and start the cluster suite, but I cannot find documentation on how to create cluster.conf anywhere. If anyone knows how to setup GFS2 without a cluster suite or how to configure cluster.conf.

View 9 Replies View Related

Ubuntu Servers :: Setup An Apache Web Cluster Using Red Hat Cluster Suite

Sep 1, 2011

I am working in a project that needs to set up an Apache Web Cluster. The cluster needs to be High-availability (HA) cluster and Load-balancing cluster. Someone mentioned the use of Red Hat Cluster Suite, but, honestly, I can't figure out how it works, I haven't been able to configure it correctly. The project currently have two nodes, but we need to support at least three nodes in the cluster.

View 5 Replies View Related

General :: Setting Up Red Hat Cluster Suite?

Jun 13, 2010

I was following [URL] for the cluster setup. But things dint work out. One Doubt to ask "Do I need the services cman, ccsd and rgmanager one at a time on the both machine. I have been running it through script.

View 1 Replies View Related

Red Hat / Fedora :: Cluster Suite When Node Power Off The Service Is Not Migrated?

Nov 20, 2009

I am using the Redhat Cluster Suite (luci and ricci) on my centos 5.4. i have 2 nodes in a cluster.I had clustered an apache server.The service is up end running and i can stop,start and switch on all two node.The problem is when i try to simulate a fault for one node.For example:The apache resource stay on the first cluster node.If i power off the first cluster node (not halt or init 0 but take off the eletric power off), the second cluster node not take the resource.With the clustat command, the service still running on the first node.But the service is down. The first node is dead.Only one the first node is join again the cluster the resource goes up on the second node.

View 7 Replies View Related

Ubuntu Installation :: Postgresql Works From Cli - Error Call To Undefined Function

Aug 4, 2011

I have weird problem with postgresql + nginx + php5 0 ubuntu 11.04. Postgresql works just fine, when I run "php test.php" from shell. I assume php runs from shell are called cgi runs? When I open page from browser [URL]... I get following error. I assume php runs from browser are called cgi runs? Fatal error: Call to undefined function pg_connect() in /var/www/mydomain/htdocs/test.php on line 7 When you print php info, only reference to postgresql is pgsql.ini and pdo_pgsql.ini files that are parsed.

[code]....

I did install postgresql by running following commands:

sudo -s
aptitude install postgresql
aptitude install php5-pgsql

View 2 Replies View Related

Software :: CD-R Test Suite For CentOS 4/5?

Jan 28, 2010

We've been having lots of problems with burning CD-Rs on our Dell PowerEdge and T300 servers. We've had the CD recorders replaced frequently, and that often fixes the problem, but then we'll start having problems again. Usually it is the CD refuses to write, or it gets written but can't be read. Often, if I re-run the burn with the same blank CD, it will be fine.

I'd like to test some CD-Rs and compare error rates so I can recommend what CD-R media we should be using. Currently we are using Memorex and Verbatim CD-Rs. Is there a good cd recording/testing suite for Linux that I could use to do this?

View 1 Replies View Related

CentOS 5 :: Whit Rocks Cluster Centos And Nodes?

Aug 12, 2011

well sorry I'm new in this but I just made my cluster with about 4 good machines each with 2 or more gbs of memory and dual-core processor but the question is i can install an operating system in nodes as having the frontend or not different if possible, and how i can do it because i don't now how and i don't find material and tutorials that can help me..

View 3 Replies View Related

Software :: Installing Postgresql 8.4 On CentOS?

Jul 29, 2010

I am having trouble installing postgresql on my CentOS virtual machine. I am trying to compile from source by following this tutorial:[URL]..Here's the output and the commands that I have used thus far:

Code:
[root@localhost postgresql-8.4.4]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking which template to use... linux

[Code]...

View 3 Replies View Related

CentOS 5 Server :: Upgrade Tomcat 5 To 6 (CentOs 5.2) ?

Feb 25, 2009

I have installed CentOS 5.2, apache tomcat 5 already included, How can I upgrade tomcat to version 6 ?

View 1 Replies View Related

Server :: Install Red Hat New Cluster - Error: Cman Not Started: Cannot Start, Cluster Name Is Too Long

Mar 15, 2011

I'm having a very strange problem with red hat cluster. After testing it in the lab, I tried to install a new cluster and received the following error: cman not started: Cannot start, cluster name is too long or other CCS error /usr/sbin/cman_tool: aisexec daemon didn't start I've checked the internet for that error, but nothing. I decided to to take the example from cluster.conf man, which looks like that :

[Code]...

And still I get the same error. I can find my servers both from DNS (FQDN and short name) and they also appear in /etc/hosts.

View 3 Replies View Related

CentOS 5 :: Virtualization On Top Of Cluster?

Apr 3, 2009

i'm a familiar with Linux environement ( fedora 10 user ) and i got a project in a training where i have to create a cluster with two nodes where i have to set up a number of VMs that will run applications such as ( Samba, Ldap, Zimbra, ...) but i don't know how to virtualize on top of a cluster ! i would like to know how that can be done, and how is it possible to let the VMs get ressources ( RAM & CPU ) from the two nodes ??

View 1 Replies View Related

CentOS 5 :: Why Tomcat 6 Not Provided In Yum Repository

Feb 10, 2009

I saw in CentOs Documentation that the only Tomcat package available in CentOs 5 was Tomcat 5, I would like to know why CentOs 5 didn't support Tomcat 6. And what's more I would like to know whether last version of Tomcat (6.0.18) can be installed on CentOs 5, and if we can trust installation tutorial we can read on centOs How 2 page? And in addition, could you tell me why Tomcat 6 isn't provided in CentOs Yum repository ... Is there a no working reason?

View 3 Replies View Related

CentOS 5 Server :: How To Setup Tomcat On 5.2

May 6, 2009

I am trying to setup Tomcat on CentOS 5.2,This is that ive done so far...Installed Apache, which works fine and I get the "Apache 2 Test Page powered by CentOS" Did this

yum install tomcat5 tomcat5-common-lib tomcat5-jasper tomcat5-jsp-2.0-api tomcat5-server-lib tomcat5-servlet-2.4-api

View 3 Replies View Related

CentOS 5 :: Tomcat 5.5 Does Not Start At Boot?

Nov 21, 2009

I have installed Tomcat 5.5 on a server with Centos 5.2. I can start Tomcat from command line with:

/var/lib/tomcat5/bin/catalina.sh start but if I add the command to /etc/rc.local Tomcat don't start on boot, I need to login and manually start. I have add other services to the /etc/rc.local file (mysql and apache) and all start with no problem. Only Tomcat failed to start on boot.

I added the JAVA_HOME to /root/.bashrc:
export JAVA_HOME=/usr/lib/jdk
export PATH=$JAVA_HOME/bin:$PATH
export CATALINA_HOME=/var/lib/tomcat5
export CATALINA_BASE=/var/lib/tomcat5

I have tried many different things I found on the net, but nothing worked for me.

View 4 Replies View Related

CentOS 5 :: How To Setup Apache To Tomcat

May 7, 2011

I installed the Tomcat5.5, but when i test the port 8080 didn't work, where i can edit to work it properly? and then help me how to setup apache to tomcat? specific command, directory where i can edit and configure the scripts? and where i can put the web application file?

View 1 Replies View Related

CentOS 5 Server :: GFS With Little 'Cluster' As Possible / No CLVM

Mar 15, 2010

What I did not realize was, that DLM uses the external Ethernet Interface even when talking to the local machine/node. So iptables was blocking my DLM daemon. With iptables down or the TCP port for DLM opened, cman starts, mount works.What I have here is a fibrechannel SAN which will be directly attached to several servers in the near future. Thise servers should be enabled access to a single filesystem on the SAN (shared).I heard that the right filesystem choice for this kind of setup would be GFS, because it has a Distributed Lock Manager and one FS journal for each node.

But I am having trouble setting up GFS. I have managed to create a GFS on a small testvolume (local HDD so far), but am unable to mount it. It seems that GFS/DLM needs a lot of cluster services to run, which I do not all understand / know how to correctly setup. Also: Will the lock_dlm stuff need Ethernet communications to handle file locks? And if so, will it fetch the node list from /etc/cluster/cluster.conf to determine who to talk to?

View 1 Replies View Related

CentOS 5 Server :: The Cluster Does Not Work?

Nov 26, 2010

I created a cluster with two nodes and a machine for managers with luci, if a machine reboot the cluster function by transferring the resource (IP address), if forced to stop the machine (pull the plug) the cluster does not work.

View 1 Replies View Related

CentOS 5 Server :: Apache-Tomcat Not Working?

Feb 5, 2009

I've installed Apache Tomcat--6 and even jdk1.6.I've even created a tomcat.sh file to start the serverautomatically and it includes the Environment variables also ($CATALINA_HOME & JAVA_HOME) for automatic startup.Next when i'm using http://localhost:8080 to call the server it shows unable to connect.I've tried changing the port no of tomcat in server.xml file. but still its not working.

-->Then i tried using--telnet localhost comand--it shows Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host: Connection refused

Here I'[m stuck i don't understand how do i make the localhost work.

-->If I'm giving telnet localhost 25 the sendmail server is working.But the 80 and 8080 ports are not getting configured.

-->I've tried adding the port and its name in /etc/services file but still its not working.

-->When I'm giving the command--/sbin/chkconfig --list--->Its shows: xinetd based services:

...
...

telnet on.what should i do to get my tomcat server work properly.

View 2 Replies View Related

Red Hat / Fedora :: CentOS 5.4 GFS2 - 3 Node Cluster

Feb 19, 2010

I have lack of understanding of CentOS in general. I have looked for a remedy on other forums and google, but haven't been able to find the answer. I have a 3 node cluster that was functioning great until I decided to go offline for awhile. My config is as follows:
node 2: vh1
node 3: vh2
node 4: vh6
All nodes connect to a common shared area on an iscsi device (vguests_root)

Currently vh2 and vh6 connect great, however since putting the machines back online I can no longer connect with vh1. A dmesg command on vh1 reveals the following:
GFS2: fsid=: Trying to join cluster "lock_dlm", "Cluster1:vguest_roots"
GFS2: fsid=Cluster1:vguest_roots.2: Joined cluster. Now mounting FS...
GFS2: fsid=Cluster1:vguest_roots.2: can't mount journal #2
GFS2: fsid=Cluster1:vguest_roots.2: there are only 2 journals (0 - 1) .....

View 1 Replies View Related

CentOS 5 Server :: 2-node Non-shared-FS Cluster On 5.2/3?

Apr 15, 2009

I'm having some trouble configuring clustering in a 2-node cluster, with no shared FS. Application is video streaming, so outbound traffic only...The cluster is generally ok - if I kill -9 one of the resource-applications, the failover works as expected. But it does not failover when I disconnect the power from the service owning node (simulating a hardware failure). clustat on the remaining node shows that the powered-down node has status "Offline", so it knows the node is not responding, but the remaining node does not become the owner, nor start up the cluster services/resource-applications. eth0 on each node is connected via a crossover cable for heartbeat, etc. Each eth1 connects to a switch.

[root@lmshw01 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster alias="lmshw-clust" config_version="35" name="lmshw-clust">

[code].....

View 3 Replies View Related

CentOS 5 :: 2 Nodes Cluster Hang At Startup?

Feb 17, 2010

I have an annoying problem with a 2 nodes cluster that I don't understand.

One of my server is totally shutdown.

When I start cman after a reboot on the other server, it hangs on "Starting fencing...". The process which is actually hanging is : /sbin/fence_tool -w -t 300 -m 45 join

When I start this program manually, I get this output :

# /sbin/fence_tool -w -t 300 -m 45 join
Waiting for all 2 nodes to be members
Waiting for all 2 nodes to be members
Waiting for all 2 nodes to be members
Waiting for all 2 nodes to be members
(and so on...)

What I don't understand is why the fence_tool program wait for the 2nd node to join the cluster and don't fence the other node.

Here is my cluster.conf :

<?xml version="1.0"?>
<cluster name="ctpsrv-bdd" config_version="7">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="20"/>
<cman expected_votes="1" two_node="1"/>

[Code]....

Would it be a good idea to edit the cman startup script and remove the "-w" option of command fence_tool join, so the command do not hang up ?

View 4 Replies View Related

CentOS 5 Server :: Cluster Node Does Not Want To Cooperate

Sep 30, 2010

I have a two node cluster, and a third system which has luci installed.

node1 is nfs0
node2 is nfs1

both nodes have identically the same configuration. They have a fresh installation of Centos 5.5 + yum update. I am unable to join nfs1 to the cluster, as it is giving me the following issue:

Sep 29 23:28:00 nfs0 ccsd[6009]: Starting ccsd 2.0.115:
Sep 29 23:28:00 nfs0 ccsd[6009]: Built: Aug 11 2010 08:25:53
Sep 29 23:28:00 nfs0 ccsd[6009]: Copyright (C) Red Hat, Inc. 2004 All rights reserved.

[code].....

View 1 Replies View Related

Server :: Cluster Heartbeat - Add To Cluster.conf?

Sep 3, 2010

configure a separate NIC for the heartbeat. what i need to add to cluster.conf to achieve this?

View 1 Replies View Related

Server :: Cluster Installation In Vmware Workstation With Centos

May 5, 2011

I just wanna simulate HPC and and other kinds of clusters in VMware workstation 7.0 , in my HP 520 laptop which is dualcore and 3Gb RAM. So can u please help me out regarding this.. I am interested to work in clusters. I am new to this hpc and other clusters..please can any one gve me document on cluster installation and configuration. I would be grateful to them.. I am using Centos OS.

View 4 Replies View Related

CentOS 5 :: Can't Find Local Node Name In Cluster.conf

Apr 21, 2009

Using google with search option: cman not started: Can't find local node name in cluster.conf /usr/sbin/ cman_tool: aisexec daemon didn't start.I found this URL...I have found the config_version in cluster.conf. Unfortunately, as everyone may have noticed, english is not my native tongue so I am having trouble understanding the part "Make sure you bumped the cluster config version number". Can anyone enlightened me on what should I be doing so that I could "bump" the cluster config version?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved