Followers

Friday, June 24, 2016

How to Start and Stop Financial Management (HFM) Server Windows Processes

           Start and Stop HFM Server Windows Processes


How to Start and Stop Financial Management (HFM) Server Windows Processes
What are the main Windows processes of an HFM application server?
What happens when I start the HFM Windows Service?
What happens when I stop the HFM Windows Service?
Why should I use the HFM Windows Service?
When should I not use the HFM Windows Service?
Allowing HFM to start and stop as needed.
Why do I see multiple HsvDataSource.exe processes on an HFM application server?
When does the HsvDataSource.exe process stop itself?
Why might the HsvDataSource.exe not stop by itself?
What is the CASSecurity.exe process?
In what order should the HFM processes be stopped?
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
How to Start and Stop Financial Management (HFM) Server Windows Processes
What are the main Windows processes of an HFM application server?
The main Windows processes of a HFM application server are HsxService.exe, HsxServer.exe, CASSecurity.exe and HsvDatasource.exe.


What happens when I start the HFM Windows Service?
Oracle's Hyperion Financial Management can be started by starting the Windows Service "Hyperion Financial Management - Management Service". When this service is started, a process called HsxService.exe will become visible in the Windows Task Manager, and will remain running until the Windows Service is stopped. The HsxServer.exe, CASSecurity.exe and HsvDataSource.exe processes are also started.


What happens when I stop the HFM Windows Service?
When the Hyperion Financial Management Windows service is stopped, the HsxService.exe process will be stopped along with the HsvDataSource.exe, CASSecurity.exe and HsxServer.exe processes.

Why should I use the HFM Windows Service?
Oracle typically recommends that customers use the Windows Service approach only when their individual applications within their HFM database are known to take several minutes to start up. By starting the Windows Service, the application server will pre-launch each application, which will then be "active" and already started when the first user attempts to connect to the application. In this way, the user will not experience any "delay" while logging in, due to application startup time.

Applications may take longer to start up when their metadata dimensions are very large, when an application server or database is under heavy load, or when the rules file of the application contains a slow performing "NoInput" rules section. This section may take longer to execute if it contains many loop statements through many different metadata Point of View (POV) members. Care should be taken when designing metadata and NoInput rules routines to reduce the start up time of an individual application.

When should I not use the HFM Windows Service?
A potential disadvantage of using the Windows Service approach is that all applications are started, regardless of the true requirement and usage of the end users. If there are many applications that exist in the HFM database, unnecessary memory and CPU cycles may be used launching applications which are not needed by the end users. For this reason, Oracle recommends that customers not keep unused HFM applications in production environment HFM databases, or to not use the HFM Windows Service approach if there are known unused HFM applications in the database.

Allowing HFM to start and stop as needed.
If the HFM Windows Service is not being used as above, Financial Management will start itself when end users attempt to log on to an HFM application. When any end user connects to HFM for the first time on a particular application server, the process HsxServer.exe will be started. This process builds connections to the HFM database repository, authenticates the user connecting, and returns a list of available HFM applications within the database. There will only be one HsxServer.exe process on each application server. If the end user who connected to the HFM application server then proceeds to select an HFM application name to open, the HsxServer.exe process will then launch the HsvDataSource.exe Windows process to start that application. The HsxServer.exe process will remain running until there are no users logged on to that application server and all HsvDataSource.exe processes have also stopped.

Why do I see multiple HsvDataSource.exe processes on an HFM application server?
Hyperion Financial Management opens one HsvDataSource.exe (HSVDAT~1.EXE) process on the HFM server per active application. Connections are application specific. If multiple applications are opened, multiple HsvDataSource.exe processes will be launched.

When an application is opened, a database connection pool is created between the application process and the relational database (SQL Server / Oracle / DB2 etc). However, connections are not released on an application basis - they are released on an application server basis. All connections are not released until the application server has no Financial Management users accessing any application.

When does the HsvDataSource.exe process stop itself?
When an application server determines that all users of a particular application on that application server have correctly logged off or timed out (e.g. web time out), then it sends a signal to the HsvDataSource.exe process running that application to stop itself.

When all HsvDataSource.exe processes on a particular application server have stopped themselves, then the HsxServer.exe and CASSecurity.exe processes will also be stopped. After a short delay, under normal circumstances, all HFM processes will stop themselves. Only when all HFM processes on all HFM application servers have been stopped is it safe to make changes to the relational database for example, copying applications, taking or restoring backups of the database or powering down the database. Changes to the database should NOT be made while any HsvDataSource.exe process is seen running in the Windows Task Manager.

Why might the HsvDataSource.exe not stop by itself?
If end users log off incorrectly, their sessions may not have stopped. Hyperion Reports, Financial Reporting, Web Analysis, Financial Data Quality Management, Shared Services task flows or other modules may be holding open connections to Financial Management applications. All other Hyperion processes and services which may be connecting to Financial Management should be stopped first. Financial Management administrators may like to use the "Users on System" module of Financial Management to stop end user connections. When Financial Management decides that all connections have stopped, it should proceed to shut itself down automatically.

What is the CASSecurity.exe process?
Another Windows process is CASSecurity.exe. This is a process that manages the interface between Financial Management and Hyperion Shared Services modules. It handles some of the authorization and authentication processes of HFM, as well as security related features while the application is running. Important Note: Any change in the Shared Services external provider configuration REQUIRES the CASSecurity.exe process to be recycled in order gain access to the provider changes. Follow the "In what order should the HFM processes be stopped" section.

In what order should the HFM processes be stopped?
If Financial Management appears to have frozen / crashed it may be necessary to stop the processes. Processes should be stopped in the following order:

The Hyperion Financial Management Windows Service (HsxService.exe) should be stopped via the Windows Services if it seen to be running.
The HsvDataSource.exe for each application should be shut down. Ideally it should be observed that the HsvDataSource.exe is using 00% CPU in the Windows Task Manager before it is stopped using "End Process". Care should be taken when stopping running processes.
Any CASSecurity.exe process which is still running in the Windows Task Manager should be stopped using "End Process"
If any HsxServer.exe process is still running, it should be stopped using "End Process"

CAUTION: In a multi-server environment where multiple application servers are connecting to the same relational database, the process of stopping HFM should be repeated on ALL HFM application servers before attempting to restart any HFM processes or "bring up" the applications once again. It is not recommended to stop and start any one server independently but instead to stop the whole environment and then bring it back up.

Source: How to Start and Stop Financial Management (HFM) Server Windows Processes [ID 989574.1] 

Thanks,
Mady

Tuesday, April 19, 2016

How to find out Essbase application process which is using for ESSSVR

                How to find out Essbase application process which is using for ESSSVR

To find out ESSSVR process:
Using Manual searching:

1. Go to Task Manager, add pid to the columns(if it is not there).
2. Go to the Essbase.log file. Go to the particular application which you want to find out the process. There we can find the process which is corresponds to application when it starts.
3. copy that pid from log and search it in Task Manager.
4. That pid which is pointing to ESSSVR which will points to the application.
5. In case of stuck up or application not starting cases, we can use this steps to find out the particular ESSSVR process.

Using command:
Windows command that you can use:

Go to Command prompt:
Start --> run --> cmd

Type C:\Hyperion\logs\essbase\ESSBASE.LOG | find /I “started with process ID” | find /I “[sample]”

* replace “sample” by your Essbase application name
** “find /I” – filter ESSBASE.LOG file (/I – Ignores the case of characters when searching for the string)


Thanks,
Mady

Tuesday, April 5, 2016

DRM Web services API setup in Hyperion 11.1.2.1 version

1. Using right version of RCU, create MDS schema. for Moto use 11.1.1.4

2. Using weblogic Extend option, select Oracle Enterprise Manager -11.1.1.0 [oracle_common],
Oracle WSM Policy Manager – 11.1.1.0 [oracle_common], and Oracle JRF – 11.1.1.0 [oracle_common].

3. Add OID to myrealm in weblogic(optional)

4. Configuring the API Adapter Host (Add host name in DRM console)

5. Deploy Oracle-drm-web-services in weblogic from C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\api directory
and select oracle-epm-drm-webservices.ear file

6. Check for wsm-pm is active or not.

7. if wsm-pm fails, check out oracle-webskin, oracle-web composer,emac, emai, emcore, and EM are active or not.
if you are not able to see them in the deployments list, we need to deploy them.
Once EM is up(active), you can login EM and deploy wsm-pm from EM.

8. Login to EM, select EPM system and right click and click on metadata repositories. click next. in next tab, in 2 sections, selct 2nd option in first section and browse the wsm-pm.ear and click next. in next tab, click on edit and select metadata repository and give any name and give password of mds schema password. click next and validate and finsh. now we can see wsm-pm is active in weblogic.

