- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Method to cleanup /var/opt/hparray/log weekly with...
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
03-01-2001 10:27 AM
03-01-2001 10:27 AM
Method to cleanup /var/opt/hparray/log weekly without shutdown?
-------------------------------------------
I found a procedure as follows:
1. Stop ARMServer daemon.
# /sbin/init.d/hparray stop
2. Backup /var/opt/hpparray/log to tape or other filesyatem.
3. Remove everything in array log directory:
# cd /var/hparray/log
# rm -i *
4. Create an empty catalog file in /var/opt/hparray/log
# touch /var/hparray/log/LOGCATLG
5. Restart the ARMServer:
# /sbin/init.d/hparray start
--------------------------------------------
Now for my question: Can the above procedure be run say weekly with cron without affecting the Oracle Datbase on the AutoRAID?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2001 11:37 AM
03-01-2001 11:37 AM
Re: Method to cleanup /var/opt/hparray/log weekly without shutdown?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2001 05:21 PM
03-01-2001 05:21 PM
Re: Method to cleanup /var/opt/hparray/log weekly without shutdown?
As long as you stopped the ARMServer first there will be no open files within the log directory. I don't see any reason why you CAN'T put the commands into a cron job. Also, the disk array hardware status will not be affected by this ARMServer process so it would not cause any problem to Oracle. Only the monitoring process will be unavailable for a while and that is all.
Regards,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2001 10:13 AM
04-09-2001 10:13 AM
Re: Method to cleanup /var/opt/hparray/log weekly without shutdown?
should do the job.
other than that have a look at the thread in sysadmin forum.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2001 07:55 AM
05-10-2001 07:55 AM
Re: Method to cleanup /var/opt/hparray/log weekly without shutdown?
I'm pretty much in the same situation as Tony.
I did the "/opt/hparray/bin/arraylog -C -c
also disabled the logging feature). But, it didn't clean the log on HP-Ux at /var/opt/hparray/log.
For now, I manually monitor those files; Which is
not the best solution at all, anyways! I'll have to
do a script that clean them up once a while.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 01:37 PM
03-15-2002 01:37 PM
Re: Method to cleanup /var/opt/hparray/log weekly without shutdown?
files are the array log entries but what the heck good are they. Last time I had a disk array problem, HP had me blow away the log files and the lock files (I stopped the ARMServer to do a firmware upgrade and it never say the drives after I brought it back up - definitely a soiled underware kind of day)