Sponsored Content
Full Discussion: Linux cluster
Special Forums UNIX and Linux Applications High Performance Computing Linux cluster Post 302384152 by otheus on Monday 4th of January 2010 07:23:20 AM
Old 01-04-2010
You indeed have a cluster of Linux servers. What you are trying to do is to get your cluster to perform certain tasks in parallel. There are three different kinds of tasks you can do: (1) system administration, (2) compilation and making, and (3) task execution. So far people have commented on a solution for (2) -- pdcc and make -j can be used for this -- and for (3) SGE, but also openmpi. For (1) -- administration -- having only 5 computers is small enough to do it by hand -- ie, use command-line and scripts to synchronize the hosts. But but you can also use parallelizing remote execution tools such as pdsh or mussh, or cluster tools such as flamethrower and rdist to make your life easier.

To get all of the above from scratch, I highly recommend ROCKS, which will install a standardized linux framework on all the hosts, complete with monitoring, and a fully integrated parallel execution environment based on whichever "Rolls" you select (ie, SGE or Torque; OpenMPI or MPICH; Intel CC or GNU CC; etc).
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

linux cluster

I have created a linux cluster using ROCKS. I have 4 comps hooked up now. front-end plus 3 nodes. Looking for way to test the system to see how effective it is (and if it actually works). Any help would be appreciated. (1 Reply)
Discussion started by: skatinsky
1 Replies

2. Linux

How to setup Parallel Cluster in Linux

Hi, Hi, I work in NGO. They are migrating from windows to Linux. They can't spend so much money on servers. They have around 50 PCs. So I want to setup cluster on 2-3 PCs or more than that for setting up server. I am excepted to get their collective output. So that it will be compatible with... (5 Replies)
Discussion started by: neel.gurjar
5 Replies

3. High Performance Computing

Building a Linux Virtual Server cluster

Hi Guys, I'm busy building a LVS-NAT cluster on Red-Hat server 5.1 and I need a kernel that has LVS capabilities for a red-hat server 5.1. Is the anyone who can advise me where I can get this kernel. I have already visited the following site Ultra Monkey: and this has old kernels e.g. 2.4.20... (2 Replies)
Discussion started by: Linux Duke
2 Replies

4. Red Hat

HA Cluster solution for Linux - which one to use?

Hi all experts, I need your kind suggestions or feedback on choice of clustering software for red hat linux nodes running certain applications which I need to make highly available. Minimum requirement is 2 nodes; all nodes shall be active-active running distinct applications e.g. node 1 runs... (1 Reply)
Discussion started by: pshaikh
1 Replies

5. Shell Programming and Scripting

linux cluster

Hi all, we have setup one cluster with two nodes. -drbd -corosync -pacemaker -mysql -piranha sometimes, we loose connection between the two nodes (node 1 and node 2). When this happens, the two nodes starts both the services as masters,because they don't see each other. is there any way... (2 Replies)
Discussion started by: arrals_vl
2 Replies

6. Red Hat

Linux Cluster failover issue

Hi Guys, I am not much aware of clusters but i have few questions can someone provide the overview as it would be very helpful for me. How can i perform cluster failover test to see all the services are failing back to other node ? If it is using veritas cluster then what kind of... (2 Replies)
Discussion started by: munna529
2 Replies

7. UNIX for Dummies Questions & Answers

Linux Cluster or HA

hi guys Back in 2009 and 2010 I configured some clusters using Linux HA Heartbeat version 2.1.4 for suse 10 SP3 now I see Linux HA heartbeat is kind of outdated last release 2011, since I have to configure 2 new clusters I was wondering what do you recommend for cluster tool nowadays? I... (0 Replies)
Discussion started by: karlochacon
0 Replies
cmdisklock(1m)															    cmdisklock(1m)