9. Once you are done with all these changes check out oracle-drm-web-services-api. Try to start or bounce services.

10. Test Web service in EM

Thanks,
Mady

Saturday, February 27, 2016

In Workspace 11.1.2.1 Explorer is Missing from the Menu Bar

                In Workspace 11.1.2.1 Explorer is Missing from the Menu Bar


Steps to resolve this issue:

1. Stop FoundationServices and RA Framework webapps, and RA Agent services.

2. Execute the following query against the Shared Services registry database:

select application_id from css_provisioning_info where lower(application_id) like 'hava%'; 
note this application id, e.g. HAVA:0000012b3072bf63-0000-6717-0acc1bac

3. Using the epmsys_registry tool, execute:

epmsys_registry updateproperty RA_FRAMEWORK/@applicationId <the application Id returned from the query above> 

Example using ID above:
epmsys_registry updateproperty RA_FRAMEWORK/@applicationId HAVA:0000012b3072bf63-0000-6717-0acc1bac


4. Restart the services.

Reference: 
In Workspace 11.1.2.1 Explorer is Missing from the Menu Bar (Doc ID 1325933.1)

Thanks,
 
Mady

Saturday, February 6, 2016

How to change admin password in Hyperion Shared services

                                 Admin password change in Hyperion Shared services


Situation and Goal:
we have installed and configured Hyperion worksapce, shared services and other components in cloud servers. Then we have started migration from client LCM dump, first we did HSS migration. In this case, the admin password (which has given at the time of configuration time) is overwritten.

So, we need to reset password to some known with encrypted with in the CSS users table.

Steps:
1. Login to Shared Services Schema ( The user you used during the shares services configuration) with SQL developer or any other tools and look for “CSS_USERS” table.

2. Run the below command:

update CSS_USERS
set PASSWORD= '{SSH2}mpQoG4jU00otFocLZM6CWWUzpk9ZmSY5In3l3ZzFCH5byRhkG6ow7z4KxXmXWXSo'
where name='admin';

This will setup the admin users password to ‘password'

OR

Run the below command:

update CSS_USERS
set PASSWORD= ‘{SSH2}FvSZVSvSmzvjT/02Nn1TrJyQk8SqNus4Fw4m2cNxa3zkSLe8HFiJy7cT8zUDGiWi’
where name='admin';

Commit the changes

Note: Take backup of CCS_USERS table before do any changes.

Reference:
http://epmcult.blogspot.in/2014/06/resetting-hyperion-workspace-admin.html

Thanks,
Mady

Wednesday, February 3, 2016

Hyperion Url's

                                                          Hyperion Url's

Example URLs to Check
EXAMPLE ORACLE EPM 11 (11.1.2.1) ENVIRONMENT CHECKS AND MONITORING

Layer1 – Load Balancer URL Check:
https://LoadBalancerURL.local/hfm
https://LoadBalancerURL.local/aps/APS
https://LoadBalancerURL.local/calcmgr/index.htm
https://LoadBalancerURL.local/raframework/index.jsp
https://LoadBalancerURL.local/easconsole/console.html
https://LoadBalancerURL.local/awb/conf/AwbConfig.xml
https://LoadBalancerURL.local/hr/status.jsp
https://LoadBalancerURL.local/interop/index.jsp
https://LoadBalancerURL.local/hfmofficeprovider/HFMOfficeProvider.aspx
https://LoadBalancerURL.local/hfmlcmservice/LCMWS.asmx
https://LoadBalancerURL.local/workspace/status
https://LoadBalancerURL.local/HyperionFDM/AuthorizedPages/LogonPage.asp
https://LoadBalancerURL.local/hyperion-bpma-server/Applications.asmx
https://LoadBalancerURL.local/DataSync/

Layer2 – Oracle HTTP Server Redirection Check:
http://Foundation1.local:19000/hfm
http://Foundation1.local:19000/aps/APS
http://Foundation1.local:19000/calcmgr/index.htm
http://Foundation1.local:19000/raframework/index.jsp
http://Foundation1.local:19000/easconsole/console.html
http://Foundation1.local:19000/awb/conf/AwbConfig.xml
http://Foundation1.local:19000/hr/status.jsp
http://Foundation1.local:19000/interop/index.jsp
http://Foundation1.local:19000/hfmofficeprovider/HFMOfficeProvider.aspx
http://Foundation1.local:19000/hfmlcmservice/LCMWS.asmx
http://Foundation1.local:19000/workspace/status
http://Foundation1.local:19000/HyperionFDM/AuthorizedPages/LogonPage.asp
http://Foundation1.local:19000/hyperion-bpma-server/Applications.asmx
http://Foundation1.local:19000/DataSync/

