EPM Lab – EPM Automate on Mac OS

May 19, 2019

It is good to hear the EPM Automate utility supports Mac OS starting from May, 2019. Previously, when scheduling automation jobs, we typically use EPMAutomate from a Windows system. If the server side is Linux or Mac OS, we would use Java or Groovy to call REST API to process automation jobs.

 

By supporting Mac OC, EPMAutomate opens a new window for us. This post will walk you through the process of setting EPMAutomate on a Mac OS. Linux system has very similar steps as of Mac OS.

 

Firstly, download the EPMAutomate if you have one of the EPM cloud solutions subscription.

Apparently, we would choose the Linux/Mac version. When it gets downloaded to our machine, we will notice the file is EPMAutomate.tar.

Extract the file. The shell file epmautomate.sh is under the bin folder. This file needs to be run in Terminal.

Before running the file, we have to make sure the java environment variables have set up properly.

First check the java version. For me, I have installed the long-time-support(LTS) Java SDK 11. Also, check the installation address.

Open the .bash_profile to check or update the java environment variable.

Now, we can start testing the EPMAutomate utility. Go to the bin directory, and then trigger the epmautomate.sh shell file.

At this point, if you have used EPMAutomate in a Windows system before, these syntaxes will be very familiar to you. We can test the Login and Help commands.

The best part of using Mac OS or Linux version is we are able update the shell or jar file to customize the EPMAutomate utility and make it more admin or user friendly. For example, open up the epmautomate.sh to update the shell scripts.

Other than supporting Mac OS, EPMAutoamte is now able to run multiple instance of the commands from the same installation directory. It is another big deal in my opinion. Hope you enjoy this post. See you next time.

 

 

Leave a Reply