If you install Lotus Sametime 8.5 on Windows you can create Windows services for the Websphere application servers as described in the Infocenter. I have created a script to make the creation process a little bit easier especially if you do have a number of servers. Maybe this would be helpful for others also.

At the beginning of the script you define some common parameters, like the drive and path where you have installed Websphere application server and the WAS admin user and password (needed to correctly stop the server). You then define the name of the WAS profile and the name of the WAS server.

Important: The service depedencies (to make sure the services are started in the correct order) are written via the Windows “SC” command. This makes sure that the registry keys are written in the correct way (the sample in the Infocenter shows “REG_SZ” values which is NOT correct, it MUST be “MULTI_REG_SZ” otherwise the dependencies are just ignored). Take care of the blank after “depend= “. If you omit that, it will not work!

The script also installs the services with the necessary parameters to make sure the log files are written in English regardless of the regional settings of the Wndows server.

Below you find a sample for the Sametime System Console and and a Sametime Meeting Server:

[codesyntax lang=”dos”  title=”Create Services for Sametime System Console”]

[/codesyntax]

[codesyntax lang=”dos”  title=”Create Services for Meeting Server”]

[/codesyntax]

If you want to delete the services again you can use the following script. Example is for a Sametime Meeting server:

[codesyntax lang=”dos”  title=”Remove Services”]

[/codesyntax]

Script to create Windows services for Sametime 8.5 servers
Tagged on:             

One thought on “Script to create Windows services for Sametime 8.5 servers

Leave a Reply

Your email address will not be published. Required fields are marked *