Followers

Friday, October 9, 2020

How to trace Essbase errors and check logs - Part2

Essbase logs, we need to check for any issues.

ESSBASE.LOG                                            Essbase Server activities and errors

ESSBASE_ODL.log                                     Essbase Server activities and errors

dataload_ODL.err                                         Data load and dimension build errors

log0000x.xcp                                            —    Errors that result when Essbase Server stops abnormally

leasemanager_server_HOSTNAME.log      Essbase Server Lease Manager information

leasemanager_essbase_HOSTNAME.log—    Essbase Agent Lease Manager information

log00001.xcp                                                Errors that result when the agent stops unexpectedly

easserver.log                                                 Administration Services Server activity

EssbaseAdminServices0.log                        Administration Services Java web application activity

opmn.log                                                      Information about when Essbase starts, stops, and how                                                                                 many stop and start retry attempts are made

console~ESSBASE_CLUSTER_NAME~ESSBASE_PROCESS_TYPE~AGENT~1.LOG — All console messages are directed to a file that is called the "console" output file for a managed process, in this case, Essbase.


Note: ESSBASE.LOG and ESSBASE_ODL.log contain the same information in different formats.



Thanks,

Mady


Thursday, October 8, 2020

How to trace Essbase errors and check logs - Part1

     While working with Essbase, we may face lot of issues in our day to day activities. Here, I am going to update how to check errors and validate connections of Essbase. Why because, Essbase runs with OPMN in most of the deployments.

Frist of all, Essbase is an multi-dimensional database, so we will have all data saved into the Essbase Arbor path only. Most of the issues, will be with data only. Example as blow:

1. Error while loading data

2. Error while Retrieving data

3. Error while updating or loading Metadata.

4. smartview data validations etc.

Along with those, lot of admin issues will be happening in our daily activities. Like, connectivity, user access, space getting full, compression not happening, cache setting errors, Restructuring errors etc.

So, whatever issue if our work will get impact, then only It is issue. 😄

You will find errors in below logs:

Fist of all, Essbase log. Navigate to the Essbase.log Path, to find the Essbase.log.

Along with Essbase.log, in the same folder, we can find Essbase_ODL.log files, which log will be rotating and will be created as multiple files.

You can search with error, login name, process key words.

If you find xcp file in application folder, then application may corrupted/recovered from corruption.

If you find xcp file in Database folder, Then Database may corrupted either data or entire database.