NAME
cmdisklock - manage Serviceguard cluster lock devices. SYNOPSIS
cmdisklock check path cmdisklock [-f] reset path DESCRIPTION
cmdisklock is a tool to check the current state of a Serviceguard cluster lock device. It can also be used to reset the state of the clus- ter lock device. The need to reset the cluster lock device state could arise if the cluster lock device is replaced or becomes corrupt. A cluster lock device can be either an HP-UX LVM cluster lock or a cluster lock LUN device. HP-UX LVM cluster locks exist only on a disk in an LVM volume group. Cluster lock LUNs exist only on disks dedicated to cluster lock. cmdisklock is useful for checking either type of cluster lock and for re-initializing cluster lock LUN devices after a failure or corruption. NOTE To restore an HP-UX LVM cluster lock, use vgcfgrestore. cmdisklock will fail until vgcfgrestore is run, and cmdisklock is unnecessary as long as vgcfgbackup was done after the cluster lock was initialized. See the Managing Serviceguard manual for details. The syntax of the path option depends on the type of lock. For HP-UX LVM cluster lock disks, the syntax is VG:PV (for example: /dev/vglock:/dev/dsk/c0t0d2). For cluster lock LUN disks, the path is the disk device path. For example, /dev/sdd1 (on Linux) or /dev/dsk/c0t1d2 (on HP-UX). Options cmdisklock supports the following options: check Check the current state of the cluster lock device and report the results. reset Reset (initialize) the state of the cluster lock device. This operation should only be performed on a cluster lock LUN device. For HP-UX LVM cluster lock, use vgcfgrestore as documented in the Managing Serviceguard manual. After performing a reset, a check can be used to verify that the lock is cleared. EXAMPLES
If the cluster lock LUN device becomes corrupted and the cluster is up, messages like the following will appear in syslog. Mar 15 12:20:41 usb cmdisklockd[17599]: WARNING: Cluster lock LUN /dev/dsk/c0t1d2 is corrupt: bad label. Until this situation is cor- rected, a single failure could cause all nodes in the cluster to crash. Mar 15 12:20:41 usb cmdisklockd[17599]: After ensuring that all active nodes in the cluster have logged this message, run 'cmdisklock reset /dev/dsk/c0t1d2' to repair Mar 15 12:20:41 usb cmdisklockd[17599]: Cluster lock disk /dev/dsk/c0t1d2 is inaccessible Once the above messages appear in syslog on all running nodes, the following command will re-initialize the cluster lock LUN: ucd:/> cmdisklock reset /dev/dsk/c0t1d2 WARNING: Cluster lock LUN /dev/dsk/c0t1d2 is corrupt: bad label. Until this situation is corrected, a single failure could cause all nodes in the cluster to crash. After ensuring that all active nodes in the cluster have logged this message, run 'cmdisklock reset /dev/dsk/c0t1d2' to repair /dev/dsk/c0t1d2 is inaccessible Resetting cluster lock device /dev/dsk/c0t1d2 Cluster lock reset completed /dev/dsk/c0t1d2 is accessible cleared After the lock is restored, a message like the following appears in syslog: Mar 15 12:23:11 usb cmdisklockd[17599]: Cluster lock disk /dev/dsk/c0t1d2 is accessible WARNINGS
CAUTION For cluster lock LUN, reset is a potentially destructive operation. While cmdisklock checks for known volume manager and file system use (overridden by -f), it does not validate that the device to be reset is actually used by any cluster. If -f is used on the wrong device file, loss of data may result. CAUTION Care should be taken when doing a reset when the cluster is active as there is a remote possibility that the cluster will partition right when this command is run and both nodes could end up thinking they have successfully acquired the lock. To avoid this situation, make sure cmcld has logged a message in syslog on all running nodes saying the device is inaccessble, before performing a reset. Note that it is safe to run cmdisklock when the cluster is down. RETURN VALUE
cmdisklock returns the following values: 0 Successful completion. 1 The disk is inaccessible or is not recognized as a cluster lock. AUTHOR
cmdisklock was developed by HP. SEE ALSO
cmapplyconf(1m), cmviewcl(1m), vgcfgbackup(1m), vgcfgrestore(1m) Requires Optional Serviceguard Software cmdisklock(1m)
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy