Programming :: KSH Script Behaving Differently On An HACMP Cluster Node (prod) & A Single Node (UAT)?

Dec 16, 2010

I have created a simple menu driven script for our Operations to take care of the basic monitoring and managing of our production application from the back-end. Now, the script when tested in UAT environment was fine, but when deployed to production it kind of behaved oddly.hen the Operator chooses an option from the menu he is given the output and at the end is prompted to return to the main menu by using ctrl+c. In production, this return does not occur for some strange reason and the program just sits there.The session becomes unresponsive after that and I'm forced to terminated it by closing the PuTTY.I tried enabling the debug mode too (set -x) and still was not able to find any useful hints/trails as to why.

View 5 Replies


ADVERTISEMENT

CentOS 5 Networking :: Setup The Cluster To Automatically Failover The Service To Another Node Case One Node Fails?

Mar 1, 2011

I am familiar with windows 2008 cluster servers, and I just started testing with centos cluster. I am creating a simple 2-node cluster, for a simple ping test.

Node 1: 10.0.0.1
Node 2: 10.0.0.1
Virtual ip: 10.0.0.10

So far, I can ping a virtual ip, and manually relocate it between the nodes, but I didn't figure out, how to do this automatically. So this is my question: How can I setup the cluster, to it automatically failover the a service to another node case one node fails?

View 1 Replies View Related

Server :: Node Failover And Another Node Take Over Resources On HA Cluster?

Oct 27, 2010

I don't have much experience in clustering. And I'm deploying a cluster system on CentOS.But I don't know how long a node failover and another node take over those resouces to continue running service is good, fast or slow? 1s, 10s or

View 2 Replies View Related

General :: Make A DRBD Node Start Itself As A Primary Node Automatically?

Jan 28, 2010

I've set up DRBD on 2 machines, 1 of them is the master, another is the slave.

After each bootup, I need to run the following on the master machine:

Code:
drbdadm -- --overwrite-data-of-peer primary all

Do we need to specify which machine should be the primary node every time? Is there any method to make the machine "know" it's itself the primary node?

View 1 Replies View Related

Red Hat :: Piranha With 2 Node Cluster?

Oct 2, 2009

after few days of hard work about redhat cluster and piranah, i have done 90% hopefully,but i am stuck with iptables rulesi am attaching full piranah server screen shot of my network .please have a look and please tel me, what else to do in piranah server ...a) from firewall (Lynksys) what ip shall i forward port 80 ?? ( 192.168.1.66 or 192.168.1.50 ??)b) Currently its looks like http request is not forwarding from Virtual server to real server , what iptables rules shall i write ?(Please have a look to iptables rules)also, this link for my piranah server setupi guess i am stuck somewhere where i need some experts eye to catch it upso please look at the all the pictures , ifconfig and iptables rulesifconfig :

ifconfig
eth0 Link encap:Ethernet HWaddr 00:0F:3D:CB:0A:8C
inet addr:192.168.1.66 Bcast:192.168.1.255 Mask:255.255.255.0

[code]...

View 14 Replies View Related

Server :: LVM On 2 Node Cluster - Getting Error

Oct 26, 2010

I am having an issue with LVM on a 2 node cluster. We are using powerpath for external drives. We had a request to increase /apps filesystem which is EXT3.

On the first node we did:
pvcreate /dev/emcpowercx1 and /dev/emcpowercw2
Then....
vgextend apps_vg /dev/emcpowercw2 /dev/emcpowercx1
lvresize -L +60G /dev/apps_vg/apps_lv
resize2fs /dev/apps_vg/apps_lv
Everything went on well , we got the /apps increased. But on the second node when I do pvs.

I am getting following error:
WARNING: Duplicate VG name apps_vg: RnD1W1-peb1-JWay-MyMa-WJfb-41TE-cLwvzL (created here) takes precedence over ttOYXY-dY4h-l91r-bokz-1q5c-kn3k-MCvzUX
How can I proceed from here?

View 1 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

Red Hat / Fedora :: Setup Two Node HTTP Cluster?

May 5, 2011

I want to setup two node http cluster,

View 1 Replies View Related

General :: Error While Building A 3-node Cluster ?

Jan 6, 2010

I'm building a 3-node cluster. I have created ocfs filesystems and mounted them on the first two nodes. But while mounting them on the third node , i'm getting this error for 8 of the total luns. all these 8 luns are of 1GB size.

I've unmounted these 8 luns from the other node and tried to mount in the third node ... and then it was working and again the error occurs in the second node. My observation was for some reason these particular luns are not allowing the third node.

