Next Topic

Previous Topic

Home

Book Contents

Book Index

Icon Text - Topic Parent
How to install the MonTel Server and other MonTel service applications

Installing ServerSV

Open a DOS Box (console prompt) on the computer which will run the service in the MonTel Application directory. You will need to map a drive to be able to do so, if one has not all ready been mapped. Don't try to do an installation to the local drive, and the installer will want to know that it can access the serversv executable over a network.

On the command line enter: (For version 2.10.18 onwards)

ServerSV INSTALL
You will be prompted for the password for the specified account in the PABX.INI file.
Netwiz MonTel Server: Installing serversv.exe.
You are logged in as David.
Note that you will need to have administrator rights to be able to install this
service and also that the password entered below will not be tested against the
account shown. The service will not operate if the password is incorrect. (You c
an change it from the services control panel applet.)
Domain: 'DM14'
Login: 'David'
Password: *************
Netwiz MonTel Server: Path of service.exe: C:\Apps\MonTel\serversv.exe
Netwiz MonTel Server: Creating Service (Auto start).
Netwiz MonTel Server: Login as: 'DM14\David'
Netwiz MonTel Server: Granting login as Service right to: 'DM14\David' on 'DM14'
.
Netwiz MonTel Server: MonTel Server installed.
Netwiz MonTel Server: Adding service description to the registry.
Netwiz MonTel Server: Service description added.

Check the Services applet in Administration tools in Control panel to check that the service has been installed correctly.

If the account on which the installation is being performed does not have administrator rights, you will not be able to grant login as Service right to the account specified to run the service. Either remove the service and install it with an Administrator privileged account, OR changed the security permissions using active directory or the appropriate Microsoft tools.

Because to test a password against a local account in Windows 2000 you need to have 'act as part of the operating system' rights, the installation process is unable to test the pass word. You many need to change or correct it in the services control panel applet (from control panel).

Running the Service

By default the service is set to start automatically. You may wish to start it manual the first time to test that it is working.

C:\Apps\MonTel>serversv start
MonTel Server: Service MonTel Server start pending.
MonTel Server: is starting.
MonTel Server: please wait[....]
MonTel Server: is running.
MonTel Server: Started Service successfully.

You can also run ServerSV as a console application (to debug) by including the command line CONSOLE.

In the Console version, generally you would use a batch file to use the DOS errorlevel value to restart the batch file if the PABX.INI file was changed after setting ExitServerIfINIisUpdated =1. Since it is not possible to run batch files to (easily) restart a service the ExitServerIfINIisUpdated option has been expanded to include ExitServerIfINIisUpdated=2 which will restart the Server (Service or Console) internally, thus eliminating the requirement for an external batch file.

Command line options

Usage for Installation: serversv.exe [Options]

Options:

INSTALL [Password] - Install this service using the supplied password. The login name is specified in the PABX.INI file.

REMOVE - Remove or delete this service.

START - Start the service after installation.

STOP - To Stop this running service.

INTERROGATE - Updates and returns the current status.

QUERY - Returns the current status.

CONFIG - Returns the SCM service configuration.

CONSOLE - Run as a console application.

AUTO - Start the service when the computer starts.

MANUAL - Start the service manually only.

DISABLED - Disable the service (MANUAL to re-enable).

HELP - This information.

(Note: There are no command line switches - use just the words.)

Example:


C:\Apps\MonTel>serversv config
MonTel Server: is running.
MonTel Server: Display Name: Netwiz MonTel Server
MonTel Server: Description: 'MonTel Server is used to collect serial data from PABX and make it available to other users over the network.'
MonTel Server: Account Name: '.\David'
MonTel Server: Binary path: 'C:\Apps\MonTel\serversv.exe'
MonTel Server: Type: 'Win32 service that runs in its own process. (One service per file)'
MonTel Server: Start Type: 'Automatically. (By SCM during system startup.)'.
MonTel Server: Error Control: 'Logs the error and displays message box pop-up but continues the startup operation.'
MonTel Server: Load order group: ''
MonTel Server: Dependencies: 'NetLogon', 'MSDTC', '+Extended Base'



Note that if you do include a command line switch (say '-') it will print as message
to say they are not used and then display the help screen (above).


(Thanks to Dave Moyle in Melbourne for some of the testing and resolution of some of above issues.)

How to Monitor the Service

Use MtAdmin to both remotely start and stop the service, as well as see the call records and error messages.

How to

How to install other MonTel services

Use exactly the same steps as outline above. The command line options are the same. MtAdmin has a menu option for monitoring each MonTel Service.

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