Today someone asked me if Voicemail Pro on Linux would attempt an automatic restart if the service failed, as it would in Windows. Unfortunately the answer is a resounding NO!
I've been using Linux for years and I didn't see any technical reason why this couldn't be done. I decided to do some digging, and I believe that by making the changes I outline below to the Voicemail Pro service you should be able to have it automatically restart in the event of an abnormal termination.
DISLCLAIMER: I have not tested this in a production environment. This is not supported by Avaya. If you need this functionality you can implement this fix at your own risk. I suggest opening a GRIP Request with Avaya to have them add this functionality to a new release!
First, you will need to log in to the Application Server as the root user. Once logged in the next step is to edit the Voicemail Pro service. Enter the following command:
nano /etc/systemd/system/vmpro.service
This will launch the GNU nano editor, allowing you to modify the service directly. The image shown here is the configuration before any changes are made.
Restart=on-failureRestartSec=30sStartLimitIntervalSec=200StartLimitBurst=5
systemctl daemon-reload
No comments:
Post a Comment