Quick tip - Deploying Essbase 21c in Oracle Cloud Infrastructure
Omar Shubeilat
Warwick Business School | Oracle ACE Alum ? | Enterprise Performance Management Advisor
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:
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:
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)
Next step is to provide the secret OCID for the Essbase admin user.
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.
Finally, I need to specify the database option, and provide the secret OCID for the database admin user.
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
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.
To get a better idea, I searched for more information in /var/etc/log and here is what I found
领英推荐
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:
Here is a screenshot of the dynamic group and the matching rule.
And the policies defined at group level.
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.
Fast forward 20 minutes and here is the new /var/log/essbase-init.log which looks much better this time.
This time I managed to confirm the WebLogic servers and services are up and running.
Finally, I confirmed I can access and login to the new environment.
Thank you for reading and following me, I hope you find this tip helpful.