Skip to main content

Scheduling Maintenance Tasks on the Domino Server

I'm sure that most Domino admins have been doing these tasks regularly but if you don't have occasion to touch them often, you might this post useful.

As I mentioned last week, we've 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. I've been experimenting to see how long I can leave it and the shortest it's 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 I'm using here are for Domino 8.5.2 but I don't think they've 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

This will take you to a screen where you can expand your servers and see what other regular tasks are scheduled. If you've inherited a domino admin job, this is one of those important things to check out.

Typical things to find in here include;
  • UPDALL -R
  • COMPACT -B
  • FIXUP
Note that the case on the parameters is very important.

There's a good list of the parameters here.

Interestingly, today I stumbled across an old technote from IBM suggesting that these tasks shouldn't be programmed. I'd 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, we're adding our own tasks.

5. Click on the big button marked Add Program

This takes you to a new screen (a new notes document).

6. Fill in the program name, command line and server to run on.

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 couldn't 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 Tim's 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 don't 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
You'll find that you can run several commands at once by redirecting the input from a text file but I'll leave that for IBM to explain.

Comments

Aquila said…
We use program docs to do Compacts -B and Updall -R once a week ... we also do a weekly reboot of the servers using programs docs.

I'm curious as to which technote you are referring to. Any chance of posting a link to it?
Anonymous said…
There exist a maintenance script written by Bastian W. which could be used for more autom. tasks ...

http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=Domino%20Maintenance%20Script
f.paul said…
This comment has been removed by a blog administrator.
@Aquila

From: http://www-01.ibm.com/support/docview.wss?uid=swg21088932

IMPORTANT NOTE: Development does NOT recommend running tasks such as updall or fixup using Program documents. These repair utilities are resource intensive and should be used only for repair purposes only. It is acceptable to run the compact task on a weekly basis ONLY if there is significant white space in the databases on the server. This should not be done during production hours or on a daily basis.

Popular posts from this blog

How to Change Your Notification Options for New Lotus Notes Mail in version 8.x

Don't worry, I'm not patronizing you (my readers), I just decided to re-document this for one of our internal users and thought you might want to be able to use it in your own user documentation. WHAT IS THIS DOCUMENT ABOUT? Some people who don't get a lot of mail, like to be notified when such an event occurs. Notification can be; via a sound via a pop-up box via the system tray (where the computer clock is) The pop up box looks like this; Other people, who like myself, get too much mail would rather not be notified. The aim of this document is to tell you how (and where) to turn these options on and off. CHANGING YOUR SETTINGS To change your settings from the Notes 8.x client; On the Menu, click File , then Preferences... On the left hand side , click on the little plus sign to the left of Mail to expand the options. Click on the option marked Sending and Receiving . In the middle section, under receiving, you can control your notifications. If you untick the box mark...

How to Create a Bootable DVD Using Nero Burning ROM 9

I often need to create bootable CDs and DVDs but it's weird because I frequently end up buring myself a new coaster instead. It's not that the process is difficult, just that nero has a few too many options and I forget which ones to choose and end up picking the wrong one. I figured that the best way to avoid this mistake in future would be to write the steps down. Procedure Insert CD or DVD into your DVD Burner. Start Nero Burning ROM 9 Choose DVD-ROM (Boot) or CD-ROM (Boot) depending on what you're creating You'll be prompted for a disk image source. Choose a Nero Source - you'll usually find them somewhere like this... C:\Program Files\Nero\Nero9\Nero Burning Rom\DOSBootImage.ima Leave the Boot Locale as English - unless you really need a different keyboard layout Tick the box marked [X] Enable Expert Settings Choose Hard Drive Emulation and leave any other settings as they are. Click the button marked New Add any files you want but don't try to add operati...

How to Create an Auto-Response Mail Message in Lotus Notes 8.5.3+

Why would you do this? Suppose that you have an externally accessible generic email address for your company; support@mycompany.com or info@mycompany.com. You might expose this to the web and allow people to send messages to you. Setting up an auto-response email will tell the senders that their message reached its destination and that it will be dealt with accordingly.  It's also good practice to include links to FAQs or other useful information. Why 8.5.3 The techniques we'll be using here work in older versions of Notes but some of the options seem to have moved around in 8.5.3.  I figured it was a good time to show you where they've moved to. The Procedure Start Domino Designer and open the Mail file to be modified.  A really quick way to do this is to right-click on the application tab and choose "Open in Designer". In the Left hand panel of designer, expand Code and then double-click Agents.  A new window should appear. Click the action ...