Tuesday, August 29, 2017
Scheduling Maintenance Tasks on the Domino Server
Scheduling Maintenance Tasks on the Domino Server
Im sure that most Domino admins have been doing these tasks regularly but if you dont have occasion to touch them often, you might this post useful.
As I mentioned last week, weve been having issues with the JVE running out of memory on our server. One of the "solutions" (band-aids) was to restart the domino HTTP task. Ive been experimenting to see how long I can leave it and the shortest its been is about 30 hours.
It seemed to be a good idea to stop and then restart the domino HTTP service on a timer. In admin-talk, that means a program document.
Procedure
The steps Im using here are for Domino 8.5.2 but I dont think theyve changed in years.
1. Start Domino Administrator
2. Click on the tab marked Configuration
3. In the left hand navigator,click on Server (and expand it)
4. In the left hand navigator,click on Programs
Typical things to find in here include;
- UPDALL -R
- COMPACT -B
- FIXUP
Note that the case on the parameters is very important.
Theres a good list of the parameters here.
Interestingly, today I stumbled across an old technote from IBM suggesting that these tasks shouldnt be programmed. Id be interested to hear comments from other people as to whether or not they do them on their servers.
Anyway, enough with the side-notes, were adding our own tasks.
5. Click on the big button marked Add Program
This takes you to a new screen (a new notes document).
a. The program name will usually be NSERVER (for Windows Servers) or - apparently - SERVER for iSeries. If you were doing the other tasks mentioned earlier (UPDALL, FIXUP or COMPACT), then the program name would be one of them. I looked for a document which listed the Possible Program names but couldnt find one. (IBM... this should be a picklist).
b. The Command line will change but if you want to run a domino command line, you usually start with -c and put the rest in inverted commas.
I created one document for each of these two and scheduled them 15 minutes apart - with the quit document running first obviously.
-c "tell http quit"
-c "load http"
I could possibly have used Tims excellent suggestion of "TELL HTTP RESTART" but I was too chicken to try it out on a schedule. Maybe later.
c. Pick your server... Luckily this IS selectable.
7. On the Schedule side of things, pick the days and times for the commands to run. If you dont want them repeating again throughout the day, leave the repeat interval as 0.
8. Finally, Click the Save and Close button.
Now I just have to sit here and wait until 4:15am... just kidding (I hope).
More Fun Ideas to Try
Youll find that you can run several commands at once by redirecting the input from a text file but Ill leave that for IBM to explain.
download file now
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.