Sponsored Content
Full Discussion: cluster.log file
Operating Systems AIX cluster.log file Post 302479332 by ctsgnb on Friday 10th of December 2010 10:35:15 AM
Old 12-10-2010
if your cluster.log is file and not a directory, maybe something like
Code:
# make a copy of your log

cp /usr/es/adm/cluster.log /tmp/cluster.log

# zip the copy to avoid wasting too much space

gzip /tmp/cluster.log

# keep temporary the 300 last line of your logfile 
# put it back to your logfile in a replace (>) manner (not a append >> manner) AND using a cat
# so you won't loose the inode of the logfile so the process that is currently dealing with your logfile won't get fooled.

tail -300 /usr/es/adm/cluster.log >/tmp/cluster.log.tmp && cat /tmp/cluster.log.tmp >/usr/es/adm/cluster.log

# cleanup the temporary file you've used

rm /tmp/cluster.log.tmp


Last edited by ctsgnb; 12-10-2010 at 02:25 PM..
 

8 More Discussions You Might Find Interesting

1. High Performance Computing

Building a Solaris Cluster Express cluster in a VirtualBox on OpenSolaris

Provides a description of how to set up a Solaris Cluster Express cluster in a VirtualBox on OpenSolaris. More... (0 Replies)
Discussion started by: Linux Bot
0 Replies

2. High Performance Computing

SUN Cluster Vs Veritas Cluster

Dear All, Can anyone explain about Pros and Cons of SUN and Veritas Cluster ? Any comparison chart is highly appreciated. Regards, RAA (4 Replies)
Discussion started by: RAA
4 Replies

3. Solaris

Sun cluster and Veritas cluster question.

Yesterday my customer told me to expect a vcs upgrade to happen in the future. He also plans to stop using HDS and move to EMC. Am thinking how to migrate to sun cluster setup instead. My plan as follows leave the existing vcs intact as a fallback plan. Then install and build suncluster on... (5 Replies)
Discussion started by: sparcguy
5 Replies

4. UNIX for Advanced & Expert Users

Sun Cluster log rotation & compression

I currently have in root's crontab: 20 4 * * 0,3 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/eventlog 20 4 * * 0,3 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/DS 20 4 * * 0,3 /usr/cluster/lib/sc/newcleventlog /var/cluster/logs/commandlog there is no man page on... (1 Reply)
Discussion started by: rkruck
1 Replies

5. Solaris

Boot archive file sizes are different on cluster units

Hi experts, I would have a question on boot archive files on solaris10 platform running on T5220 cluster servers. When we check the /platform/sun4v directory , and perform boot archive-list , we see that on both units same files exist. And when we mount the boot archive we see that all files... (0 Replies)
Discussion started by: dyavuzy1
0 Replies

6. Solaris

Sun cluster 4.0 - zone cluster failover doubt

Hello experts - I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts. (1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over) (2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies

7. Red Hat

Cluster configuration file

Hi Everybody, I would like to know meaning of following parameters in cluster.conf file in linux <device name="blade_fence" blade="2" option="off" <clusternode name="Blade1-int" votes="1" nodeid="1"> what do you mean by "option=off" and "votes=1" Thanks (1 Reply)
Discussion started by: mastansaheb
1 Replies

8. AIX

AIX Cluster Show shared file systems.

Hello, I am working on applications on an AIX 6.1 two-node cluster, with an active and passive node. Is there a command that will show me which mount points / file systems are shared and 'swing' from one node to the other when the active node changes, and which mount points are truly local to... (6 Replies)
Discussion started by: Clovis_Sangrail
6 Replies
1.1.10-29.EL7(8)					  System Administration Utilities					  1.1.10-29.EL7(8)

NAME
1.1.10-29.el7 - Part of the Pacemaker cluster resource manager SYNOPSIS
crm_report -f "YYYY-M-D H:M:S" [-t "YYYY-M-D H:M:S"] [additional options] [dest] DESCRIPTION
crm_report - Create a tarball containing everything needed when reporting cluster problems OPTIONS
-V increase verbosity -v,--version software version --features software features -f, --from time time to start from: "YYYY-M-D H:M:S" (do not forget the quotes) -t, --to time time to finish at (default: now) -T, --cts test CTS test or set of tests to extract --cts-log CTS master logfile -n, --nodes nodes node names for this cluster only needed if the cluster is not active on the current machine accepts both -n "a b" and -n a -n b -l, --logfile file log file to collect, normally this will be determined automatically -p patt additional regular expression to match variables to be removed (default: "passw.*") -L patt additional regular expression to match in log files for analysis (default: CRIT: ERROR:) -M collect only the logs specified by -l -S, --single-node single node operation; don't try to start report collectors on other nodes -c, --cluster type force the cluster type (corosync,openais,heartbeat,logmaster) -A, --openais force the cluster type to be OpenAIS -C, --corosync force the cluster type to be CoroSync -H, --heartbeat force the cluster type to be Heartbeat -u, --user user ssh username for cluster nodes (default: root) -D, --depth search depth to use when attempting to locate files -e, --rsh specify the remote shell to use (default: ssh -T) --dest a custom destination directory/file dest a custom destination directory/file EXAMPLES
crm_report -f "2011-12-14 13:05:00" unexplained-apache-failure crm_report -f 2011-12-14 -t 2011-12-15 something-that-took-multi- ple-days crm_report -f 13:05:00 -t 13:12:00 brief-outage 1.1.10-29.el7 - 368c726 June 2014 1.1.10-29.EL7(8)
All times are GMT -4. The time now is 06:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy