12-02-2010
Make sure start and stop scripts are the same on both nodes. Do a synchronize to make sure the HACMP configuration is the same on both nodes. If the sync brings no errors try a failover and check in hacmp.out logfile what exactly fails.
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to implement the synchronize feature of java using C. I am using a semaphore for the same. I have a wrapper called "synch" to which I pass the function pointer(any_fn). This pointer points to the function (my_fn) which needs to be synchronized.
However to create the semaphore I... (8 Replies)
Discussion started by: linuxpenguin
8 Replies
2. Shell Programming and Scripting
Hi,
I have three Linux machine have three different times.
Can I synchronize them using one process?
I have root access.
Thanks! (1 Reply)
Discussion started by: whatisthis
1 Replies
3. Shell Programming and Scripting
I have 4 directory
Dir1
file1 file2 file3 file4
Dir2
file3 file5 file6 file8
Dir3
file1 file2 file6 file9 file10
Dir4
file3 file6 file12 file15
and all the 4 dirs are having couple of files.
Few of the files are common to other directory/ies and few... (1 Reply)
Discussion started by: reldb
1 Replies
4. Programming
I am writing a program in C for my networking class, so I am relatively new to this.
To begin, I have 7 processes that need do send messages to every other one, and every one of them needs to receive the messages sent by others.
I am using fork() to create 6 more processes.
The message... (1 Reply)
Discussion started by: inabramova
1 Replies
5. UNIX for Advanced & Expert Users
hi.
i am writing a c program under bash shell.
i would like to use semaphore functions like sem_wait(), sem_post()
and i included <semaphore.h> and it compailes fine
but when i try to run it gives me an error "undefined reference to sem_wait() , sem_post() , sem_init()"
what have i missed... (2 Replies)
Discussion started by: emil2006
2 Replies
6. Programming
i am trying to synchronize between father process and son process
created by fork() command, to print simultaneously.
my program is written in c under bash shell.
the compile goes ok but when i try to run nothing happens and the program doesnot end.
my code is:
#include <stdio.h>... (1 Reply)
Discussion started by: emil2006
1 Replies
7. Shell Programming and Scripting
Hi,
I have two servers1&2, one is not in the network. Cant communicate from it to other servers. The second one can communicate to above mentioned server. I am trying a script which synchronizes files between server 1 an 2?
server1: cant communicate to any other servers
server2: can... (4 Replies)
Discussion started by: Tuxidow
4 Replies
8. Shell Programming and Scripting
Hi everyone!
I need to write a script that will synchronize two servers using FTP. So basically the script will get only the files that exist on the remote server that do not exist on the local server. Is there an option to do this when using mget? If not, is there a way to copy over only the... (2 Replies)
Discussion started by: Fatbob
2 Replies
9. AIX
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
10. UNIX for Advanced & Expert Users
Hello, I have the latest stable release of a UNIX-like O.S. in the ISO format, and want to synchronize it with the latest Release Candidate (RC) of it, in order to reducing bandwidth usage. The ISO images for that O.S. is provided via different protocols including rsync, FTP and HTTP
Is this... (4 Replies)
Discussion started by: temp-usr
4 Replies
LEARN ABOUT SUSE
ocf_heartbeat_syslog-ng
OCF_HEARTBEAT_SYSLOG(7) OCF resource agents OCF_HEARTBEAT_SYSLOG(7)
NAME
ocf_heartbeat_syslog-ng - Syslog-ng resource agent
SYNOPSIS
syslog-ng [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
This script manages a syslog-ng instance as an HA resource.
SUPPORTED PARAMETERS
configfile
This parameter specifies a configuration file for a syslog-ng instance managed by this RA. (required, string, no default)
syslog_ng_binary
This parameter specifies syslog-ng's executable file. (optional, string, default /sbin/syslog-ng)
start_opts
This parameter specifies startup options for a syslog-ng instance managed by this RA. When no value is given, no startup options is
used. Don't use option '-F'. It causes a stuck of a start action. (optional, string, no default)
kill_term_timeout
On a stop action, a normal stop method(pkill -TERM) is firstly used. And then the confirmation of its completion is waited for the
specified seconds by this parameter. The default value is 10. (optional, integer, default 10)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 60s.
stop
Stops the resource. Suggested minimum timeout: 120s.
status
Performs a status check. Suggested minimum timeout: 60s.
monitor
Performs a detailed status check. Suggested minimum timeout: 60s. Suggested interval: 60s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a syslog-ng resource using the crm(8) shell:
primitive example_syslog-ng ocf:heartbeat:syslog-ng
params
configfile=string
op monitor depth="0" timeout="60s" interval="60s"
SEE ALSO
http://www.linux-ha.org/wiki/syslog-ng_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_SYSLOG(7)