Datica Blog

Start Mirth Connect as a Service on Boot

Mark Olschesky

Mark Olschesky

Chief Data Officer

January 20, 2015   EHR

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.

Earlier

We Ask 20 Questions for Healthcare in 2015

Being fans of yearly predictions, we took Benedict Evans’ approach and applied it to healthcare. Here’s our guesses for 2015.

Next Post

Customers In The News: Crossover Health

Earlier this week Datica customer Crossover Health raised $15 million in new funding lead by Norwest. Crossover is a fantastic company with a smart idea.