Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Self healing service in SD 4.5

Highlighted
aks3183
Regular Collector

Self healing service in SD 4.5

Can we use self healing service for keeping a check on log file size. If yes then how and if not then what is it used for exactly?
6 REPLIES
Vasily Kamenev
Honored Contributor

Re: Self healing service in SD 4.5

Hi
Look on sd_serversupporttool.bat.
cretate one additional file and set in cron, execute in time when people not working or in time with low loading. I run at night, each 1-st date one file:

echo off
cd "%SD_SERVERHOME%\log"
net stop "hp OpenView service desk 4.5 server1"
CMD /C "%SD_SERVERHOME%\bin\sd_serversupporttool.bat"
del *.txt
net start "hp OpenView service desk 4.5 server1"

Rgs,
Vasily
aks3183
Regular Collector

Re: Self healing service in SD 4.5

Hi thanx for the reply.

But how does the code provided by you help in checking the size of log files(logserver.txt).Can you please elaborate on this?
Vasily Kamenev
Honored Contributor

Re: Self healing service in SD 4.5

After the service is stopped, the log file will be archived and copied to ..\server\support folder and deleted. after service start, the log file be empty and start collect infromation. Old log be in zip archive, you can look by needing.

Vasily
aks3183
Regular Collector

Re: Self healing service in SD 4.5

Hi Vasily thanx again,

How is sd_supporttool.bat helping in this case? What does it do?

The script you gave is somthng which is to be scheduled manually. Where does the automation come into picture means any out of box feature within SD.
Vasily Kamenev
Honored Contributor

Re: Self healing service in SD 4.5

This tool backup your log.
Why are you not read Ch.15 from sd45_Admin_guide.pdf.

Vasily
sandeep_
Member

Re: Self healing service in SD 4.5

Hey Akash,

I just wanted to remind you that you have forgotten to assign points. Please do so, this is what keeps us motivated to provide answers and to get answers to our queries.

Thanks,
Sandeep
//Add this to "OnDomLoad" event