Sponsored Content
Operating Systems HP-UX Mount FIle systems from node-1 onto node-2 Post 302907695 by rbatte1 on Tuesday 1st of July 2014 07:07:07 AM
Old 07-01-2014
If you want to run different applications that reference them on both servers then you are not really in a cluster any more. The service that is protected by being in a cluster with consist of resources to be available, typically disk, IP address and service processes.

These resources in a standard cluster are only available on one node at a time, and for good reason. If you have people connecting to the standby server directly, then they need to be prevented from accessing the services being protected by your cluster.

You might have an Active-Active configuration, but this is really two discreet sets of services being protected by two clusters, but using the same hardware. The only exception to this would be a true database cluster such as Oracle RAC which truly shares the disk and offers services on both sides.

If you really need to provide what you describe, you could:-
  • Manage the disk as a cluster service, with it's own IP address and the NFS server included with node 1 active and node 2 standby
  • Manage your 1st business service with node 1 active and node 2 standby, mounting the disk with NFS from the IP address above.
  • Manage your 2nd business service with node 1 standby and node 2 active, mounting the disk with NFS from the IP address above.
You will need to stop people referring to the disk directly and get them to use the NFS mounted view.

I think that this would give you something nearer what you need. If node 1 were to fail, then the services running on node 2 would remain but you would lose the NFS disks until node 2 detected that node 1 had failed and brought up the disks and NFS to serve itself. At the same time, the business service on node 1 could be brought up on node 2 as they both rely on the NFS mounted disks. It might seem a bit odd to NFS mount to the same server, but that would mean you see the same view from either side.

An alternate would be to have the disks on a physically separate cluster just providing NFS to these two nodes.


It's a shame I don't know how to post a picture to better describe this. Smilie

Robin
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need to view all the attributes for a file/node

I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified, not the creation date. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to Samba. ... (2 Replies)
Discussion started by: dpalmer
2 Replies

2. Solaris

unable to mount metaset on cluster node

Dear all, I have created a shared metaset(500gb) having 3 hosts in which 2 hosts are in cluster and 1 is non cluster. I have taken the ownership in cluster node from non cluster node but the problem is i am unable to mount the file system it is giving error "/dev/md/eccdb-ds/d100 or /eccdb-ds... (1 Reply)
Discussion started by: spandhan
1 Replies

3. UNIX for Dummies Questions & Answers

I-node and sessions

I have a program (written by me, for educational purposes) called "analyzer". The program takes a parameter, a filename, and does some statistics on it (for example, word's number, line's number, ... ) at regular intervals. My teacher told me that if the file is edited while the "analyzer" is... (4 Replies)
Discussion started by: hurricane
4 Replies

4. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

5. Shell Programming and Scripting

Find Node and replace line(s) preceding in xml file

Hello, I have an xml file whose contacts are like below: <Node>Apple <B>Value1</B> <B>Value2</B> <B>Value3</B> </Node> <Node>Mango <B>Value1</B> <B>Value2</B> <B>Value3</B> </Node> <Node>Apple <B>Value1</B> <B>Value2</B> <B>Value3</B> </Node> <Node>Bannana (3 Replies)
Discussion started by: umarsatti
3 Replies

6. Programming

Kernel module - Check whether file (/dev node) exists

Hi, I'm pretty new to kernel coding and I'm working on a device driver that works with an existing framework. Basically my module will be loaded/unloaded multiple times and I'd like to create a register a class, driver, and create a /dev node on the first load only. The existing framework... (0 Replies)
Discussion started by: ThomasBrez
0 Replies

7. UNIX for Dummies Questions & Answers

Ssh tar file using slave node

Hi, I wanted to zip some files (very large files) on our cluster (centOS). I am told that I should use the head node for this as it would tie down the CPU. How can I do this using one of the other nodes in the cluster? For small files, I would just log into the cluster using ssh (ie. ssh... (1 Reply)
Discussion started by: pc2001
1 Replies

8. Homework & Coursework Questions

Accessing one UNIX node from another node of the same server

Hi Experts, I am in need of running a script from one node say node 1 via node 2. My scheduling tool dont have access to node2 , so i need to invoke the list file from node1 but the script needs to run from node2. because the server to which i am hitting, is having access only for the node... (5 Replies)
Discussion started by: arun1377
5 Replies

9. Shell Programming and Scripting

Except script fails to check file exists or not in remote node

Dear members, The following expect script connects to remote node and check for the file "authorized_keys" in directory /root/.ssh in remote node. However the result is always found even if the file exist or doesn't exist. expect { "$fname" { send_user "found\n" } Any idea what is... (4 Replies)
Discussion started by: Sudhakar333
4 Replies

10. Shell Programming and Scripting

Looping through XML file on basis of a node

<?xml version="1.0" encoding="UTF-8"?> <Document> <FIToFICstmrCdtTrf> <GrpHdr> <MsgId>10001</MsgId> <NbOfTxs>1</NbOfTxs> <IntrBkSttlmDt>2015-05-06</IntrBkSttlmDt> <SttlmInf> <SttlmMtd>CLRG</SttlmMtd> </SttlmInf> <PmtTpInf> ... (2 Replies)
Discussion started by: harish2015
2 Replies
CRM_STANDBY(8)							  [FIXME: manual]						    CRM_STANDBY(8)

NAME
crm_standby - manipulate a node's standby attribute to determine whether resources can be run on this node SYNOPSIS
crm_standby [-?|-V] -D -u|-U node -r resource crm_standby [-?|-V] -G -u|-U node -r resource crm_standby [-?|-V] -v string -u|-U node -r resource [-l string] DESCRIPTION
The crm_standby command manipulates a node's standby attribute. Any node in standby mode is no longer eligible to host resources and any resources that are there must be moved. Standby mode can be useful for performing maintenance tasks, such as kernel updates. Remove the standby attribute from the node when it should become a fully active member of the cluster again. By assigning a lifetime to the standby attribute, determine whether the standby setting should survive a reboot of the node (set lifetime to forever) or should be reset with reboot (set lifetime to reboot). Alternatively, remove the standby attribute and bring the node back from standby manually. OPTIONS
--help, -? Print a help message. --verbose, -V Turn on debug information. Note Increase the level of verbosity by providing additional instances. --quiet, -Q When doing an attribute query using -G, print just the value to stdout. Use this option with -G. --get-value, -G Retrieve rather than set the preference. --delete-attr, -D Specify the attribute to delete. --attr-value string, -v string Specify the value to use. This option is ignored when used with -G. --node-uuid node_uuid, -u node_uuid Specify the UUID of the node to change. --node-uname node_uname, -U node_uname Specify the uname of the node to change. --lifetime string, -l string Determine how long this preference lasts. Possible values are reboot or forever. Note If a forever value exists, it is always used by the CRM instead of any reboot value. EXAMPLES
Have a local node go to standby: crm_standby -v true Have a node (node1) go to standby: crm_standby -v true -U node1 Query the standby status of a node: crm_standby -G -U node1 Remove the standby property from a node: crm_standby -D -U node1 Have a node go to standby for an indefinite period of time: crm_standby -v true -l forever -U node1 Have a node go to standby until the next reboot of this node: crm_standby -v true -l reboot -U node1 FILES
/var/lib/heartbeat/crm/cib.xml--the CIB (minus status section) on disk. Editing this file directly is strongly discouraged. SEE ALSO
???, ??? AUTHOR
crm_standby was written by Andrew Beekhof. [FIXME: source] 07/05/2010 CRM_STANDBY(8)
All times are GMT -4. The time now is 11:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy