Quick tip - Deploying Essbase 21c in Oracle Cloud Infrastructure

Quick tip - Deploying Essbase 21c in Oracle Cloud Infrastructure

This post is about some tips on how to successfully deploy Essbase 21c marketplace offering in OCI. Thanks to OCI's Resource Manager, this task is straight-forward and is not time-consuming. That said, it is easy to miss or misinterpret a single step and end up spending hours troubleshooting an issue you shouldn't have in the first place.

The pre-deployment configuration steps are as follows:

  1. Create compartment
  2. Create a vault, encryption key, create secrets for your admin passwords and note down the OCID.
  3. Decide on your database option for RCU schemas (you can use an existing database or create a new database as part of the stack deployment)
  4. Create dynamic groups and policies
  5. Configure IDCS if needed (in this case, I'm using embedded LDAP since it is a Dev environment. For Production environments, you need to configure IDCS application and users)

I'm not going to cover each step in detail but rather focus on the task that got me in trouble the first time I tried to deploy Essbase which is dynamic groups and policies. The lazy side of decided to assume the tenancy compartment level defined policies are going to be sufficient for the deployment since I'm using a user with full OCI administration privileges.

Here is the what I have defined for the first time:

No alt text provided for this image

Notice I just have one policy statement:

ALLOW GROUP Admninistrators to manage all-reources in comaprtment Essbase-Dev2        

The policy looked sufficient to me, it basically means any user in Administrators group can manage all resources in Essbase-Dev2 compartment, so let me proceed with the deployment and see how it goes.

Go to Marketplace and search for Essbase - UCM (If you have an existing license, you can select BYOL option)

No alt text provided for this image

Next step is to provide the secret OCID for the Essbase admin user.

No alt text provided for this image

Next step is to configure the Identity Provider, since this is a dev environment I'm going to use embedded LDAP as my Identity Provider.

No alt text provided for this image

Finally, I need to specify the database option, and provide the secret OCID for the database admin user.

No alt text provided for this image

Next step is to create and deploy the resource manager stack, and wait for it to finish. This step would take anywhere from 2 to 5 minutes tops, once it is finished you can find the server information in "Application Information tab".

It is important to note that the actual Essbase server-side configuration will take another 10 to 15 minutes to complete. You can check the log status in /var/log/essbase-init.log

No alt text provided for this image
No alt text provided for this image

Next step is to launch Essbase and confirm it is up and running and here is when I notice something has gone wrong! After waiting for 20 minutes, I keep getting the site can't be reached so it is obvious that something did not work according to the plan.

No alt text provided for this image

To get a better idea, I searched for more information in /var/etc/log and here is what I found

No alt text provided for this image

Basically, the status of each and every configuration item is

"The service returned error code 404"        

404 error means nothing exists at the given URI, in other words the resources the Resource Manager is trying to configure are not available.

The error message is not very helpful if you ask me, so I had to go back and try to find out what exactly went wrong, and I suspected it might be due to the missing policies that Resource Manager needed in order to deploy the stack. (Remember I didn't create a dynamic group and assign policy at that level).

It turned out I was right, it took me an hour to figure out, and it was the missing dynamic group and policies that caused this issue. So to fix this, I had to do the following:

  1. Create a dynamic group
  2. Add "Essbase-Dev2" compartment to the matching rules of the group
  3. Create specific policies as instructed in Essbase deployment documentation

Here is a screenshot of the dynamic group and the matching rule.

No alt text provided for this image

And the policies defined at group level.

No alt text provided for this image

All I have to do now is repeat the same deployment steps again, but first I want to terminate the faulty instance and create a new deployment job.

No alt text provided for this image

Fast forward 20 minutes and here is the new /var/log/essbase-init.log which looks much better this time.

No alt text provided for this image

This time I managed to confirm the WebLogic servers and services are up and running.

No alt text provided for this image
No alt text provided for this image

Finally, I confirmed I can access and login to the new environment.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Thank you for reading and following me, I hope you find this tip helpful.

要查看或添加评论,请登录

Omar Shubeilat的更多文章

  • Untyped variables in Groovy

    Untyped variables in Groovy

    This is another quick blog about untyped variables in Groovy and how a simple trick could make your life easier, and…

    1 条评论
  • Quick Tip - Mass delete option in EPCM

    Quick Tip - Mass delete option in EPCM

    If you've been using the newly released Enterprise Profitability and Cost Management cloud service you would have…

    1 条评论
  • Quick Tips - EPM Cloud Groovy CsvWriter Class

    Quick Tips - EPM Cloud Groovy CsvWriter Class

    I was asked by someone if it was possible to extract data from single currency EPM Cloud deployment, transform the…

    7 条评论
  • Quick Tip - Copy data across different POVs in EPCM/PCMCS

    Quick Tip - Copy data across different POVs in EPCM/PCMCS

    This is a quick post about a question I had answered on Customer Cloud connect and I thought it is a good idea to share…

  • Exporting EPM Dimensional Security to Oracle Autonomous DB

    Exporting EPM Dimensional Security to Oracle Autonomous DB

    This is a quick-tip post that has been sitting in my drafts folder for quite some time. I had a requirement to export…

  • Synchronising EDM Dimensions with Essbase Cloud

    Synchronising EDM Dimensions with Essbase Cloud

    This is a quick tip blog about integrating metadata between Enterprise Data Management (EDM) and Essbase Cloud by way…

    2 条评论
  • Serverless Backups Automation

    Serverless Backups Automation

    This is the second part of two blog series on serverless functions (also known as Functions-as-a-Service) in Oracle…

  • Groovy and Essbase Cloud APIs

    Groovy and Essbase Cloud APIs

    This post is a quick tip about using Groovy to work with Essbase Cloud Java APIs for those who prefer to code in Groovy…

    2 条评论
  • The Case for Serverless Backups using Oracle Functions

    The Case for Serverless Backups using Oracle Functions

    This post is the first post of two part series about serverless functions in Oracle Cloud Infrastructure, why they…

    1 条评论
  • Fully Automated Cloud-based EPM Backups in OCI

    Fully Automated Cloud-based EPM Backups in OCI

    I've been having a bit of time on my hands lately thanks to the current covid lockdown we have in Australia and I got…

    1 条评论

社区洞察

其他会员也浏览了