1819716 Members
3015 Online
109605 Solutions
New Discussion юеВ

House Keeping Policy

 
Harinath N
Frequent Advisor

House Keeping Policy

Hi,

Can anyone suggest a standard house keeping policy for HP-UX 11.00 and 10.20.

(Also the scripts for the cron jobs involved in the policy)

Thanks and Regards.
5 REPLIES 5
Stefan Schulz
Honored Contributor

Re: House Keeping Policy

Housekeeping is always individual. It depends on your environment (applications, users, services ...)

So you have to be more specific, as there is no such thing as a "standard house keeping policy".

For some information have a look at the documents at http://docs.hp.com. There you will find some general information an procedures. But i doubt this is not exactly what you are looking for.

Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Paula J Frazer-Campbell
Honored Contributor

Re: House Keeping Policy

Hi

Things to impliment.

1. pwck
2. grpck
3. sar
4. clean of /tmp and /var/tmp
5. monitor disk usage (% free)
6. make copies of files like passwd group hosts netconf etc
7. monitor utmp,btmp and wtmp size and entries
8. monitor syslog.log
9. monitor files created by root
10. monitor other file/dir permissions

These are just some of many.

There is no definative list as it depends upon the role of a server.


HTH

Paula
If you can spell SysAdmin then you is one - anon
T S_1
Occasional Advisor

Re: House Keeping Policy

Another thing to watch for is core files. Some applications often crash and leave core files behind, some are small, but others could be very large and can fill up the file system.

You could also implement quotas on certain users so as not to allow them to fill a disk. see quota man pages for details.

E. F.
David Goza
Occasional Advisor

Re: House Keeping Policy

Just a few things I do to keep my system going.

DEFRAG - If you have On-Line JFS, I run a Saturday Night cron job to fsadm my file systems.

/tmp Directory - I run a nightly cron which cleans out all the trash from my /tmp and /var/tmp dir's. Example Files - PRT*,sh*,*.ps, *.sh, U*

Log Files- Use SAM to view and control the size of your log files. The default list they give you in Sam is not inclusive, so you will have to research and find all the log files you want to maintain.

Other files to watch are Core files and audfiles. These can eat up disk space quick.

Hope this helps.
RAJESH GANGADHARAN
Regular Advisor

Re: House Keeping Policy

hi hari
In u'r case u can get the out put of performance monitors like perfview ,measure ware etc at a regular intervels
check for "core" files and remove them
cleanup of /tmp /var/tmp
checkthe log file like /var/adm/syslog/syslog, mail.log
/var/adm/wtmp
/var/adm/cron/log etc
trim the logfiles at regular intervels
update latest patches
keep a track of filesystem usage
take backup of system files like /etc/passwd /etc/hosts
keep a copy kernel parameters which u modified

again u can do some value additon depends on the site

regds
raj
Let the choices you make today be the choices you can live with tomorrow.