Setting Up Oracle Cloud Infrastructure for Java Management Service
To find out where JMS is available, refer to the table in OCI Data Regions. From the list of data regions that provide your services, select the region closest to your Oracle Cloud users. JMS is a region specific service. See Regions and Domain Availability to learn more about Oracle Cloud Infrastructure regions.
Before you can use Java Management Service, you must ensure that your Oracle Cloud Infrastructure environment is set up correctly to allow the communication flow between all required components and cloud services.
Set Up Using a Wizard
To enable you to swiftly get going with JMS, the Onboarding Wizard creates and checks required policies, tags, and other configurations, while the Log Configuration Wizard covers missing log configurations. This section describes how to use the Onboarding Wizard and Log Configuration Wizard.
The Onboarding Wizard sets up JMS using the standard OCI resources. To customize the OCI resources being created, follow the Manual Setup.
- You've signed up for an account with Oracle Cloud Infrastructure and have received your sign-in credentials.
- You've logged in to the Oracle Cloud Infrastructure Console and selected Java Management from the navigation menu.
Using the Onboarding Wizard
- Click Inspect Prerequisites.
- Click Allow to automate the creation of prerequisite OCI resources, such as permissions and polices.
You'll be presented with an error message if JMS isn't successful and JMS will roll back any changes.
- Optional steps:
- Click Details to view the OCI resources that JMS will create on your behalf.
- Expand Policy Details to view a detailed description of the OCI resources that JMS will attempt to create on your behalf.
Note
The policies are created in the root compartment. - Click Set up JMS to automate the creation of the OCI resources described.
You'll be presented with a list of errors and their causes if JMS doesn't successfully create the policies on your behalf. JMS will roll back any changes.
Using the Log Configuration Wizard
- The Log Configuration wizard is presented by JMS if at least one fleet in a compartment has missing log configurations. Click Enable log configuration to automate log configuration for all fleets with missing log configurations.
You'll be presented with an error message if JMS isn't successful and JMS will roll back any changes.
- Optional steps:
- Click View Details to view the fleets that have missing log configuration.
- Use the checkbox to define the scope of the operation.
- Click Enable log configuration to automate the creation of log configuration for all selected fleets. You'll be presented with a list of errors and their causes if JMS isn't successful. JMS will roll back any changes.
To see the changes, you'll need to refresh the page or log off and then log on again.
Manual Setup
This section describes the manual steps to set up Oracle Cloud Infrastructure for Java Management Service. You can skip this section if you've used the Onboarding Wizard. (The Onboarding Wizard automates these steps. For more information, see Set Up Using a Wizard.)
Review the prerequisites and the overview of the steps.
Prerequisites:- You've signed up for an account with Oracle Cloud Infrastructure and have received your sign-in credentials.
- You've read Set Up Oracle Cloud Infrastructure for Management Agents.
Overview
- Sign in to Oracle Cloud Infrastructure.
- Create a compartment for your JMS resources.
- Create a new tag namespace.
- Create a new tag key.
- Create a user group for your JMS users.
- Create one or more user accounts for your JMS users.
- Create policies for your user group to access and manage JMS fleets, management agents, metrics, and tag namespaces.
- Create policies for your management agent install keys.
- Create a dynamic group of all management agents.
- Create policies for management agent communication.
- Create policies for log configuration
- Create policies to perform Advanced Features operations.
Steps