mount.ocfs2: Invalid argument while mounting /dev/mapper/voting1 on /voting1. Check 'dmesg' for more information on this error.

dmesg output was :

I'm using RHEL 5.4

View 2 Replies View Related

Server :: Build A 2 Node Failover Nfs Cluster?

Feb 9, 2011

I am using Centos. I have read places that you can use Drbd + heartbeat + nfs to make a simple failover NFS server.I can't find any document that works though. I've tried 20 or so, including some Debian ones.So, does anyone have any other ideas of how to do this?Point me in the right direction please.I want 2 nodes. One to be actively serving an NFS share The other to be ready for failover. If the first one goes out, the second takes over.Meaning, the filesystem is in sync, the IP must change, and NFS must come up

View 7 Replies View Related

Server :: Redhat Cluster Is Not Moving On Second Node?

Oct 25, 2010

I have two node redhat cluster for mysql database.The problem is that after updating the packages on both of the nodes after and previously the sevices was not able to relocated on second one , even rebooting the server the problem occurs.While starting the service on second node it started on the first one.Other services are running fine on both nodes.I have checked the /etc/hosts, bonding and many more files and seems to good.find the log for reference.

<notice> Starting stopped service service:hell
Oct 22 14:35:51 indls0040 kernel: kjournald starting. Commit interval 5 seconds
Oct 22 14:35:51 indls0040 kernel: EXT3-fs warning: maximal mount count reached, running

[code]...

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 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

General :: Configure Two Node Cluster For Qmail-toaster?

Nov 20, 2009

I want to configure two node cluster for qmail-toaster?? My idea is.. if one server hardware gets failed it should transfer/migrate service to other qmail-toaster server with all settings like ... domains/users/password etc etc.

View 2 Replies View Related

General :: Install Redhat Os On Cluster Node Via Remotely Or Nfs?

Mar 18, 2011

I was given task to install redhat linux os on one of the compute node on server which doesn't have cd/dvd drive or usb port.I have installation media as well ISO image. This server is on network, so I can access it via my PC which is running window 7.I think, I have 2 choice to install:1. Copy iso image to head node on server and then install linux os on compute node via nfs.r2. Use my PC dvd drive to install linux on compute node via network.But I don't know how to do it.

View 2 Replies View Related

Server :: Cluster Configuration On Two Node In Linux 5.3_64 Bit?

Mar 10, 2010

Newly trying cluster configuration setup on RHEL5.3_64 bit machine.Basic Requirement :Need to Configuration GFS file systemHerewith I have shared details:

System : > I have 2 HP proliant Dl385 server.
> Both system are connecting on Public network. (eth0)
> I have connected eth1 - directly each other system like a Private Network (May be I am

[code]...

View 1 Replies View Related

Server :: Run Graphical Application On The Rock Cluster Node?

Jun 14, 2010

I am trying to rock cluster for the large computing. my all slave node connected with rock cluster master node. but I want to run the graphical application on the cluster node. I am not getting this point .

View 5 Replies View Related

Server :: Unable To Create 2nd Node In Redhat 5 Cluster?

Sep 17, 2009

I am trying to create a 2nd node from last couple of days but no luck.do this.I have gone through these article again and again:Here is my setup

node1 ( ricci + luci) : which is working fine
node2 (ricci only) : this is giving me problem
node1

[code]...

View 1 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

Fedora Servers :: Build A 3 Node Web Server Cluster To Run A Php Application ?

Feb 24, 2011

I need to build a 3 node web server cluster to run a php application. Since the app requires users to login (which means a session state is to be maintained), I will be sharing sessions save path, I also need to share the application directory across 3 nodes. I having trouble deciding which cluster file system to select.

View 5 Replies View Related

Ubuntu Servers :: How To Setup Based Cluster Configuration For Each Node

Jun 27, 2010

I need to setup an linux cluster ..so i prefer ubuntu because of support and i personally i use ubuntu.. and can any one explain in breif ..what all the things needed to setup an ubuntu based cluster my configuration for each node will be (totally 6 nodes) core2 duo with 4 gb ram i need 4 nodes and 2 for load balancing..

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

Server :: Made Cluster Node Fails To Start Sometimes On Account Of Nfs?

Mar 20, 2010

I've build a home-made small cluster built up of a master and 1 disk-less slave node.Lately it happens that the node 1 fails to start, reporting the following message:

IP-Config: Complete:
[ 12.318051] device=eth0, addr=192.168.100.21, mask=255.255.255.0, gw=192.168.100.2,
[ 12.414252] host=192.168.100.21, domain=mydomain.com, nis-domain=(none),

[code]...

View 12 Replies View Related

CentOS 5 :: Implementing A Two-node Cluster With Shared Storage (GFS) And IP Address?

Jul 8, 2009

I am working on the beginning of implementing a two-node cluster with shared storage (GFS) and IP address. Both machines are virtual on VMware ESX 3.5, that should not make a difference, but that is the background.current status is that I have a single node cluster built with only the IP address configured within the cluster. The issue that I am having is that I have configured a service to contain only the IP address resource, however, when I go into cluster management that "service" does not register. As such, I cannot bring it online, ping it, etc. below is my cluster.conf configuration:

<?xml version="1.0"?>
<cluster alias="tmbackup" config_version="10" name="tmbackup">
<quorumd device="/dev/sdb1" interval="1" min_score="3" tko="10" votes="3">

[code]....

View 1 Replies View Related

General :: Create A 2 Node Cluster On Centos5.2 With A Dell MD3000 As A Storage?

Sep 8, 2010

I am (and still) trying to create a 2 Node cluster on Centos5.2 with a Dell MD3000 as a storage. However I am getting this when I try to probe for storages in luci: An error has occured while probing storage:

<?xml version="1.0" ?>
<dict name="result">
<var name="diff" type="num" value="24"/>
<var name="max_inactive" type="num" value="600"/>

[code]....

And I also get errors on /var/log/messages end_request: I/O error, dev sdf, sector 0 Buffer I/O error on device sdh, logical block 0

View 2 Replies View Related

Applications :: Route Ssh Sessions From A Single Head Node To Multiple Slave Nodes?

Apr 7, 2010

My requirement is to route ssh sessions from a single head node to multiple slave nodes. So what i want is, for a client there is just one point of entry (master/head node) to ssh into, it evaluates the load on the slave nodes connected on to internal network and routes the ssh session, kind of a ssh load balancer. what open source solution i can apply for my problem?

View 1 Replies View Related

Networking :: Load Balancer - Ssh Sessions From A Single Head Node To Multiple Slave Nodes ?

Apr 7, 2010

My requirement is to route ssh sessions from a single head node to multiple slave nodes. So what i want is, for a client there is just one point of entry (master/head node) to ssh into, it evaluates the load on the slave nodes connected on to internal network and routes the ssh session, kind of a ssh load balancer. Do you have any idea what open source solution i can apply for my problem?

I have tried using LVS piranha, it works well for http and https load balancing but not for ssh load balancing.

View 4 Replies View Related

Security :: Server "hardening" - Users Accidentally Locking Cluster Master Node?

Nov 17, 2010

I run a compute cluster with only a few users. Occasionally a user will accidently run a job on the master node that runs out RAM/swaps then hanges up for a while.In /etc/security/limits.conf I have set memlock to 7.5GB (master has 8GB RAM) and maybe that is what lets the machine come back rather than hanging completely? Is this the right setting to physocally limit a single user from asking for more RAM than the system has and bringing down the system? Should I set this to 2GB or so or is there something else I can do??

View 4 Replies View Related

Server :: NFS Mount On 2 Node "cluster"?

Nov 16, 2010

We have a set of two production machines running Oracle databases. There are a couple of SAN attached filesystems of which one of them on the one machine (node1) is created as ext3 and nfs exported to the second machine (node2). However,during certain conditions related to rac, the interconnect between the two nodes lose connection and due to the loss of communication the servers will reboot. The problem however is that node2 usually reboots first and by the time it starts up, node1 is not up and running yet, thus causing the nfsmount to not be available on node2. I have put my head around some options on how to get the servers to automatically resolve this, however I am posting my question here as someone might have a reliable way of managing this. My one idea is to create a script on node2 to mount the nfs filesystem, create ssh key authenticated user between the nodes and then put another script in place on node1 as part of the startup to ssh to node2 and mount the filesystem.

View 1 Replies View Related

Programming :: Define A Structure Node In Graph?

Oct 27, 2010

I wanted to implement a graph.By graph I mean to say that I am writing programs for BFS,DFS and other such stuff and want to see them in action. For this I started writing a program.The first entry point is to define a graph. I took a pen and paper and made a graph. Now to be able to code this in C.I defined a structure but I am finding problem in defining this structure. I looked into Google and came across incidence list and adjacency list representation [URL] after understanding that I am not able to understand how do I define my structure that would be a node in graph. Here is what my graph looks like

Quote:

|-----------31
| |
| 2---4---6---8
| |

[code]....

View 3 Replies View Related







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