Which files can be deleted in /usr in an aix hacmp node?


 
Thread Tools Search this Thread
Operating Systems AIX Which files can be deleted in /usr in an aix hacmp node?
# 1  
Old 11-18-2010
Data Which files can be deleted in /usr in an aix hacmp node?

Hi

Can ony one advise which files can be deleted in /usr in an aix hacmp node ? Im new to aix and Im not sure which files can be deleted ?

Code:
#df -g /usr
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd2           7.00      1.00   86%    67013    22% /usr
 
==================================================
 
find /usr -xdev -size +20480 -ls| sort -r +6
225319 88021 -r--r--r--  1 root      system    90133293 Oct 14  2009 /usr/lpp/sysmgt.websm/sysmgt.websm.webaccess/5.3.10.0.save/update.13
94399 87899 -r--r--r--  1 root      system    90008153 Jan 21  2009 /usr/websm/pc_client/wsmlinuxclient.exe
222236 65388 -r--r--r--  1 root      system    66956960 Jul 19  2008 /usr/lpp/lwi/lwiUpdate7.1.1.0.jar
225316 46146 -r--r--r--  1 root      system    47253400 Oct 14  2009 /usr/lpp/sysmgt.websm/sysmgt.websm.webaccess/5.3.10.0.save/update.10
94403 46146 -r--r--r--  1 root      system    47253400 May  2  2007 /usr/websm/pc_client/ibm-win32-jre.exe
226138 41280 -r--r--r--  1 root      system    42270720 Sep 10  2008 /usr/lpp/lwi/profiles.tar
225315 39062 -r--r--r--  1 root      system    39999381 Oct 14  2009 /usr/lpp/sysmgt.websm/sysmgt.websm.webaccess/5.3.10.0.save/update.9
94404 39062 -r--r--r--  1 root      system    39999381 May  2  2007 /usr/websm/pc_client/ibm-linux-jre.i386.rpm
53345 29534 -r-xr-x---  1 root      system    30242223 Feb 10  2006 /usr/lib/instl/.data/setup.jar
226135 26980 -r--r--r--  1 root      system    27627520 Oct 14  2009 /usr/lpp/lwi/lwi.runtime/5.3.10.0.save/update.3
222254 23910 -r--r--r--  1 root      system    24483840 Sep 10  2008 /usr/lpp/lwi/lwi.tar
34849 2324195 -rw-rw-r--  1 root      system    2379974692 Nov 18 08:14 /usr/es/adm/cluster.log
226134 22970 -r--r--r--  1 root      system    23521280 Oct 14  2009 /usr/lpp/lwi/lwi.runtime/5.3.10.0.save/update.2
22312 19888 -r--------  2 root      system    20364800 Apr 11  2009 /usr/lpp/bos.alt_disk_install/boot_images/chrp_5.3.0_boot
22312 19888 -r--------  2 root      system    20364800 Apr 11  2009 /usr/lpp/bos.alt_disk_install/boot_images/bosboot.disk.chrp
229612 18769 -r--------  1 root      system    19218944 Oct 14  2009 /usr/lpp/bos.alt_disk_install/bos.alt_disk_install.boot_images/5.3.10.0.save/update.3
86181 16936 -r-xr-xr-x  1 root      system    17342189 Apr  3  2008 /usr/lib/nsr/libstdc++.a
45223 15001 -r-xr-xr-x  1 root      system    15360312 May  2  2009 /usr/lib/boot/unix_64
213432 14716 -r-xr-xr-x  1 root      system    15068211 Oct 14  2009 /usr/lpp/bos.mp64/bos.mp64/5.3.10.1.save/update.1
258146 14582 -r-xr-x---  1 root      system    14931175 Feb 13  2009 /usr/ecc/eclipse/plugins/com.ibm.ecc.common_1.5.jar
254052 14077 -r-xr-xr-x  1 root      system    14413884 Feb  1  2008 /usr/ecc/lib/com.ibm.ws.webservices.thinclient_6.1.0.jar
42498 13256 -rwxr-xr-x  1 root      system    13573458 Mar 12  2007 /usr/lib/bmc/gcc-3.4.3/aix-5-3-rs-64/libstdc++.a
123567 12644 -rwxr-xr-x  1 root      system    12947240 Apr  3  2008 /usr/bin/nsravtar
81957 12148 -rw-rw-r--  1 root      system    12439552 Oct  5 17:05 /usr/lib/objrepos/inventory
45102 12076 -r-xr-xr-x  1 root      system    12364890 May  2  2009 /usr/lib/boot/unix_mp
213421 11882 -r-xr-xr-x  1 root      system    12166836 Oct 14  2009 /usr/lpp/bos.mp/bos.mp/5.3.10.1.save/update.1
   83 10960 -r--r--r--  1 root      system    11222252 Jul 12  2004 /usr/lpp/bos/AIX_file_list
