Automating server startup

You Can View User Feedback To This Tip

Excerpted from Domino System Administration, by Ron Kirkland, published by New Riders.

----------------------------------------------------------

Normally, you want a Domino server to start up automatically, as soon as the computer starts up. For most of the server platforms, you would do this be adding a command line to a startup batch file or script. In Windows NT, you have to install Domino as an NT service, then configure the service to start automatically, There are two benefits to doing this. First, Domino will start when the computer starts. Second, it will run independently of any user session.

For example, under Windows NT you can log on as an NT user, then log off, and all the time Domino will run. You will see and be able to interact with Domino when you are logged on, and you will be able to stop it if necessary and restart it. But, you don't have to remain logged on to keep the server running, and you would have to if you did not start it as an NT service.

If you installed a server under Windows NT, InstallShield Wizard installed Domino as an NT service only if you chose to do a Customized install. If you just picked a server type, InstallShield Wizard did not set up the server as an NT service. In that case you would have to re-run InstallShield wizard and choose Customize or Custom Install at the appropriate point. You could then deselect every option except Domino as an NT Service. Installing only that option, InstallShield Wizard would take only a few seconds to run.

You can tell if Domino is installed as an NT service by opening the Windows NT Control Panel, then opening Services. [In Windows 2000, you have to open Administrative Tools, and then Services.] In the Services dialog box, look for "Lotus Domino Servers." It will be listed alphabetically. If you don't see it, then re-run InstallShield as described in the preceding paragraph.

If Domino is listed in the Services dialog box, you can see whether it is started and how it starts: Automatic, Manual of Disabled. It must be set at Automatic to start when the computer starts. If it is not, set it by clicking the Startup button. That displays the Service dialog box, where you can choose Automatic, then OK. [In Windows 2000, right click in the service and choose Properties. In the properties dialog box, click the drop-down list for Startup Type, and select Automatic.]

You can also manually start and stop the Domino server from the Services dialog box. Choose Start to start it and Stop to shut it down. Stop only works, of course, if Domino is running as a service. You can also stop Domino in the usual way (by entering "quit, "q," "exit," or "e" at the server console) whether or not it is running as an NT service. [In Windows 2000, there are Start and Stop buttons, as well as a Resume button, on the toolbar at the top of the Services window.]

----------------------------------------------------------

To learn more about Domino System Administration, or to buy this book, click here.


USER FEEDBACK TO THIS TIP

 

  • With regards to this tip, we at Requis Ltd. have found out that if you run Domino as a service, the server will boot up running American formatted dates. This is because the services boots up using the default NT Profile. Even if you change the regional settings in your control panel and check the set as system default then our servers were still running on American dates.

    A way we found around this problem was to manually change the default profile in the NT Registry ( Key folder name is HKEY_USERS\.DEFAULT\Control Panel\International ) to match the keys in the current profile ( Key folder name is HKEY_CURRENT_USER\Control Panel\International )

    Now when the server boots up it will run the British formatted date and currency.

    If anyone knows of an easier way around this problem we would be grateful if you could let us know. —Jeremy Collett / jeremy.collett@requis.com

This was first published in December 2000

Dig deeper on Domino Resources - Part 3

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close