- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Daily maintenance?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 05:50 AM
08-24-2000 05:50 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 05:54 AM
08-24-2000 05:54 AM
Re: Daily maintenance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 05:55 AM
08-24-2000 05:55 AM
Re: Daily maintenance?
You're starting to do the right things. Check the following two threads for triggers for more:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf74a49c5ae73d4118fef0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2eb6119c3420d411b66300108302854d,00.html
And, last, but not least, keep participating in this forum!!!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 05:56 AM
08-24-2000 05:56 AM
Re: Daily maintenance?
Another command would be to run the print_manifest on the systems. This will detail for you the system layouts and will help tremendously if you have to rebuild a system.
The Ignite package is a no-cost package.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 05:57 AM
08-24-2000 05:57 AM
Re: Daily maintenance?
As well as what your already doing you should be checking logfiles for important errors;
1. /var/adm/syslog/syslog.log
2. root mail for any mailed errors from the system
3. use the dmesg command to check for important kernel errors
4. periodcially check the hardware logs using xstm (need to install OnlineDiag from the SupportCD)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 05:59 AM
08-24-2000 05:59 AM
Re: Daily maintenance?
What is sulog?
How to you check it?
I tried the command and it says not found, I did find it in /var/adm typed in sulog and nothing happend. I tried to vi it with no success.
What do I do with syslog.log? How do you check it and what am I looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 06:00 AM
08-24-2000 06:00 AM
Re: Daily maintenance?
What you are doing is already a good start!
Check the logs (especially /var/adm/syslog/syslog.log) for possible errors, notice that are repetetived tasks, try to make scripts and automated them. (Cron can help you with that).
Depends on your environment, you can check as well network, database, application, printer status.
See if you have glance and perfview to get some reports. If not, you can use vmstat and other tools to see what can be improved.
For daily stuff, not more... Be sure you have enough info (prints out, backup tapes0 and a strategy for DR (disaster recovery).
Will be good day, will be days as hell... Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 06:00 AM
08-24-2000 06:00 AM
Re: Daily maintenance?
A Unix System Administrator has quit a lot of responsibilities, too many to summarize in here.
There are a number of great sites on the www for us guys. A good starting point would be
http://www.ugu.com
There are links to sites on all possible flavours of our favorite OS.
Good luck,
Rik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 06:05 AM
08-24-2000 06:05 AM
Re: Daily maintenance?
in this file you will see all people doing su someone else (...)
I shoul add purging /var/adm/syslog/syslog.log is not just removing the file or >syslog.log
Do it properly:
# mv syslog.log syslog.log.old
and restart syslogd:
# cd /sbin/init.d
./syslogd stop
./syslogd start
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 06:13 AM
08-24-2000 06:13 AM
Re: Daily maintenance?
Some more links maybe (thats how I started...)
http://www.washington.edu/R870/
http://wks.uts.ohio-state.edu/sysadm_course/sysadm.html
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 09:22 AM
08-24-2000 09:22 AM
Re: Daily maintenance?
The make_recovery tapes allow you to recover from a bad situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 11:41 AM
08-24-2000 11:41 AM
Re: Daily maintenance?
Every so often make and print out a copy of the following:
/etc/hosts
/etc/passwd
/etc/rc.config.d/netconf
/etc/fstab
Also run these and save/print out the result file.
bdf > (filename)
ioscan -fun > (filename)
swlist > (filename)
There are probably some more that I'm not remembering, but a backup copy/print out of these can be helpful if things go bad.
Hope this helps,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2000 10:43 PM
08-27-2000 10:43 PM
Re: Daily maintenance?
Attached you find a script which can help you check your system.
It check's syslog, spooler, cron, corefiles etc. Run it as root and use what you need.
Good Luck
Comments to Bob.Gulien@croklaan.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 03:42 AM
08-28-2000 03:42 AM
Re: Daily maintenance?
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 07:17 AM
08-28-2000 07:17 AM
Re: Daily maintenance?
and change the variable "START_ACCT" from 0 to 1 in "/etc/rc.config.d/acct".
Accounting shows many nice things, like who accessed the system, which programs are used the most, who is the CPU hog, etc...
man acct should give you a good start.
A couple of other things pertain to being a bit anal about knowing your system. On my critical seats, I usually run "last" (see man last) and e-mail myself the output, as well as /var/adm/syslog/mail.log and /var/adm/syslog/syslog.log.
A good book to get you started is "Essential System Administration" published by O'Reilly of course!
Best o Luck!
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 10:31 AM
08-28-2000 10:31 AM
Re: Daily maintenance?
root 1598 2549 0 11:36:07 ttyd1p1 0:01 /usr/vsifax3/lbin/c2-fim -d fa
root 23953 1 0 Aug 24 ttyd1p10 0:00 /usr/lbin/uucp/uugetty -r -t 6
and my grep line
What is that on the 2nd line, uugetty, should that be killed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 11:12 AM
08-28-2000 11:12 AM
Re: Daily maintenance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2000 07:07 PM
09-01-2000 07:07 PM
SolutionTo utilize accounting after setup, you need to do a few things.
Make an entry if it does not exist in "/usr/lib/cron/cron.allow" for "adm".
Setup a cron job for adm at whatever schedult you want accounting to run. Usually, I run at exactly midnight, every night. You may not want weekends, or may want two or three times a day. Hey if you have three shifts, you may want each separate. See note below for multiples.
The cron job should simply run "/usr/sbin/acct/runacct" then "/usr/sbin/acct/pacct". Runacct will process all of the goods, pacct will check disk space, and shutdown accounting if disk space is low.
NOTE ABOUT HOLIDAYS: You will probably get an error "update /etc/holidays blah blah blah". If this happens, accounting will still run, but your file /etc/holidays contains the wrong year. Simply edit the file and put in the correct year.
The output location should be in "/var/adm/acct/sum" and you should have interest in two files. The first should be "rprt$MM$DD" where $MM is the month, and $DD is the day. The next is "loginlog" which shows the last time a user logged in to the host. (If you are really ambitious, the tacct$MM$DD is the C data, which you can write your own tools to extract and manipulate)
The rprt$MM$DD should be ready to print to your favorite printer :)
Special considerations.....
I have scripts that delete OLD data! It adds up quick. Usually, I compress last month, and delete previous month.
NOTE FOR MULTIPLE ACCOUNTING SESSIONS.
There is a file called "/var/adm/acct/nite/lastdate" which tells the accounting system the last time it was run. If you need multiple sessions in a day, this file should be removed. Also, your file rprt$MM$DD and tacct$MM$DD will be overwritten if not renamed. It is not hard to write a script to handle all of these tasks for you.
Best of luck, and have fun!
Shannon