Sponsored Content
Full Discussion: HACMP
Operating Systems AIX HACMP Post 302676267 by allwin on Tuesday 24th of July 2012 10:38:23 AM
Old 07-24-2012
Recent network change in our environment took more then 25 seconds. It is caused issue in cluster.

Secondary server took leadership since it is not get any response from primary.

But actually primary was up and running. After network established it is able to get response but already some of resources moved to secondary.

So primary is gone in to graceful shutdown.
 

10 More Discussions You Might Find Interesting

1. AIX

Hacmp

(0 Replies)
Discussion started by: mhenryj
0 Replies

2. AIX

HACMP (Again)

Hello I am a noobie to HACMP I have 2 55A servers and a 7031 disk subsystem For HACMP to work, do I need to have the hdisks on both servers to match the same drives?? The hdisks on each box are currently different: hdisk0 and hdisk1 are the internal disks and hdisk2-5 are on the D24 on... (1 Reply)
Discussion started by: mhenryj
1 Replies

3. HP-UX

HACMP in HP-UX

Hi, Can anybody advice whether it is possible to configure HACMP in HP-UX Server. To my knowledge HACMP is IBM Solution. Thanks && Regards, N. Poorna Chandra Rao. (2 Replies)
Discussion started by: npcrao
2 Replies

4. AIX

Did a Mistake with HACMP

Hi, I needed space on a FS, and when I've added the space on the filesystem, I did it trough the regular smitty fs inteface and not with smitty cl_lvm. Can someone help me to repair the situat before a faileover happen ? Thanks for your help,:mad: (13 Replies)
Discussion started by: azzed27
13 Replies

5. AIX

HACMP

Hi, Can we use network for heartbeat, I mean can we use different network card for heartbeat. (6 Replies)
Discussion started by: vjm
6 Replies

6. AIX

HACMP

hi can anyone explain the concepts of HACMP and configuration (step by step) (2 Replies)
Discussion started by: udtyuvaraj
2 Replies

7. AIX

HACMP does not start db2 after failover (db2nodes not getting modified by hacmp)

hi, when I do a failover, hacmp always starts db2 but recently it fails to start db2..noticed the issue is db2nodes.cfg is not modified by hacmp and is still showing primary node..manually changed the node name to secondary after which db2 started immediately..unable to figure out why hacmp is... (4 Replies)
Discussion started by: gkr747
4 Replies

8. AIX

Help with HACMP

Hi. We have a two node HA cluster. We got a request to change one of the VG name? Is there an option to do this online ? If it requires downtime can someone please explain me the steps for doing it ? Let me know if you need any outputs from the servers (1 Reply)
Discussion started by: newtoaixos
1 Replies

9. AIX

Hacmp

Hi, I have question about HA. I have 2 node cluster (node A and node B). I have configured network and disk HB. If my network is up and i remove both the fc cables from node A will my cluster failover to node B? I have checked and its not working, if i want my cluster to failover in this... (5 Replies)
Discussion started by: powerAIX
5 Replies

10. AIX

Hacmp

hello ive 2 nodes aix 6100-04-10-1119 with hacmp 6.1.0.0 my qustion is : can i add default gateway to one member node with hacmp a live or to do take over to realse one of the members ? thanks When it is urgent, then open the thread up in the appropriate subforum next time, thanks. (3 Replies)
Discussion started by: ariec
3 Replies
HASTD(8)						    BSD System Manager's Manual 						  HASTD(8)

NAME
hastd -- Highly Available Storage daemon SYNOPSIS
hastd [-dFh] [-c config] [-P pidfile] DESCRIPTION
The hastd daemon is responsible for managing highly available GEOM providers. hastd allows to transparently store data on two physically separated machines connected over the TCP/IP network. Only one machine (cluster node) can actively use storage provided by hastd. This machine is called primary. The hastd daemon operates on block level, which makes it transparent to file systems and applications. There is one main hastd daemon which starts new worker process as soon as a role for the given resource is changed to primary or as soon as a role for the given resource is changed to secondary and remote (primary) node will successfully connect to it. Every worker process gets a new process title (see setproctitle(3)), which describes its role and resource it controls. The exact format is: hastd: <resource name> (<role>) If (and only if) hastd operates in primary role for the given resource, a corresponding /dev/hast/<name> disk-like device (GEOM provider) is created. File systems and applications can use this provider to send I/O requests to. Every write, delete and flush operation (BIO_WRITE, BIO_DELETE, BIO_FLUSH) is sent to the local component and replicated on the remote (secondary) node if it is available. Read operations (BIO_READ) are handled locally unless an I/O error occurs or the local version of the data is not up-to-date yet (synchronization is in progress). The hastd daemon uses the GEOM Gate class to receive I/O requests from the in-kernel GEOM infrastructure. The geom_gate.ko module is loaded automatically if the kernel was not compiled with the following option: options GEOM_GATE The connection between two hastd daemons is always initiated from the one running as primary to the one running as secondary. When the pri- mary hastd is unable to connect or the connection fails, it will try to re-establish the connection every few seconds. Once the connection is established, the primary hastd will synchronize every extent that was modified during connection outage to the secondary hastd. It is possible that in the case of a connection outage between the nodes the hastd primary role for the given resource will be configured on both nodes. This in turn leads to incompatible data modifications. Such a condition is called a split-brain and cannot be automatically resolved by the hastd daemon as this will lead most likely to data corruption or loss of important changes. Even though it cannot be fixed by hastd itself, it will be detected and a further connection between independently modified nodes will not be possible. Once this situation is manually resolved by an administrator, the resource on one of the nodes can be initialized (erasing local data), which makes a connection to the remote node possible again. Connection of the freshly initialized component will trigger full resource synchronization. A hastd daemon never picks its role automatically. The role has to be configured with the hastctl(8) control utility by additional software like ucarp or heartbeat that can reliably manage role separation and switch secondary node to primary role in case of the primary's failure. The hastd daemon can be started with the following command line arguments: -c config Specify alternative location of the configuration file. The default location is /etc/hast.conf. -d Print or log debugging information. This option can be specified multiple times to raise the verbosity level. -F Start the hastd daemon in the foreground. By default hastd starts in the background. -h Print the hastd usage message. -P pidfile Specify alternative location of a file where main process PID will be stored. The default location is /var/run/hastd.pid. FILES
/etc/hast.conf The configuration file for hastd and hastctl(8). /var/run/hastctl Control socket used by the hastctl(8) control utility to communicate with hastd. /var/run/hastd.pid The default location of the hastd PID file. EXIT STATUS
Exit status is 0 on success, or one of the values described in sysexits(3) on failure. EXAMPLES
Launch hastd on both nodes. Set role for resource shared to primary on nodeA and to secondary on nodeB. Create file system on /dev/hast/shared provider and mount it. nodeB# hastd nodeB# hastctl role secondary shared nodeA# hastd nodeA# hastctl role primary shared nodeA# newfs -U /dev/hast/shared nodeA# mount -o noatime /dev/hast/shared /shared SEE ALSO
sysexits(3), geom(4), hast.conf(5), ggatec(8), ggated(8), ggatel(8), hastctl(8), mount(8), newfs(8), g_bio(9) AUTHORS
The hastd was developed by Pawel Jakub Dawidek <pjd@FreeBSD.org> under sponsorship of the FreeBSD Foundation. BSD
February 1, 2010 BSD
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy