WA2.3 Windows Services installation
This installation guide applies to Policy Renewal and Backup Windows Services v1.2.0 and later.
Implementation roles required: IT Officer / Developer
Video tutorial
https://www.youtube.com/watch?v=JdGRdtzpZ2w
The following Windows Services are available:
Policy Renewal service: periodically marks the policies that will expire in the near future to be renewed and updates the status of the already expired policies The openIMIS Windows Services are helping with the periodic activities which are required by the implementations.
Backup service: periodically creates a backup of the database
Install Windows Services
To install the Windows Service, proceed as follows for each Service:
Download and unzip the installation setup from the links mentioned in the available Services
Double click on the setup file
Select the installation path (for example
C:\Program Files\openIMIS\Windows Services
), and click NextClose after the installation completes
The installed Service should start automatically as indicated in the system tray. If not, browse to Programs menu and search for the Service name (the controller of the service) and execute it.
Fix broken services
To fix initial configuration files:
Run IMIS Policy Renewal (if an error window appears, click Continue)
Right-click the Policy Renewal icon in the system tray (lower-right corner of Windows) and click
Settings
Fill the newly-created window
Imis Renewal Policy
as follows (please adapt to your situation):Server:
.\SERVERNAME
Database:
openIMIS.1.3.0
User Name:
ImisUser
Password:
Pa$$w0rd
Time:
00:00
Interval:
24
Untick all
Send SMS to...
optionsClick Apply
Make a copy of the file ImisPolicyRenewal.exe.config inside C:\Program Files\openIMIS\Windows Services within the same folder
Rename the copy into ImisBackup.exe.config
To fix service startup:
Run Services
Locate
ImisBackup
andImisPolicyRenewal
, and do the following for each:Double-click the said entry
Click the
Log On
tabSelect the
Local System account
optionTick the
Allow service to interact with desktop
checkboxClick
OK
Right-click the said entry
Click either
Restart
orStart
(whichever is possible)Locate its icon in the system tray (lower-right corner of Windows)
Right-click the said icon and click
Settings
Fix field values, if needed
Configure the ImisPolicyRenewal Windows Service
This service is used to update insurance policies and runs every day at the specified time. It will do the following actions:
If it finds a policy which is about to expire within a specified period of time, it flags it as to be renewed. The list of policies to be renewed can be used by the Enrolment Officers to contact the concerned families. The default policy expiring period of time is 14 days.
Sets the policy status to expired to all policies that have expired in between this Service runs.
Sends SMS to insuree if their policy is about to expire so that they can renew the policy (optional).
After the service installation, the user has to set the name of the server, the database name, the SQL-server instance credentials, and the service schedule for checking which policy is to be flagged as expired policy.
The days specified before the exact policy expiry date is provided in the table tblIMISDefaults
under openIMIS Live database. The figure below shows the interface for policy renewal service.
Under the SMS gateway setting, you need to specify the URL given by SMS Gateway provider. You also need to provide the username and password to allow the service to send SMS to the insuree.
Configure the ImisBackup Windows Service
This service is used for database backup, after the service installation, the user has to set the name of the server, the database name, the SQL-server instance credentials, and the service schedule for the backups.
The backup location is specified in the table tblIMISDefaults under openIMIS Live database. The figure below shows the interface for the database backup service.
Previous step: WA2.2 Web Application installation | Go to parent: WA2. Set up the default openIMIS instance | Table of contents: Installation and Country Localisation |
Did you encounter a problem or do you have a suggestion?
Please contact our Service Desk
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. https://creativecommons.org/licenses/by-sa/4.0/