Followers

Friday, January 27, 2017

Commands which will useful in Troubleshooting


To get Linux 64-bit or 32-bit along with kernel info: uname -a

To check port number listening or not: netstat -an|grep <port>

To check Linux version if it is REDHAT: cat /etc/redhat-release

To check Linux version: cat /etc/system-release

To check process: ps -ux  

To check process ps -ef    

To check Hyperion services: ps -ef | grep oracle  

To check system up-time, CPU, RAM usage: top

To check time and date: date

To Check File size: du -sh Foldername

To check disk space all mount points: df –h 

To start weblogic as back end process: nohup ./startweblogic.sh &

To check log file: tail -f nohup.out

To check Port number status: netstat -an | grep 19000

To check Port Status using PowerShell : Test-NetConnection -ComputerName <Host Name> -Port <Number>


Thanks,
Mady

Tuesday, December 20, 2016

Planning application Migration with LCM export

Planning application Migration with LCM export

1.      Export planning application with all artifacts from Source server using LCM
2.      Copy that exported folder from source Import_Export location.
3.      Paste the same into target Import_Export location.
4.      Take backup of the same folder and then start doing the changes.
5.      Find the import.xml file and change application name if it is different name.
6.      Import.xml will be in 2 places in latest version (in my case 11.1.2.3)
7.      Find ApplicationDefination file, and do changes. We can find change:
a.      Data Source name
b.      Application name
c.      Start year
d.      No. of years. (Whatever we find in this file we can change which we can’t after application created.
8.      Select artifacts to import. If you okay security import, then select all artifacts otherwise uncheck security and import the application.
9.      In New versions, from 11.1.2.x no need to create application to import the application. If application is not there, LCM will create the application.
Note: Application will detect from changes which we made in import.xml files.
10.   Click on import and check Migration status.
11.   If it is successful, then check the application. If it is failed, check out the errors and try to resolve them and do migration again.
12.   Planning application import completed.


Thank you all…!!

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