The short term solution is to truncate the log - assuming you don't need the contents.
create a file system say - /halogs - see crfs command. create it on all servers in the cluster.
easiest way to to alter HACMP configs is to use smitty hacmp. Change the log path. sync the cluster and you may have to restart HACMP.
regardless of what you do you should rotate the log on a regular basis. it's best to get it out of /usr for many reasons so I strongly recommend doing that.
This User Gave Thanks to frank_rizzo For This Post:
Hi Guys,
I have two nodes clustered. Each node is AIX 5.2 & they are clustered with HACMP 5.2. The mode of the cluster is Active/Passive which mean one node is the Active node & have all resource groups on it & the 2nd node is standby.
Last Monday I noted that all resource groupes have been... (2 Replies)
Hi Guys,
I have to design a multinode hacmp cluster and am not sure if the design I am thinking of makes any sense.
I have to make an environment that currently resides on 5 nodes more resilient but I have the constrain of only having 4 frames. In addition the business doesnt want to pay for... (7 Replies)
I have accidentally deleted the sim link:
/usr/lib/secure/s8_preload.so.1 -> /.SUNWnative/usr/lib/brand/solaris8/s8_preload.so.1
and now I can't do almost anything in my Solaris 8 container.
I still have an open session to the machine. I can not create the link again because trying to run:... (1 Reply)
This post just as a follow-up for thread https://www.unix.com/aix/115548-hacmp-5-4-aix-5300-10-not-working.html: there was a bug in the clcomdES that would cause the Two-Node-Cluster-Configuration-Assistant to fail even with a correct TCP/IP adapter setup. That affected HACMP 5.4.1 in combinatin... (0 Replies)
Hi,
I have a running HACMP Cluster with two nodes. Its working in active/passive mode. (i.e Out of the two nodes in the cluster one will be active and the other one will be on standby. If first node fails the other takes over)
1. There is a Service IP associated with the cluster. Now the... (2 Replies)
Hi,
I have a IBM Power series machine that has 2 VIOs and hosting 20 LPARS.
I have two LPARs on which GPFS is configured (4-5 disks)
Now these two LPARs need to be configured for HACMP (PowerHA) as well.
What is recommended? Is it possible that HACMP can be done on this config or do i... (1 Reply)
Hi
I have the following code which was supposed to clean up a directory when the number of files in that directory exeeded 2.The code is given below.
#!/usr/bin/ksh
dir_num=`/usr/bin/find /var/.audit -type d | /usr/bin/wc -l`
if
then
oldest_file=`/usr/bin/ls -1t | /usr/bin/tail... (19 Replies)
HACMP two-node cluster with mirrored LVM.
HACMP two-node cluster with two SAN storages mirrored using LVM. Configured 2 disk heartbeat networks - 1 per each SAN storage. While performing redundancy tests. Once one of SAN storage is down - cluster is going to ERROR state. What are the guidelines... (2 Replies)
Hello AIX experts,
I have few queries and appreciate if you could help me with them.
1. How to check if HACMP (or any other AIX OS cluster) is installed
2. How to check if HACMP (or any other AIX OS cluster) is running
3. how to check which Oracle DB instance is running on it
4. how to... (1 Reply)
Discussion started by: prvnrk
1 Replies
LEARN ABOUT OPENSOLARIS
scds_syslog_debug
scds_syslog_debug(3HA) Sun Cluster HA and Data Services scds_syslog_debug(3HA)NAME
scds_syslog_debug - write a debugging message to the system log
SYNOPSIS
cc [flags...] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev
#include <rgm/libdsdev.h>
void scds_syslog_debug(int debug_level, constchar *format...
DESCRIPTION
The scds_syslog_debug() function writes a debugging message to the system log. It uses the facility returned by the scha_cluster_getlogfa-
cility(3HA) function.
All syslog messages are prefixed with: SC[<resourceTypeName>,<resourceGroupName>,<resourceName>,<methodName>
If you specify a debug_level greater than the current debugging level being used, no information is written.
The DSDL defines the maximum debugging level, SCDS_MAX_DEBUG_LEVEL, as 9. The scds_initialize(3HA) function, which the calling program must
call before scds_syslog_debug(), retrieves the current debugging level from the file: /var/cluster/rgm/rt/<resourceTypeName>/loglevel.
Caution -
Messages written to the system log are not internationalized. Do not use gettext() or other message translation functions in conjunction
with this function.
PARAMETERS
The following parameters are supported:
debug_level Debugging level at which this message is to be written. Valid debugging levels are between 1 and SCDS_MAX_DEBUG_LEVEL,
which is defined as 9 by the DSDL. If the specified debugging level is greater than the debugging level set by the
calling program, the message is not written to the system log.
format Message format string, as specified by printf(3C)
... Variables, indicated by the format parameter, as specified by printf(3C)EXAMPLES
Example 1 Display All Debugging Messages
To see all debugging messages for resource type SUNW.iws, issue the following command on all nodes of your cluster
echo 9 > /var/cluster/rgm/rt/SUNW.iws/loglevel
Example 2 Suppress Debugging Messages
To suppress debugging messages for resource type SUNW.iws, issue the following command on all nodes of your cluster
echo 0 > /var/cluster/rgm/rt/SUNW.iws/loglevel
FILES
/usr/cluster/include/rgm/libdsdev.h
Include file
/usr/cluster/lib/libdsdev.so
Library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscdev |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO printf(3C), scds_syslog(3HA), scha_cluster_getlogfacility(3HA), syslog(3C), syslog.conf(4), attributes(5)Sun Cluster 3.2 7 Sep 2007 scds_syslog_debug(3HA)