286813 10521 -rwxr-xr-x  1 root      system    10772766 Nov 12  2009 /usr/lpp/DirectorCommonAgent/inst_root/var/opt/tivoli/ep/site/agent/subagents/plugins/com.ibm.usmi.agent.coreagent.usmiimpl_1.0.2.jar
225318 98156 -r--r--r--  1 root      system    100510852 Oct 14  2009 /usr/lpp/sysmgt.websm/sysmgt.websm.webaccess/5.3.10.0.save/update.12
94410 98033 -r--r--r--  1 root      system    100385713 Jan 21  2009 /usr/websm/pc_client/setup.exe
106671 34442 -r-xr-xr-x  1 bin       bin       35268154 Mar 24  2009 /usr/sbin/rsct/bin/hagsd
258256 34206 -r-xr-xr-x  1 bin       bin       35026246 Oct 14  2009 /usr/lpp/rsct.basic/rsct.basic.rte/2.4.11.0.save/update.35
225487 20911 -r-xr-xr-x  1 bin       bin       21411932 Oct 14  2009 /usr/lpp/bos/bos.rte.control/5.3.10.0.save/update.13
131214 20911 -r-xr-xr-x  1 bin       bin       21411932 Jan 10  2008 /usr/ccs/lib/libxml2.a
62438 20754 -rw-r--r--  1 bin       bin       21251078 Nov 23  2005 /usr/lib/nls/loc/lc_ctype_std.utf8
241690 15123 -rw-r--r--  1 bin       bin       15485041 Oct 14  2009 /usr/lpp/xlfrte.aix53/xlfrte.aix53/12.1.0.2.save/update.1
214079 15118 -rw-r--r--  1 bin       bin       15480439 Dec  2  2008 /usr/lpp/xlf/lib/aix53/libxlf90_r.a
241691 14810 -rw-r--r--  1 bin       bin       15164872 Oct 14  2009 /usr/lpp/xlfrte.aix53/xlfrte.aix53/12.1.0.2.save/update.2
214081 14805 -rw-r--r--  1 bin       bin       15159422 Dec  2  2008 /usr/lpp/xlf/lib/aix53/libxlf90_t.a
106848 10908 -r-xr-x---  1 bin       bin       11169754 Mar 27  2009 /usr/sbin/rsct/bin/IBM.ConfigRMd
12530 10440 -rw-r--r--  1 bin       bin       10690542 Oct 14  2009 /usr/lpp/X11/lib/R6/Motif2.1/libXm.a


Last edited by pludi; 11-18-2010 at 04:38 AM.. Reason: code tags, please...
# 2  
Old 11-18-2010
Hi,
if you didn't commit installed packages and you don't mind to commit them do so , it will free up some space in /usr.
# 3  
Old 11-18-2010
configure HACMP to log to a dedicated file system and then remove /usr/es/adm/cluster.log. That will free 2.3 GB.
# 4  
Old 11-24-2010
CPU & Memory HACMP query

Hi Frank_rizzo ?

>> configure HACMP to log to a dedicated file system and then remove /usr/es/adm/cluster.log. That will free 2.3 GB.

How to configure this ? Any suggestions please ?
# 5  
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:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question