Beruflich Dokumente
Kultur Dokumente
Document Management
Revision History
Version Date Summary of Changes
0.1 24/04/2016 Initial version.
0.2 27/04/2016 Changes after initial review
0.3 28/04/2016 Changes to recirculated document + additions
0.4 28/04/2016 Additions for Linux install and service
1.0 29/04/2016 Issued as version 1.0
1.1 15/03/2017 Update for new client version
1.2 28/07/2017 Review prior to release of revised Implementation pack
Reviewers
This document must be reviewed by the following people:
Reviewer name Title / Responsibility Date Version
Stuart Baskerville Spine2 Release Manager
Marta Raper Spine2 Project Manager
Sarga Moore MESH Service Manager
Kathryn Common Senior Communications Officer
Tom Daley Solution Assurance
Approved by
This document must be approved by the following people:
Name Signature Title Date Version
Ash Raines
Glossary of Terms
Term / Abbreviation What it stands for
API Application Programming Interface
DTS Data Transfer Service
EPR End Point Registration
HSCIC Health and Social Care Information Centre
keystore Repository for security certificates
MESH Messaging Exchange for Social Care and Heath
Copyright ©2017 Health and Social Care Information Centre Page 2 of 25
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Document Control:
The controlled copy of this document is maintained in the NHS Digital corporate network.
Any copies of this document held outside of that area, in whatever format (e.g. paper, email
attachment), are considered to have passed out of control and should be checked for
currency and validity.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Contents
1 Introduction 5
1.1 Purpose of Document 5
1.2 Background 5
3 Windows Installation 8
3.1 Overview 8
3.2 Install Software on Windows 8
4 Linux Installation 17
4.1 Install Software on Linux 17
4.2 Running the Client on Linux 17
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
1 Introduction
1.1 Purpose of Document
The Messaging Exchange for Social Care and Health (MESH) Client Installation Guidance is
intended for users who wish to use the MESH service.
MESH can support clinical and business processes requiring the transfer for data between
NHS and their affiliated organisations.
This document is applicable to new users of the service.
This document outlines the process for a new installation only and not the upgrade from an
existing MESH client installation.
The intended audience for this document is MESH installers (responsible organisations) and
end users.
1.2 Background
NHS Digital has developed a new service to support the transfer of data between NHS and
affiliated organisations. The Message Exchange for Social care and Health (MESH) is an in-
house provided service. It has replaced the Data Transfer Service (DTS) which was provided
under contract with BT. The provision of this new service has enabled NHS Digital to
introduce a number of service improvements and deliver cost savings.
In January 2016 NHS Digital transitioned the DTS Central Service from BT to the NHS
Digital MESH Service. In order to minimize any impact on end users NHS Digital provided a
DTS Adapter to support the continued use of the DTS client software and connections to
MESH. A migration from the DTS client software to the MESH client was completed in
December 2016, at which point the DTS Adapter was decommissioned. All connections to
MESH are now by MESH connection methods only, this means that the service is now
operated and managed completely by NHS Digital.
The transition means the new service can adapt more easily to emerging user requirements
in a more flexible and efficient manner.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Further information including supported platforms is included in the MESH client installation
pack on the NHS Digital website.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
3 Windows Installation
3.1 Overview
The following sections describe the installation method for installing the MESH client on a
Windows server. For installation of a new version of the MESH client over an existing client
see section
It is assumed that the user performing the installation has logged onto the server with
administration rights.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Step 3:
Run the file by either double clicking on it or Right-click on the jar file and select Open With,
then select the appropriate Java Runtime. Alternatively the jar file can be executed using the
following command:
• java –jar MESH-<version number>-installer-signed.jar
Step 4:
The following screen will be displayed:
Click the Next button
Step 5:
You will be prompted to select the installation path. The installation process will suggest a
path; this can be changed using the Browse button if required.
Note: Selecting the Quit button will stop the installation process.
Click the Next button.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Note: If the target directory does not exist you will be warned that the installer will create it.
If the target directory does exist you will be warned that the installer may overwrite files in
this directory. Confirm as required.
Click the Next button.
Step 6:
A default folder location for the install will be displayed. If you do not wish to install the client
into this folder location you have the option to change the location.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Once you are satisfied that the appropriate folder location is specified.
Click the Next button.
Step 7:
You will now be prompted to provide the details of the MESH Mailbox and the Mailbox Type.
The mailbox details will have been provided as part of the New Mailbox Request form on the
NHS Digital website. Ensure that the Mailbox Type is set to the default of MESH. For the
installation of a CP-IS – Child Protection client an alternate installation process is available
as additional detail is required.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Step 8:
A new feature of the MESH client is the Auto Update functionality. This feature ensures that
the MESH client being used is up-to-date by periodically checking with the MESH server
whether there is a new version to install.
The MESH client will check every two days that the version running is the latest. If a newer
version is available; it will automatically download the new version and install it. The update
process will stop the client running and a restart locally would be required as the final part of
the update process. Communications will be provided prior to the release of any new client
so that end sites have the opportunity to review their configuration. It is recommended that
this setting is enabled, however if Suppliers/Responsible Organisations wish to manage the
update process manually, this can be disabled.
Step 9:
The installer will now summarise the installation tasks it will perform.
If you are happy with your installation then click the Next button.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
NB - there is no step 6 of 10 screen presented to the user in the case of a client with a
Mailbox Type of MESH, step 6 of 10 is only applicable to a Mailbox Type of CP-IS, as in step
7 above. This is to support the requirement for input of additional information for CP-IS
mailbox configurations.
Step 10:
The installer will now install the required packages, once it has completed the following
screen will be displayed:
Step 11:
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
An xml file will be generated, an example is provided in the appendix to this document;
section 8.2. A default name for the script and folder location will be provided which can be
updated as required. Make any changes as appropriate and save the file for later use. An
option to cancel is also provided.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
If you do not wish to utilise this option to generate an installation script click Done to
complete the installation.
Step 13:
The installation of the MESH client software is now complete. A few further configuration
steps must be undertaken before the client is available for use.
The client software will have been installed in the following folder structure, unless changes
to the folder locations have been made by the installer during the process.
The configuration details for the client are held in the meshclient.cfg file. This file will need to
be edited to input the mailbox and authentication key details for the specific client. These
details should be available to the installer as detailed in section 2.4 Installation Pre-
requisites.
Using a text editor such as Notepad ++ or Microsoft WordPad edit the configuration file and
add the mailbox details and the authentication key. You will also need to add the password
for the keystore that has been provided via separate process.
Copyright ©2017 Health and Social Care Information Centre Page 15 of 25
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Step 14:
Once all the configuration changes have been saved the client can be started by double
clicking the runMeshClient.bat. If the client is running you will see the log file generated in
the folder defined in the meshclient.cfg file. The default folder location for the log file is
\MESH-APP-HOME\log for a new MESH installation.
NB: an uninstall option is provided and is located in \MESH-APP-HOME\Unistaller
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
4 Linux Installation
4.1 Install Software on Linux
Installation of the MESH client on Linux servers follows exactly the same process as that
detailed for a Windows install in section 4 of this document. The same java file installation
file is used; mesh-6.1.1_20170111-installer-signed.jar.
To run the install start a terminal session and enter the following command;
# java –jar mesh-6.1.1_20170111-installer-signed.jar
Follow the same detailed steps as documented for the Windows install.
As with the Windows client you will need to ensure that the Keystore has been populated,
that the desired log level has been set and that meshclient.cfg contains the correct file paths
and login credentials for your mailbox.
• To check that the Mesh client is running, type # jobs or # ps –ef | grep mesh
If the server is rebooted, the MESH client will need to be re-started again.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
new functionality can be made. It is not necessary to apply for a new security certificate. The
configuration for the client is contained in the meshclient.cfg file within the \MESH-APP-
HOME folder. The keystore is stored in \MESH-APP-HOME\Keystore.
Once the configuration file and keystore have been copied to the new installation the client
and/or service should be restarted. The old client files should be removed or archived once
the new client deployment has been assured and fully operational.
5.1.2 Install over existing installation
The installation pack on the website along with the installation wizard and technical
documentation includes the latest MESH client file (meshClient-6.1.1_20170111.jar).
This file can be introduced into an existing installation of MESH as a replacement for the
meshclient.jar file.
Step 1: Download the installation pack from the website and unzip the contents.
Step 2: logon to the machine where the client installation resides
Step 3: Stop the MESH client and/or service
Step 4: goto the \MESH-APP-HOME\ folder and rename the meshclient.jar meshclient.old
Step 5: copy the meshClient-6.1.1_20170111.jar file from the installation pack to \MESH-
APP-HOME\
Step 6: rename the copied meshClient-6.1.1_20170111.jar file meshclient.jar
Step 7: Restart the MESH client and or service
Step 8: review the log file to see that the new client is running as expected.
If changes are required to be made to the client configuration they can be made at this time.
The client and or the service will need to be stopped. The attributes held in the \MESH-APP-
HOME\meshclient.cfg file and be changed, the service will then need to be restarted.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Figure 14. The MESH client install folder after extracting meshclient_windows_service.zip.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
Figure 16. Systray icon double-click (for properties) or right-click (for basic menu)
6.1.4 Uninstalling
To uninstall the service, first ensure that it has stopped.
Double-click on mesh_service_uninstall.bat and this will remove the service but leave behind
the extracted files and folders for ease of re-creation should this be a required later.
Below are examples of how the MESH client can be run as a service, using upstart and
system; choose whichever is compatible with your system.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
author "HSCIC"
chdir /MESH-APP-HOME
script
./runMeshClient2.sh
end script
pre-stop script
echo 1 > ./sig/mexclient.sig
sleep 5
end script
Figure 17. Upstart Service mesh.conf
To run the MESH client as a service, first ensure that it is not running.
# service mesh start
The script needs to execute runMeshClient.sh but it was found that subtle changes needed
to be made to the syntax to get it to work! A second version called runMeshClient2.sh was
created.
#!/bin/sh
RESTART=true
while [ "${RESTART}" = "true" ]; do
RESTART=false
# If we get an exit code of 2 from the MESH Client, that means a restart is required.
if [ "${OUTCOME}" = "2" ]; then
# Apply any upgrades that have been downloaded
mv ./upgrades/meshClient-*.jar ./meshClient.jar
RESTART=true
fi
done
Figure 18. Upstart Service runMeshClient2.sh
[Unit]
Description=MESH Client Service
[Service]
WorkingDirectory=/MESH-APP-HOME
ExecStart=/bin/sh ./runMeshClient2.sh
ExecStop=/bin/sh -ec 'echo 1 > ./sig/mexclient.sig'
ExecStop=/bin/sleep 5
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
[Install]
WantedBy=multi-user.target
Figure 19. Systemd Service mesh.service
As with the upstart service, to get this to work changes need to be made to the original
runMeshClient.sh script the recommendation is to use the same runMeshClient2.sh used in
defining the service using Upstart.
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
8 Appendix
8.1 Example MESH Client Configuration File
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.
MESH Client Installation Guidance v1.2 28/07/2017
The Health and Social Care Information Centre is a non-departmental body created by statute, also known as NHS Digital.