Windows Services installation
Last updated
Last updated
The openIMIS Windows Services are helping with the periodic activities which are required by the implementations.
This Windows service periodically marks the policies that will expire in the near future to be renewed and updates the status of the already expired policies.
Download Policy Renewal service.
This Windows Service periodically creates a backup of the database.
Download Backup service.
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 Next
Close 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.
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...
options
Click 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
Run Services
Locate ImisBackup
and ImisPolicyRenewal
, and do the following for each:
Double-click the said entry
Click the Log On
tab
Select the Local System account
option
Tick the Allow service to interact with desktop
checkbox
Click OK
Right-click the said entry
Click either Restart
or Start
(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
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.
Each SMS Provider has it's own communication protocol. Please make sure that the published version is working with your SMS Provider. Otherwise, the SMS communication protocol needs to be updated in the source code for this integration to work.
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.