Operating System - HP-UX
1854888 Members
4979 Online
104105 Solutions
New Discussion

consequences of stop and start hparray

 
SOLVED
Go to solution
kholikt
Super Advisor

consequences of stop and start hparray

I want to clear out some log at the / directory which appear to be hold up by hparray daemon.

What is the impact if I stop and start the following services?
/sbin/init.d/hparray stop
/sbin/init.d/hparamgr stop

Will this affect the availability of the server? Can I do it during the normal office hour? Any help will be appreciated
abc
2 REPLIES 2
Insu Kim
Honored Contributor
Solution

Re: consequences of stop and start hparray

The script, hparray, start and stop the functions required for C2430A, what we called CASCADE and hparamgr does the same thing for AutoRAID, FC60.
It starts deamon that monitors disk array at startup and kills it at shutdown.
Because it keeps track of disk array sub-system, it reports problems to console or designated places when something unexpected or undesirable happened.
And it creates log files at a given interval which is important when we troubleshoot problems.
If these log files bother you, I recommend that you delete old files using cron.

In the following example,
Any file greater than 7 days old and located in /var/opt/harray/log will be deleted.
# find /var/opt/hparray/log/ -mtime +7 -exec rm {} \;

It doesnt't effect system for you to stop these functions while system is up but you need it when you maintain disk arrays.

Best regards,
Never say "no" first.
Bill McNAMARA_1
Honored Contributor

Re: consequences of stop and start hparray

You won't be able to configure the arrays from the host as a result of stopping those daemons.
You can still use the array based config though.
Log files on the controllers may fill up if there are problems on the array too.
You should start them periodically and use the logprint and arraylog -C -c to flush the logs.

Later,
Bill
It works for me (tm)