January 20, 2015

Start Mirth Connect as a Service on Boot

Mark Olschesky
Mark Olschesky

Datica Alumni — Former Chief Data Officer

You want total uptime with your Mirth Connect servers. They should be resilient to the problems that usually beleaguer the healthcare cloud. This includes arbitrary reboots. Arbitrary reboots are the currency of the cloud and you should be prepared for them.

Did you know you can start/restart Mirth Connect as a Linux service? I wouldn’t be surprised if you didn’t. I’m a big fan of RTFM, but you aren’t really told in the manual or find it easily in a google search.

Mirth talks a lot about starting and stopping the service using the GUI, but you really want your servers to try to stand themselves up in the event of an unforeseen outage. This is pretty easy to setup.

First, if you were unaware, you can use mcservice (in Mirth 3.* anyways) like any regular Linux service with:

service mcservice start|stop|status|restart|force-reload

Your options are pretty self-explanatory. If you want to set mcservice to automatically start on start/reboot, you simply need to input:

sudo update-rc.d mcservice defaults

This will restart mirth on boot, which on a VM running SSDs usually occurs within seconds. If you have a setup like Datica where you have load-balanced, redundant servers ready to receive and process messages to incur a zero downtime outage. Otherwise, this should have you up and running again quickly and painlessly.

tag EHR

Related

Mirth Connect and Vulnerability Scanning

Datica Editorial Team

Periodic tips and tricks about Mirth Connect and HL7 integration.

event-note December 31, 2014

The Accelerating Migration to the Healthcare Cloud

Laleh Hassibi

Vice President of Marketing

In this article, we explore the migration to cloud computing in healthcare, the benefits of cloud computing in healthcare, and HIPAA cloud compliant hosting.

event-note April 11, 2017