Professional Documents
Culture Documents
Original Instructions
2020-11-11 | No: TIS0003929.002 en-US
Health and Production Information Server Table of Contents
Table of Contents
1 Overview................................................................................................................. 5
1.1 Acronyms and Definitions ....................................................................................................... 5
1 Overview
This document is a user guide for Health and Production Information (HAPI) server.
The content of this document is structured as:
• Section 1 provides overview of this document.
• Section 2 provides introductory information of the HAPI server.
• Section 3 provides information on downloading, installing, and configuring the HAPI
server.
• Section 4 provides details of the HAPI Diagnostics application.
The purpose of this document is to assist the end user of the HAPI server.
For further information concerning the operation of the Certiq system and HAPI server,
contact the administrator.
Abbreviation Definition
HAPI Health and Production Information server is a software that is present locally at
the mine that collects and stores data from Epiroc machines. It filters and pro-
cesses the machine data and transmits it to the Certiq Central Server. The ma-
chine data, logs, and settings can be viewed on the Diagnostic Application.
MPUP Mobile Pick Up Point is a hand held computer that acquires data from the on
board computer installed on the machines. The data is stored in the MPUP and
later transmitted to the HAPI server.
WLAN Wireless Local Area Network according to the IEEE 802.11 b/g standards
Health and Production Information (HAPI) server is an onsite server (or local server) of
Epiroc. It is typically located at the customer site.
System Overview
The HAPI server is a part of Certiq system. Its purpose is to store machine data which is
collected from the Epiroc machines. The HAPI server stores machine data to local SQL
database. It is also synchronized with the Certiq Central Server (CCS) so that the machine
data can be pushed from the HAPI server to CCS. From there, the machine data is made
available to different applications such as Certiq portal.
The Epiroc machines can store around 20 to 30 days of data locally. Whereas the local
SQL database of HAPI server has a capacity to store 30 days of data. So, in total 50 days
of machine data can be stored locally after which the machine data can be lost. To prevent
this loss of data, the HAPI server must be synchronized with the CCS and the machine
data must be periodically pushed to CCS. If the HAPI server does not synchronize data
with CCS for last 30 days, it stops collecting new machine data until it is synchronized
again.
Network Layout
To transfer the machine data from Epiroc machines to the HAPI server, the data carriers
are used. Either the site network infrastructure or the Mobile Pick-up Point (MPUP) can be
used as the data carrier. In absence of the site network infrastructure, MPUP is used as a
data carrier.
NOTE: The MPUP must be set up properly to simulate network or machine settings
! must be changed to connect to the MPUP.
Epiroc.Service.Measure- Retrieves data from the NATS streaming server and writes it to the IN-
ments FLUX time series database.
CLS API API to retrieve data from the local database (Certiq).
Epiroc.Connector.Mirror Retrieves data from NATS streaming server and publishes it to cloud
through API management.
Epiroc.Connector.Certiq Retrieves data from SQL database and publishes it to NATS streaming
server.
To install and configure the HAPI server application, follow the instructions that are pro-
vided in this section.
RAM 4 GB (8 GB is recommended)
Hard Drive 15 GB of free space for installation, database, and log files
Network Port HAPI server requires port 80 for its installation and service.
Make sure that no other service is using port 80 on the computer.
The installation package is expected, but not verified, to work on the following operating
systems:
• Windows Server 2016
• Windows 10 Pro / Enterprise / Home, all versions
1. Log in to the server with the admin account if needed and run the installation file.
è The Installing HAPI window displays.
3. Read the legal license notice (B) and to accept the license agreement, select I ac-
cept the license agreement (D). To proceed, click Next (C).
4. Select the option With database and click Next (E) to proceed with the installation.
5. After the installation is complete, the computer may require a restart. The restart is
conditional depending on which software packages are installed from the installa-
tion package during the installation process.
è After the restart, all the software packages are installed and the installation is
successfully completed.
6. If the installation fails and the Setup Failed message is displayed after the installa-
tion is finished or after restarting computer, do the following steps:
c. Copy all the log files that begin with Certiq_Local_Server_ and has a relevant
date.
1. Open a web browser on the computer and enter the following address to open the
HAPI diagnostics app.
http://localhost
Alternatively, click the shortcut on the desktop.
è The settings page displays. The CLS id (B) is visible at the top of the settings
page.
3. Copy CLS id and send it to Certiq support at Epiroc for enabling of HAPI in Certiq
Portal.
4. Once HAPI is enabled in Certiq portal, proper setup must be done by the Epiroc
Customer Center.
1. Open a web browser on the computer and enter the following address to check if
the HAPI server is connected:
https://certiq-ls.epiroc.com/LBOSyncGateway.asmx
è If the LBOSyncGateway web server window displays, then the HAPI server
is connected. If it does not open, then contact the local IT.
2. To check if the web browser (internet explorer) is using a proxy, check the settings
as follows:
a. Click the settings icon (A) and select Internet options (B).
3. If the conditions under the Automatic Configuration (E) are selected in the win-
dow, then add the following proxy settings in the CLS Sync settings page in the
HAPI diagnostics application as mentioned below:
a. Open a web browser on the computer and enter the following address to open
the HAPI diagnostics app or click the shortcut on the desktop:
http://localhost
4. Whereas, if the conditions under the Proxy server (K) are checked in the Local
Area Network (LAN) Settings window, then a proxy is in use. Make a note of the
Address (J) and Port (H).
5. Get the IP address of the proxy server. Take the noted address and turn it to an IP-
address number.
7. Replace the address (L) with the address (J) from the proxy settings dialog box on
the Internet Explorer.
8. Ping the proxy address (M), and note down the IP number of the proxy.
a. Open a web browser on the computer and enter the following address to open
the HAPI diagnostics application:
http://localhost
b. Open the setting page of the Epiroc.CLS.CLSSync service (refer step 3b).
c. Enter the IP address (R) from the ping command in the Proxy address bar.
d. Enter the port number (N) after the IP address in the Proxy address bar.
e. Set the Enabled to true (Q) and Use System Default to true (P) and the proxy
address as shown below.
a. Open a web browser on the computer and enter the following address to open
the HAPI diagnostics app:
http://localhost
b. Click the Show Logs button (S) for the CLS Sync.
d. If the error shows, then the Expect 100 Continue tab (U) must be set to false.
b. Check for any reference to an error like this: The request failed with
HTTP status 407: Proxy Authentication Required.
c. If the error shows, then set the Use Default Credentials tab (V) to true.
14. If this also fails, then set the Auto Detect tab (W) to true and click Submit to
restart the CLS Sync service.
The HAPI diagnostics application can be used to monitor HAPI services. It also allows the
user to view machines that are communicating with HAPI server and their connection sta-
tus.
A Settings Link to the settings page of HAPI diagnostics application. This set-
tings page consists of settings options that are common to all
HAPI services.
Platform Token: The platform token is an added layer of security.
It is required to access the services. The token will be provided by
Epiroc manually.
Connection String: Provides a connection string to the database.
If the HAPI server application is installed with database then a de-
fault connection string to the local database is displayed here.
Whereas if the application is installed without database, user can
setup a database using Create Database option and provide a
connection string to this database here.
Create Database: If the HAPI server application is installed with-
out database then user must create the database. Click Create
Database to create the database.
Login / Register / Re- While accessing the HAPI diagnostics application on remote com-
set puter, user must register (during first-time access) and login to this
application.
Login: Link to the log in page of HAPI diagnostics application.
Register: Link to the registration page of HAPI diagnostics appli-
cation.
Reset: Link to the password reset page of HAPI diagnostics appli-
cation.
For more details, refer to the Register and Login section.
Certiq API Quick link to the Certiq API portal. It opens the Certiq API portal
page on next tab of the web browser.
B Service The Service panel displays list of all HAPI services, currently run-
ning as well as expired. User can use this panel to monitor all ser-
vices.
For more details, refer to the Service Panel section.
C Machines The Machines panel displays list of all machines that are cur-
rently connected to the HAPI server. User can use this panel to
view the information regarding all the connected machines and
their communication status.
For more details, refer to the Machines Panel section.
! NOTE: The login accounts can be created only from the local server.
1. To launch the HAPI diagnostic application, access the following url in web browser:
http://localhost
è The HAPI diagnostics application Login page is displayed.
2. To proceed with the registration, click Register (A) or Register as a new user (B)
link.
è The Register page is displayed.
3. To create new credentials, enter Username and Password. Repeat the password
in Confirm Password. To proceed, click Register.
è New credentials are created. These credentials can be used while accessing
the HAPI diagnostics application from remote computer.
After a successful registration (during first-time access), to log in to the application on re-
mote computer, follow the procedure as given below:
1. To launch the HAPI diagnostic application, access the following url in web browser:
http://localhost
è The HAPI diagnostics application Login page is displayed.
To change the password for security reasons or if the password is lost, user can reset it.
To reset the password, follow the procedure as given below:
! NOTE: The reset password can be created only from the local server.
1. To launch the HAPI diagnostic application, access the following url in web browser:
http://localhost
è The HAPI diagnostics application Login page is displayed.
3. To create new password, enter Username and new Password. Repeat the pass-
word in Confirm Password. To proceed, click Reset.
è New password is created.
The Service panel of HAPI diagnostics application lists all the available HAPI services.
The panel displays all the currently running services (with green status) and old or expired
services (red in status). All the services and their connection details are provided in a tabu-
lar format as shown in the image above. User can use the Search feature to find any par-
ticular service from the list.
Parameter Description
Show Logs Displays log details of the service. For more details, refer to the Show Logs
section.
Status Indicates current connection status of the service. Following are the avail-
able status:
Green: indicates the active session of the service.
Red: indicates the older or expired session of the service.
Settings Displays the service settings. For more details, refer to the Service Settings
section.
NOTE: Clicking Show Logs displays the logs that are applicable to the selected ses-
! sion of the service.
The log page contains list of all logged events along with the date and time of creation de-
tails of each log. This information is helpful during troubleshooting to locate any particular
error that may have occurred. User can use Search feature to find any particular event or
error that is listed on the log page.
Control Description
Download Logs The log list can be downloaded in plain text format.
As depicted in the sample image, the settings page has different settings parameters.
However, each service has unique settings parameters.
The following table describes all the parameter of each service:
Sync Settings - CCS URL to get data to the Central Certiq Server
Gateway URL (CCS) and to the Certiq Portal.
Sync Settings - Idle This shows the data on how often the HAPI
seconds between synchronizes with CCS.
runs
Epiroc.Connector.Mirror Settings - Target API URL to connect with the API Manager
URL (APIM).
CLS API Windows Service Account details of the windows user that is
currently running the CLS sync service.
The Machines panel of HAPI diagnostics application lists all the machines that are cur-
rently connected to HAPI server. All the machines and their connection details are provided
in a tabular format as shown in the image above. User can use the Search feature to find
any particular machine from the list.
For each machine, the following details are available:
Parameter Description
Description Displays the name given to the machine during commissioning of the Certiq
system.
Data Received Displays number of data (in bytes) read from the machine.
Data Synced Displays number of data (in bytes) written to the machine.
Last Data Received Displays the timestamp of latest data fetch event.
epiroc.com