Layer3 Individual Web Application Server Check:
FOUNDATION1.LOCAL Web/Web App
http://Foundation1.local:80/HyperionFDM/AuthorizedPages/LogonPage.asp
http://Foundation1.local:80/hfm
http://Foundation1.local:80/hfmapplicationservice/application.asmx
http://Foundation1.local:80/hfmlcmservice/LCMWS.asmx
http://Foundation1.local:80/hfmofficeprovider/HFMOfficeProvider.aspx
http://Foundation1.local:28080/interop/index.jsp
http://Foundation1.local:28080/workspace/status
http://Foundation1.local:45000/raframework/index.jsp
http://Foundation1.local:8200/hr
http://Foundation1.local:8500/calcmgr/index.htm

PLANNING1.LOCAL Planning
http://Planning1.local:8300/HyperionPlanning

EAS1.LOCAL Essbase Tools
http://EAS1.local:10080/eas
http://EAS1.local:13080/aps

EPMA1.LOCAL EPMA
http://EPMA1.local/hyperion-bpma-server/folders.asmx
http://EPMA1.local:19091/awb

Workspace:
Layer1 - LB Device
https://LoadBalancerURL.local/workspace/index.jsp

Layer2 – Oracle HTTP Server
http://Foundation1.local:19000/workspace/index.jsp

Layer3 – WebLogic Web
http://Foundation1.local:28080/workspace/index.jsp

FDM:
Layer1 – LB Device
https://LoadBalancerURL.local/HyperionFDM

Layer2 – Oracle HTTP Server
http://Foundation1.local:19000/HyperionFDM

Layer3 – IIS Web
http://Foundation1.local:80/HyperionFDM


HFM app creation:
http://10.177.17.195:19000/hfm/CreateApp/createapp.asp?iscontained=Yes


Source: http://www.openepm.com/epm-monitoring/example-urls-to-check

Thanks,
Mady

Saturday, January 30, 2016

JRFWS_JMS_MODULE_SUBDEPLOYMENT_JRFWSJMSServer in deployment JRFWSAsyncJmsModule in hyperion 11.1.2.x


It is possible that Hyperion / Weblogic does not start anymore and weblogic or service sysout log pointing to force shutdown
This can have several causes 
• There is a deploy of web server made through the Configuration Tool (extra deployment)
• There is an extra tool installed in the weblogic server


ERROR::

<Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
Caweblogic.management.ManagementException: [Management:141266]Parsing Failure in config.xml: The following failures occurred:
-- [JMSExceptions:045047]The SubDeploymentMBean JRFWS_JMS_MODULE_SUBDEPLOYMENT_JRFWSJMSServer in deployment JRFWSAsyncJmsModule
can only be targeted to one JMSServerMBean because an entity that can only be targeted to a single JMS server (for example a queue,
topic or quota) has a sub-deployment-name element with value JRFWS_JMS_MODULE_SUBDEPLOYMENT_JRFWSJMSServer

at weblogic.management.provider.internal.RuntimeAccessImpl.<init>(RuntimeAccessImpl.java:127)
at weblogic.management.provider.internal.RuntimeAccessService.start(RuntimeAccessService.java:41)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)


Sollution:

Locate the config.xml file in the directory:
D:\Oracle\Middleware\user_projects\domains\EPMSystem\config

(at the Weblogic server (HSS server)) Edit this file and look for the following:

<sub-deployment>
<name>JRFWS_JMS_MODULE_SUBDEPLOYMENT_JRFWSJMSServer</name>
<target>FMWebServices</target>
</sub-deployment>


Replace it with the following (only the word ‘FMWebServices’ to ‘JRFWSAsyncJmsServer’)

<sub-deployment>
<name>JRFWS_JMS_MODULE_SUBDEPLOYMENT_JRFWSJMSServer</name>
<target>JRFWSAsyncJmsServer</target>
</sub-deployment>


Try again to start Hyperion.


Thanks,
Mady