(you can try renaming .apb as .app for applications or .dbb as .db for database as initial step. If itwon't work, try to contact with Infra team to restore database/application. You can contact Oracle also to find RootCause for generaing xcp files.)

Will continue in next part about analysis and tracing logs...!! 👍

How to trace Essbase errors and check logs - Part2

Thanks,

Mady


Monday, June 22, 2020

Email powershell code



$Body = "Sample Email Body" 
$SmtpServer = 'smtp.gmail.com' 
$SmtpUser = 'madhu.hyp2011@gmail.com' 
$smtpPassword = 'M@dhu123@#' 
$MailtTo = 'madhu.hyp2011@gmail.com' 
$MailFrom = 'madhu.hyp2011@gmail.com' 
$MailSubject = "Testing Mail Attachments using $SmtpServer" 
$Credentials = New-Object System.Management.Automation.PSCredential -ArgumentList $SmtpUser, $($smtpPassword | 
ConvertTo-SecureString -AsPlainText -Force) 
Send-MailMessage -To "$MailtTo" -from "$MailFrom" -Subject $MailSubject -Body "$Body" -SmtpServer $SmtpServer -BodyAsHtml -UseSsl -Credential $Credentials 
write-Output "Custom Message : Attachment Email Sent to Business Users"  

Tuesday, June 16, 2020

Shared services Provisioning Report

/* Users Provisioned for access to the application */

select CSS_USERS.NAME,CSS_ROLE_LOCALES.NAME,APPLICATION_ID, MEMBER_IDENTITY, ROLE_IDENTITY, MEMBER_TYPE  FROM CSS_PROVISIONING_INFO, CSS_ROLE_LOCALES,CSS_USERS
WHERE LOWER(CSS_ROLE_LOCALES.IDENTITY_ID)= LOWER(CSS_PROVISIONING_INFO.ROLE_IDENTITY)
and CSS_PROVISIONING_INFO.APPLICATION_ID='HFM:DANACASH'
and CSS_ROLE_LOCALES.locale='en'
AND CSS_PROVISIONING_INFO.MEMBER_TYPE=1
AND lower(CSS_USERS.IDENTITY_ID)=lower(CSS_PROVISIONING_INFO.MEMBER_IDENTITY)

To get a list groups provisioned for access to an application, use the following SQL: -

/* Groups Provisioned for access to the application */

select CSS_groups.NAME,CSS_ROLE_LOCALES.NAME,APPLICATION_ID, MEMBER_IDENTITY, ROLE_IDENTITY, MEMBER_TYPE  FROM CSS_PROVISIONING_INFO, CSS_ROLE_LOCALES,CSS_GROUPS
WHERE LOWER(CSS_ROLE_LOCALES.IDENTITY_ID)= LOWER(CSS_PROVISIONING_INFO.ROLE_IDENTITY)
and CSS_PROVISIONING_INFO.APPLICATION_ID='HFM:DANACASH'
and CSS_ROLE_LOCALES.locale='en'
AND CSS_PROVISIONING_INFO.MEMBER_TYPE=2
AND lower(CSS_GROUPS.IDENTITY_ID)=lower(CSS_PROVISIONING_INFO.MEMBER_IDENTITY)

The consolidate ed list of users and groups provisioned for access to an application is as shown in the below SQL: -

/* Consolidated list of users and groups for an application*/

(
select CSS_USERS.NAME,CSS_ROLE_LOCALES.NAME,APPLICATION_ID, MEMBER_IDENTITY, ROLE_IDENTITY, MEMBER_TYPE  FROM CSS_PROVISIONING_INFO, CSS_ROLE_LOCALES,CSS_USERS
WHERE LOWER(CSS_ROLE_LOCALES.IDENTITY_ID)= LOWER(CSS_PROVISIONING_INFO.ROLE_IDENTITY)
and CSS_PROVISIONING_INFO.APPLICATION_ID='HFM:DANACASH'
and CSS_ROLE_LOCALES.locale='en'
AND CSS_PROVISIONING_INFO.MEMBER_TYPE=1
AND lower(CSS_USERS.IDENTITY_ID)=lower(CSS_PROVISIONING_INFO.MEMBER_IDENTITY)
)
UNION
(
select CSS_groups.NAME,CSS_ROLE_LOCALES.NAME,APPLICATION_ID, MEMBER_IDENTITY, ROLE_IDENTITY, MEMBER_TYPE  FROM CSS_PROVISIONING_INFO, CSS_ROLE_LOCALES,CSS_GROUPS
WHERE LOWER(CSS_ROLE_LOCALES.IDENTITY_ID)= LOWER(CSS_PROVISIONING_INFO.ROLE_IDENTITY)
and CSS_PROVISIONING_INFO.APPLICATION_ID='HFM:DANACASH'
and CSS_ROLE_LOCALES.locale='en'
AND CSS_PROVISIONING_INFO.MEMBER_TYPE=2
AND lower(CSS_GROUPS.IDENTITY_ID)=lower(CSS_PROVISIONING_INFO.MEMBER_IDENTITY)
)
To get the list of all users and groups provisioned for access in the Hyperion environment, use the following SQL: -

/* Consolidated access list for users and groups */
(
select CSS_USERS.NAME,CSS_ROLE_LOCALES.NAME,APPLICATION_ID, MEMBER_IDENTITY, ROLE_IDENTITY, MEMBER_TYPE  FROM CSS_PROVISIONING_INFO, CSS_ROLE_LOCALES,CSS_USERS
WHERE LOWER(CSS_ROLE_LOCALES.IDENTITY_ID)= LOWER(CSS_PROVISIONING_INFO.ROLE_IDENTITY)
and CSS_ROLE_LOCALES.locale='en'
AND CSS_PROVISIONING_INFO.MEMBER_TYPE=1
AND lower(CSS_USERS.IDENTITY_ID)=lower(CSS_PROVISIONING_INFO.MEMBER_IDENTITY)
)
UNION
(
select CSS_groups.NAME,CSS_ROLE_LOCALES.NAME,APPLICATION_ID, MEMBER_IDENTITY, ROLE_IDENTITY, MEMBER_TYPE  FROM CSS_PROVISIONING_INFO, CSS_ROLE_LOCALES,CSS_GROUPS
WHERE LOWER(CSS_ROLE_LOCALES.IDENTITY_ID)= LOWER(CSS_PROVISIONING_INFO.ROLE_IDENTITY)
and CSS_ROLE_LOCALES.locale='en'
AND CSS_PROVISIONING_INFO.MEMBER_TYPE=2
AND lower(CSS_GROUPS.IDENTITY_ID)=lower(CSS_PROVISIONING_INFO.MEMBER_IDENTITY)
)

Wednesday, June 10, 2020

Tuesday, June 9, 2020

HFM Documents Ownership change

While validating or working with Journal Reports, mainly with Private documents, do not save with different username or with admin user. Because it will save with that user and the user can't see that document with his login.

If it happened, we can update username back with backend table change/update.

Go to database -- execute below query

Formulae to create multiple queries:
=CONCATENATE("Update <ApplicationName>_RPTS Set CreatedUser ='",B1, "' where label = '",A1,"' and ReportType=1 and Private=1;")

Update <ApplicationName>_RPTS Set CreatedUser ='<username>@<domain>' where label = '<document name>'
and ReportType=1 and Private=1;

Not only Journal Reports, but we can also update any of the document username using the above method.


Thanks,
Madhusudhan 

Sunday, April 12, 2020

EPM 11.2.1 update

If we update Oracle EPM suite 11.2 to 11.2.1, No need to do configuration again.



Thanks,
Madhusudhan