How To Create Microsoft Windows EPM/Hyperion Start and Stop Scripts

  • Date: March 28, 2016
  • Article by: Elysha Daly

People to tend to think that creating a master start/stop script, which can span multiple servers, is a difficult task.  Some Hyperion consulting firms out there even like to charge for such a beast.  They also try to convince you that you need to purchase their “specialized custom scripts” or “compiled start/stop programs” to do the job.  This just isn’t so!  Remember – anything they charge you for today, they’ll likely want to charge you to modify “tomorrow.”
There’s no secret sauce here folks.  There is no need to go spending your valuable money when all of the tools you need to create your own script are already in place within your Microsoft Windows infrastructure.  In the article below, we will show you step by step how to create your own custom Oracle EPM/Hyperion start/stop scripts which can be easily modified whenever you might need to do so.
Follow these quick and easy steps to create start and stop scripts for your Oracle EPM/Hyperion System running on a Microsoft Windows Operating system today!
On your Foundation Services Server, open/create a new text document using your favorite text editor.   We’re using the built in Notepad application from Widows (Start -> Run -> Notepad.exe).  I often add a few comment lines to the top of my scripts so it is a little easier to know which script I’m working with and what version of software it is for.
Save the document by clicking on File and then Save As…
Save the script and place it just under the Oracle location in a folder labeled “scripts.”  You can save it wherever you like, but if you place it here, it is less likely to be mistakenly deleted.  Please note that this is being saved as a .txt file.  This will be changed later, but to be safe, it should be saved in this format for now.
The first thing to add to your script is a command to start Microsoft Internet Information Services (IIS).  That is, if you are using it for any of the software within your Oracle EPM/Hyperion System deployment.  If you’re not sure if you require this, you can run a Oracle EPM Topology report and check to see if any of the following products are configured:

  • Financial Management (HFM – prior to release
  • Enterprise Performance Management Architect (EPMA)
  • Strategic Finance
  • Financial Data Quality Management (FDQM – not required for Financial Data Enterprise Edition Manager – FDMEE)

For local IIS instances:

iisreset.exe /start

When you need to start IIS on a remote server:

iisreset.exe remote-server-name /start

The first part of your start command will contain two items.  First, the  server where your service resides and second, what to do with that service.  Here you are asking it to start.

sc \<your-server-name> <switch>

In the example below, the”sc” stands for Windows Service Control, “Hyperion1” is our test server name and “start” is the action which you wish to perform using the “sc” command.

sc \Hyperion1 start

Now, it is necessary to find the “Service Name” of your Oracle EP/Hyperion services in order to use them in your start commands.  Click on the start menu and in ther query box at the bottom type: services.msc and press enter.
This will bring up the all the services that are running on this server.  It will not be limited to Hyperion/EPM products.  You will need to locate your services under either Oracle or Hyperion.  This depends on which version of the EPM/Hyperion system you are currently running.
Start by clicking the “Standard” tab at the bottom of the page and then scroll down until you find your services.  This example shows the many different services in this environment.  I will demonstrate the steps needed to finish your first start command.  The process simply repeats for each of these services.
I usually start with the “Oracle Process Manager” and then “Foundation Services.” Generally, in the more recent versions, aside from these two services, the order of starting is not critical.
Right click on Oracle Process Manager and select Properties.
The information in the Service Name box is what you need to highlight and copy.
This is the next component of your start script.  Be sure to add in the double arrows >> to set up the next part of your script.

"OracleProcessManager_ohsInstance4262192120" >>

This next part of your script creates a log that will keep the startup information for each command and time you run the script.
For example:


In this part of the command line you can control how long to wait before allowing the next command to run.  The “10” in “TIMEOUT /T 10” is equal to 10 seconds.  It also puts this information into that same startup.log file.

TIMEOUT /T 10 >> C:OraclescriptsServices_startup.log

This is a sample of the second start command.  It is preferable to start Foundation Services second.  Technically speaking, since the release of, there is no longer a need for a specific start sequence.  Our experience has shown that starting these two services first reduces occurrence of errors.
After copying the Service name from above, paste it into the next start command, as shown in the screen shot below:
Once you have completed all your commands for all of your EPM/Hyperion services,  save your work.  Then right click on the file and select “Rename.”
Change the .txt file extension to be “.BAT.”  This will convert your text file into a batch file. Click OK.
You will now have the ability to run this script.  Please be sure to right click on this file and select “Run as Administrator.”
It is now necessary to create a stop script.  You will follow the same steps as before but take notice of the slight changes in the commands.  Now instead of “start” you will use “stop” and you will replace “startup.log” with “shutdown.log.”
The order of processes to be stopped is best when reversed for the stop script.  The exception to this is the IIS stop command.  This can remain in it’s original position.
Remember to initially save the document as a text file.
Then when it is complete, and in place, change it to a batch file.
click Yes.
As with the start script, it is necessary to run the stop script as an administrator.  Simply right click on the stop script batch file and select “Run as Administrator.”
I hope this was an informative and helpful blog for you.  Here is a sample of the start/stop scripts used in this article:

ECHO ------------------Starting Oracle EPM System Services------------------
iisreset.exe /start
sc \Hyperion1 start "OracleProcessManager_ohsInstance3037049148" >> C:OraclescriptsServices_startup.log
TIMEOUT /T 10 >> C:OraclescriptsServices_startup.log
sc \Hyperion1 start "HyS9FoundationServices_Foundation1" >> C:OraclescriptsServices_startup.log
TIMEOUT /T 30 >> C:OraclescriptsServices_startup.log


ECHO ------Stopping Oracle EPM System Services-----------
iisreset.exe /stop
sc \Hyperion1 stop "HyS9FoundationServices_Foundation1" >> C:OraclescriptsServices_shutdown.log
TIMEOUT /T 10 >> C:OraclescriptsServices_shutdown.log
sc \Hyperion1 stop "OracleProcessManager_ohsInstance3037049148" >> C:OraclescriptsServices_shutdown.log
TIMEOUT /T 10 >> C:OraclescriptsServices_shutdown.log
Share me

Oracle Security Alert for CVE-2021-44228: Part Four

  • Date: Dec 16, 2021
  • Article by: Mike Turner
Read More

Oracle Security Alert for CVE-2021-44228: Part Three

  • Date: Dec 15, 2021
  • Article by: Jeff Henkel
Read More

Time for some Hyperion Spring Cleaning?

  • Date: March 22, 2016
  • Article by: Joe Malewicki

Well the first day of Spring has come and that means one thing, time for Spring cleaning!
Not only do we need to do this in our personal lives, but professional too.  Now is the time to take a good look at your Hyperion Infrastructure and see if there are some potential problems brewing or maybe a way to get a little more gusto out of your Oracle EPM System technical investment.
Give the experts at iArch Solutions a call to schedule your detailed assessment and ensure you are working on the most stable and secure environment.  Check out the link below to see how comprehensive of an assessment we provide our clients.
Learn more about iArch Solutions Hyperion Technical Infrastructure Assessment and Environment Reviews Services
iArch Solutions Hyperion Technical Assessment

Share me

Oracle Security Alert for CVE-2021-44228: Part Four

  • Date: Dec 16, 2021
  • Article by: Mike Turner
Read More

Oracle Security Alert for CVE-2021-44228: Part Three

  • Date: Dec 15, 2021
  • Article by: Jeff Henkel
Read More

2016 – The year of the Oracle EPM/Hyperion Upgrade!

  • Date: March 7, 2016
  • Article by: Joe Malewicki

2016 appears to be the year of the Upgrade!  There has been a common theme to many of the calls coming into iArch Solutions these past several months;

  • How do I upgrade?
  • How soon can you do it?
  • How much will this cost me?

Is your system running on the latest Oracle EPM software release  Corporations no longer need to rely on long term application and/or functional consulting engagements to perform an upgrade of their Hyperion system.  Leveraging a technical services firm for your software upgrade can prove to be a much more efficient option and lead to a huge savings in project costs.
Why do you need an upgrade?

  • Microsoft is ending support for older operating systems and web browsers.
  • Oracle’s lifetime support policy for releases.
  • Hardware warranty expiration.
  • Increase your system’s overall performance and stability.

At iArch Solutions, we are your technical UPGRADE experts, it’s what we do.  So, now that we have your attention, what are you waiting for?  Call our experts to discuss how we can help you upgrade today.

Learn more about iArch Solutions Installation and Upgrade Services

iArch Solutions Installation and Upgrades

Share me

Oracle Security Alert for CVE-2021-44228: Part Four

  • Date: Dec 16, 2021
  • Article by: Mike Turner
Read More

Oracle Security Alert for CVE-2021-44228: Part Three

  • Date: Dec 15, 2021
  • Article by: Jeff Henkel
Read More