Sponsored Content
Operating Systems AIX Which files can be deleted in /usr in an aix hacmp node? Post 302474543 by frank_rizzo on Wednesday 24th of November 2010 01:44:54 PM
Old 11-24-2010
The short term solution is to truncate the log - assuming you don't need the contents.

Code:
> /usr/es/adm/cluster.log

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:
 

10 More Discussions You Might Find Interesting

1. AIX

Node Switch Reasons in HACMP

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)
Discussion started by: aldowsary
2 Replies

2. UNIX for Dummies Questions & Answers

deleted /usr

I accidentally deleted the usr on/. How can I start the server again? (5 Replies)
Discussion started by: rahmantanko
5 Replies

3. AIX

hacmp in a 7 node configuration ?

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)
Discussion started by: zxmaus
7 Replies

4. Solaris

Accidentally deleted s. link /usr/lib/secure/s8_preload.so.1

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)
Discussion started by: qwertysas
1 Replies

5. AIX

HACMP 5.4.1 Two-Node-Cluster-Configuration-Assistant fails

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)
Discussion started by: shockneck
0 Replies

6. AIX

Service IP issue in HACMP, Working with only one node

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)
Discussion started by: aixromeo
2 Replies

7. AIX

Should GPFS be configured before/after configuring HACMP for 2 node Cluster?

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)
Discussion started by: aixromeo
1 Replies

8. Shell Programming and Scripting

Accidently deleted /usr contents.

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)
Discussion started by: chacko193
19 Replies

9. AIX

HACMP two-node cluster with two SAN storages mirrored using LVM

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)
Discussion started by: OdilPVC
2 Replies

10. AIX

How to check if HACMP is running on AIX node?

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
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)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy