Showing posts with label Hyperion Admin. Show all posts
Showing posts with label Hyperion Admin. Show all posts

Monday, April 4, 2022

What is different about OHS server in Oracle EPM V11.2.7

 “Technology is no match for human errors.”

Every phase of every project, consultant will agree on this.
 
When we had referred the EPM V11.2.7 Installation-Configuration guide, remembered this point of explicit OHS restart. When actually coming to the end of configuration, checked Workspace URL and got following error.
Well, after remembering the OHS start point from guide, checked Workspace URL on Shared Services Weblogic port 28080 and it worked fine. We were able to access workspace. 


The first thing you may be wondering is: how do you start the OHS server? Well it's a change from the previous few versions as OHS no longer uses OPMN for this task. Instead it uses Node Manager. If you followed the official installation and configuration guide you should have a service like the below:

With that service running we have some helper scripts to get OHS online. Browse to MIDDLEWARE_HOME\user_projects\FND1\httpConfig\ohs\bin\. Then run the following command to start OHS and store the epm_admin credentials so you aren't prompted later:

startComponent.cmd ohs1 storeUserConfig

To stop OHS simply run the command:

stopComponent.cmd ohs1

From now on you can start OHS with:

startComponent.cmd ohs1


Above steps started the OHS server and hence workspace becomes available on 19000 port. 











Friday, August 28, 2020

EPM V11.2 Installers Overview


At Oracle Open World 2019, Al Marciante presented on the latest information related to the EPM On-Premises Applications Update.  Much awaited Oracle Enterprise Performance Management (EPM) V11.2 is available from Dec 2019.

Since then, Oracle is announcing a “Continuous Innovation” release model for Oracle Hyperion Enterprise Performance Management System 11.2, delivering ongoing applications and underlying technology stack updates without a major upgrade.

All EPM 11.2 for Windows download packages are available for download on Oracle Software Delivery Cloud.

Before diving into installation and configuration, we should understand installers of V11.2 well and here is an attempt.



Installers overview

We will be going through those components which are required to be unzipped to install and configure HFM and Planning/Essbase system either on single server or in distributed environment. Rest of the installers will be documented later.

 1)  V998755-01 - Oracle Enterprise Performance Management System Release Client Installers

This zip file contains following clients. As a result, we will end up in downloading the entire file even if we are interested in single client. It is similar to V11.1.2.4 client installers zip. The only difference is number of clients are reduced as most of components are discontinued in V11.2.2.

  • Planning (Planning SV Extension)
  • EAS Console
  • Essbase Client
  • CloseMgrSupplementalData SmartView extension
  • TaxOpsTaxSupplemental SmartView Extension

 Following clients from V11.1.2.4 are not present in V11.2.2.

  • Disclosure Management
  • EPMA client
  • Essbase Studio
  • HFM Client
  • FR studio
  • Oracle Interactive reporting client
  • Production reporting remote client
  • Predictive planning
  • Smart View
  • Strategic Finance Client

 This is different than V11.1.2.1 which was having separate installer for clients. (e.g. Essbase client was involved with Essbase installer)

 The combined zip for clients is started from v11.1.2.2. But IR and PR clients were in separate zip in V11.1.2.2.

 This installer zip is present in both HFM plus and Planning Plus.

 2)  V998784-01- Oracle Enterprise Performance Management System Release Installation Documents and Readmes

As name specifies, it contains all documentation part for Hyperion EPM V11.2.2.

It is present in both Planning Plus and HFM Plus suites

 3)  V933015-01, V933018-01_1of2, V933018-01_2of2

This set of 3 installers zip files contain FMW – Oracle Fusion Middleware.

Oracle Fusion Middleware 12c (12.2.1.3.0) is the latest release of the Fusion Middleware 12c (12.2.1) software

Oracle Fusion Middleware is a comprehensive family of products ranging from application development tools and integration solutions to identity management, collaboration, and business intelligence reporting.

 This has replaced Oracle Identity management in V11.2.4 - V37387-01

In v11.1.2.4, FMW 11g was present – 11.1.1.7.0 OIM – Oracle Identity Manager - Provides provisioning, reconciliation, request-based provisioning, self-service, and integration with heterogenous identity systems through connectors (LDAP, operating systems, mainframe/midrange, ERP packages, email/collaboration suites, databases, etc.)..

 4)  V998756-01- Oracle Enterprise Performance Management System Release Oracle HTTP Server

This file contains separate Oracle HTTP server. We can skip this component if we are planning to use weblogic server as web server. Weblogic server comes along with our Foundation services.

Ø  OHS

 5)  V998761-01- Oracle Enterprise Performance Management System Release Part 1

This is similar to the EPM System Installer and it contains

  • Installer (InstallTool.cmd)
  • Common products
  • Product common components
  • Essbase common components
  • Opmn

6)  V998765-01- Oracle Enterprise Performance Management System Release Part 2

This zip file contains:

  • Static Contents
  • Shared Services
  • Oracle Common Home
  • Tools – HSS Migration Utility

 7)  V998766-01- Oracle Enterprise Performance Management System Release Part 3

This file contains

  • DB client – 32 bit and 64 bit
  • Calc Manager
  • BIplus core services
  • BIplus financial reporting
  • BPM Architect

 8)  V998769-01- Oracle Enterprise Performance Management System Release Part 4

All the applications are bundled in this file.  In this upgrade case, We are interested only in HFM as those are used in our application, but we will still need to download Planning, strategic finance and all listed components. It then shows all these components while installation. Don’t get confused with unwanted components and ignore them while installation.

  • AIF
  • ARM
  • Financial Close
  • HFM
  • HPM
  • HSF
  • ODI
  • Planning
  • SDM
  • TaxOP
  • TaxProvisioning
  • TSS

This is very similar to v11.1.2.4 installer “Part 5 V74044-01 “

In v11.1.2.1, applications were distinguished among different installers zip files and we could download only required applications.

This did not cause any confusion while installing or configuring among applications

9)  V998771-01- Oracle Enterprise Performance Management System Release Part 5

This installer zip is present only in Planning Plus and not in HFM plus.

It contains Essbase related assemblies

  • Essbase services
  • EAS webapp
  • Essbase webapp


10)   V998779-01- Oracle Enterprise Performance Management System Release Part 6

This installer is all about Weblogic. It contains:

  • Weblogic Common components

 11)                   V998780-01- Oracle Enterprise Performance Management System Release Part 7

It contains setup files

 12)                   V998783-01- DRM

This is separate installer for DRM component which comes bundled with HFM plus or planning plus  

 

Wednesday, February 8, 2017

Monitoring Mechanism for Hyperion EPM V11.1.2.4

General

I was happy when we successfully implemented BACKUP mechanism for Hyperion EPM V11.1.2.4 system for the first client which was Logistic company from France. The further discussion popped up few more queries like "How many FTE's for monitoring and maintaining the Hyperion System?", "What kind of automation for monitoring tasks?"bla bla.
This expedited my thought process and finally we proposed and implemented adeptly a proper Monitoring mechanism for this client. And yes, the process followed for our successive clients from various domains - specifically - Oil and Gas company from Dubai, Courier Services Leader from Norway and Donuts chain from USA.
As the famous astronomer and author Carl Sagan has said:
Absence of evidence is not evidence of absence.

So might be the case that right now, we do not have an evidence that there is no issue with our Hyperion EPM V11.1.2.4 but there are some hidden issues present and we are ignoring due to lack of evidence.

So, here I am, trying to outline the few monitoring and maintenance activities to properly maintain and support Hyperion EPM V11.1.2.4 from an IT prospective.

EPM V11.1.2.4 Backup Steps

Hyperion Services Monitoring

All the services responsible for Hyperion EPM V11.1.2.4 application should be monitored regularly.
If any service goes down, that will generate an alert for Hyperion Admin group via email.

Hyperion Services Monitoring
Server
All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Services to be monitored
Hyperion Services on all above servers
Action 
Critical alert call – tickets for normal - if service goes down

Services to be monitored:
WebSvr1 and WebSvr2
Name                                                                                                                          Startup
Oracle Hyperion CALC Manager Java Web Application                                            Manual
Oracle Hyperion Financial Management – Web Tier                                                   Manual
Oracle Hyperion Financial Reporting Java Web Application                                      Manual
Oracle Hyperion Foundation Services Managed Server                                              Manual
Oracle Hyperion Reporting and analysis Framework Java Web Application              Manual
Oracle Hyperion Reporting and analysis Framework                                                  Manual
Oracle Process Manager (ohsinstance 1649849633)                                                   Manual

AppSvr1 and AppSvr2
Name                                                                                                                          Startup
Oracle Hyperion FDM Enterprise edition Java Web Application                               Manual
Oracle Hyperion Financial Management – Java Server                                              Manual
Oracle Hyperion Planning Java Web Application                                                       Manual
Oracle Hyperion Provider Services Java Web Application                                         Manual
Oracle Hyperion RMI Registry                                                                                    Manual
Oracle Hyperion Strategic Finance Java Web Application                                          Manual
Oracle Hyperion Strategic Finance Server                                                                   Manual

EssSvr
Name                                                                                                                          Startup
Oracle Process Manager                                                                                             Manual
Oracle Hyperion Essbase Studio Server                                                                     Manual
Oracle Hyperion Administration Services Java Web Application                              Manual

Hyperion Logs Monitoring

Hyperion log analysis report

Log Analysis Report
Server

All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Frequency
Daily
No of Backups before purging
30
Action
Send email to Hyperion admin with report as attachment only if there is error in report

Log Analysis utility is provided with V11.1.2.3 onwards.
But this is standalone utility provided in patch - - and can be used with previous versions as well.
PFA introductory demo of this utility.

Command = loganalysis.bat -system -d e:\Oracle\Middleware -o total_report
We should include this command to run once every day and send report to Hyperion if there is any error in report.

Periodic Cleanup of logs

Periodic cleanup of logs
Server

All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr

Frequency
Weekly
Action
Send email to Hyperion admin with report of logs modified after deletion

It’s important to keep the system clean. The Hyperion logs can get huge if left alone. Large log files can seriously impact performance as well. Periodic log cleanup is needed
Check logging.xml setting for each module of hyperion on ALL servers and modify to delete files after the size goes beyond 1GB

Sample logging.xml
<?xml version="1.0" encoding="UTF-8"?>
-<logging_configuration>
-<log_handlers>
-<log_handler class="oracle.core.ojdl.logging.ODLHandlerFactory" name="hfminterop-handler">
<property name="path" value="${logging.folder}/InteropJava.log"/>
<property name="maxFileSize" value="50000000"/>
<property name="maxLogSize" value="1000000000"/>
<property name="deleteFiles" value="true"/>
<property name="useSourceClassAndMethod" value="false"/>
<property name="useRealThreadId" value="true"/>
</log_handler>
</log_handlers>
-<loggers>
-<logger name="" useParentHandlers="false" level="INCIDENT_ERROR:1">
<handler name="hfminterop-handler"/>
</logger>
</loggers>
</logging_configuration>

Periodic Cleanup of application artifacts

Periodic cleanup of logs
Server

All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Frequency
Weekly
Action
Send email to Hyperion admin with report of logs modified after deletion

It’s important to keep the system clean. Over the years, we accumulate stale an unused reports, applications, data, etc. It’s especially important to ensure you remove and de-provision any users that are no longer valid. I recommend a quarterly cleaning. Stale security, applications, and data can impact performance and make upgrades messier.

Patches/Upgrades

Patches are released all the time. It important to keep updated on what’s out there. Just make sure you do not just simply install patches simply because they are out there. You should apply only those that exactly match issues and the products/configuration you have.
 
Patches/Upgrades
Server

All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Frequency
Semester
No of Backups before purging
Complete
Action
Ticket for Admin for analyzing new Hyperion patches and applying in system


Nightly jobs

Nightly jobs
Server

All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Frequency
Daily
Action
Send email to Hyperion admin with report as attachment
In almost every case there are nightly data loads, calculations, backups, consolidations, etc that run and these jobs need to run on time. We must be alerted if jobs fail. Monitoring, automating, and resolving issues with nightly jobs can be time consuming depending on the complexity and frequency.

Manual Health Monitoring of application

Manual Health Monitoring
Server

All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Frequency
Daily
Action
Send email to Hyperion admin with report as attachment

An IT staff should be prepared to periodically check the health of the system by fully logging in, checking logs, services, process, memory utilization and other system resources, etc. Of course this can be done programmatically using standard industry monitoring tools as well.

Periodic IT-Finance Meetings

IT-Finance Meetings
Server
NA
Frequency
Monthly
Action
Send MOM to all participants with action plan
I recommend a monthly meeting between the business users of the system and IT. It’s important to talk about general issues, service levels, root cause analysis of historical problems, performance, and what’s on the horizon for changes coming up.
Seem like a lot? It is. Is it a full time job? Depends. Either way, day-to-day maintenance activities like these can be a killer on today’s IT administrators that are supporting many enterprise systems at a time, not to mention implementing new projects constantly.
One option to reduce cost and risk but to ensure these activities are always being done is to leverage our Managed Applications group.  It is an affordable and flexible way to meet whatever service needs you have.

Tuesday, February 7, 2017

Hyperion EPM V11.1.2.4 Backup Mechanism

1.  General

Recently, I found myself indulged into backup of Hyperion EPM V11.1.2.4 environment for multiple clients. I am not sure how clients from different continents were interested in similar implementation or maybe I was pitched in for similar projects. But I enjoyed working for clients from different countries - different domains - to be specific - Oil and Gas company from Dubai, logistic company from France, Courier service leader from Norway, Donuts chain from USA ☺

As said by famous scientist Benjamin Franklin,
“An ounce of prevention is better than a pound of cure.”
That’s my aim here. I am trying to figure out basic backup mechanism for Hyperion EPM V11.1.2.4 environment to prevent the tremendous efforts required in case of failure.

For the smooth functioning of Hyperion EPM V11.1.2.4 environment, as the Hyperion implementer, My Company is required to define Backup procedure at different levels of EPM application.
This article provides general high-level guidelines on backing up and recovering Oracle's Hyperion products used in EPM application of our client company.

A good backup process is mandatory. There are two types of backups:
  1. Full server wide backup (while services are stopped) along with the database backups. This protects from a server wide issues.
  2. Object level backups including security, reports, applications, and data. This protects from individual object level issues or corruption.

The best approach is to do both, assuming you have the maintenance window to do so. Set a reasonable retention policy and store backups off-site. Restore procedures should be fully documented and tested. Your backup/Recovery and disaster/recovery procedures are only as good as your last full test. They should be tested annually.

2.  EPM V11.1.2.4 Backup Steps

OS Settings Backup

Windows registry settings and specific system variables in Windows environments should be backed up.
As per standards followed in industry, we should backup these settings once every week.

Windows Registry Settings

Windows Registry Settings
Server
All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Backup Frequency
Weekly
No of Backups before purging
5

This is the initial plan of backup. We will keep comparing backup versions for couple of months and if there are no changes in backup versions, we can reduce the frequency of backup.

Restoring Registry Setting

In case of modified registry, we need to replace registry from backup.


System Variable Backup

System Variable Backup Settings
Server
All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
Backup Frequency
Weekly
No of Backups before purging
5

This is the initial plan of backup. We will keep comparing backup versions for couple of months and if there are no changes in backup versions, we can reduce the frequency of backup.
  • ARBORPATH
  • ESSBASEPATH
  • HYPERION_HOME
  • EPM_ORACLE_HOME
  • Path

Restoring System Variable

In case of modified system variable, when we require to restore system variable, we need to just replace value of system variable from backup taken.

File System Backup

File system Backup Settings
Server
All Hyperion servers
WebSvr1, WebSvr2, AppSvr1, AppSvr2, EssSvr
File Share Server
Frequency
Weekly full and daily incremental
No of Backups before purging
5

Regular file system backups are recommended for following EPM System products:
  • Oracle Hyperion Foundation Services
  • Planning
  • Essbase
  • Reporting and Analysis
  • HFM
  • HSF
  • FDMEE
To back up the file system for EPM V11.1.2.4 application:
1.       Copy following folder from all Hyperion Servers to a storage device or another network location after we install or reconfigure EPM system
   MIDDLEWARE_HOME=“D:\Oracle\Middleware\”
2.       Perform a weekly full and daily incremental backup of following folder on all Hyperion Servers
 MIDDLEWARE_HOME=“D:\Oracle\Middleware\”
3.       Perform a weekly full and daily incremental backup of following folders on File Share Server
 LCM=“ E:\EPM_QA\LCM”
RAF=“
E:\EPM_QA\RAF”
FDMEE=
E:\EPM_QA\FDMEE”

Restoring File System Backup

To restore a database, replace the files on disk with the corresponding files from the backup.
The application should be stopped unless you are restoring from an export file

Database Backup

Regular backups of database content are recommended for these EPM System components:
  • Foundation Services
  • Oracle Hyperion Planning
  • Oracle Hyperion Essbase
  • Oracle Hyperion Reporting and Analysis
  • HFM
  • HSF
  • FDMEE
  • Calc Manager

These products do not use repository databases:
  • Oracle Hyperion Smart View for Office
  • Oracle Hyperion Provider Services

Foundation Services

Foundation Services Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_HSS
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for EPM Workspace and Shared Services:
·         Back up the Shared Services and EPM Workspace schema if in Oracle RDBMS

Essbase Administration Services

EAS Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_EAS
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for EAS:
·         Back up the EAS schema if in Oracle RDBMS

Essbase Studio Server

EAS Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_ESS
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for ESS:
·         Back up the ESS schema if in Oracle RDBMS

Reporting and Analysis Framework

RAF Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_RAF
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for RAF:
·         Back up the RAF schema if in Oracle RDBMS

Planning Application

Planning Application Database Backup
Server
Oracle DB server

ORADB – HYP_PLN
ORADB – HYP_PLNAPP1
ORADB – HYP_PLNAPP2
ORADB – HYP_PLNAPP3
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for Planning Applications:
·         Back up the Planning applications schemas if in Oracle RDBMS

HFM

EAS Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_HFM
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for HFM:
·         Back up the HFM schema if in Oracle RDBMS

FDMEE

EAS Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_FDMEE
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for FDMEE:
·         Back up the FDMEE schema if in Oracle RDBMS

CALC Manager

EAS Database Backup
Server
Oracle DB server
DB/Schema
ORADB – HYP_CALC
Frequency
Weekly full and daily incremental
No of Backups before purging
5

To back up the database for CALC:
·         Back up the CALC schema if in Oracle RDBMS

Application Backup

PLANNING

Planning application Backup
Server
http://Server:port/workspace/index.jsp
Frequency
Weekly
No of Backups before purging
5

We need to take backup of following artifacts of EPM PLANNING application from QA.
So, we are using couple of technologies to backup EPM PLANNING application.



Go to shared services URL as given below:
Navigate à Administer à Shared Services Console
Go to application groups à Planning à APPNAME
Select all artifacts



Click on Define Migration
Confirm source application. Click next.



 Execute the migration à Launch Migration report


Execute the migration à Launch Migration report



Once the migration is successful, go to following directory of LCM Backup on File Share Server
E:\EPM_QA\LCM
Copy the directory of migrated artifacts to the backup directory.

Restoring Planning Backup

Restore the planning application from backup using LCM using same procedure.


HFM

Planning application Backup
Server
AppSvr1, AppSvr2 – HFM Server
Frequency
Weekly
No of Backups before purging
5

We need to take backup of following artifacts of HFM application from QA and we are going to use CopyApp Utility or Import Application utility for the same.
CopyApp utility is located on HFM server at following location and need to run it separately.
Import application utility is available from workspace.

Essbase

Essbase Database Backup
Server
EssSvr –Essbase Server
Frequency
Weekly full and daily incremental
No of Backups before purging
5


Posten uses Block Storage Database cube. So we are going to follow procedure to backup BSO.


BSO Backup

Restore

Recover

Recover refers to the process of returning a database to a post-backup state that includes transactions that occurred after the backup was performed.

Restore refers to the process of returning a database to the state it was in when a backup was performed.

We are going to implement Backup and Restore for ESSBASE.

Backing up Block Storage Databases

1.       Places the database in read-only mode, protecting the database from updates during the archive process while allowing requests to query the database.
2.       Writes a copy of the database files to an archive file that resides on the Essbase Server computer.
To back up a database, we can use either EAS or MaxL and here we have specified the MaxL method.
alter database appname.dbname [force] archive to file BACKUP-FILE;
e.g. alter database Gefco.Gefco archive to file '/Oracle/Gefco19Aug16.arc';
3.       Returns the database to read-write mode.
Following Essbase database files that are backed up automatically using above process.
File
essxxxxx.pag
essxxxxx.ind
dbname.esm
dbname.tct
dbname.ind
dbname.otl
dbname.otl.keep
dbname.otn
dbname.db
dbname.ddb
dbname.ocl
essxxxx.chg
dbname.alg
dbname.atx

Apart from above files, following files are also required to be backed up. In our approach, we are backing up these files in File System Backup.

File
essbase.sec1
essbase_timestamp.bak
essbase.cfg
dbname.app
.otl
.csc
.rul
.rep
.eqd
.sel


Restoring Essbase Application

alter database appname.dbname [force] restore from file BACKUP-FILE
[replace disk volume VOL];

Data Backup

Essbase Data Backup
Server
EssSvr – Essbase Server
Frequency
Weekly
No of Backups before purging
5
This data backup takes care of data for Planning and Essbase applications.
HFM application data is already backed up using during application backup by selection data option.
Login to Essbase server and go to Start MAXL: Start > All Programs > Oracle  EPM > Essbase > Client >MAXL Client and type following commands with actual username and password.
- login username password;
- display session all;
- alter application APPNAME disable connects;
- alter system logout session on database APPNAME.DBNAME;



Start Essbase Export:
Type following 2 command:

Export database APPNAME.DBNAME all data to data_file 'F:\\0322s.txt';


After completion of Export:
After completion of export execute following command

alter application APPNAME enable connects;


Restoring Data

When you reload data that has been exported, it is marked as input data. If you reload data exported from level-0 blocks or input blocks, you must recalculate the database after reloading.
When Essbase recalculates the database, it recalculates every data block.
If you export all data in a database and then reload, Essbase marks all blocks in the database as input blocks. Consequently, you cannot clear data, because the database does not contain no input blocks.
MAXL = Import data