Getting Started with WebLogic Management
Before you get started with WebLogic Management, you must complete prerequisite tasks and ensure that access has been granted.
Pre-General Availability: 2024-10-11
The following legal notice applies to Oracle pre-GA releases. For copyright and other applicable notices, see Oracle Legal Notices.
Pre-General Availability Draft Documentation Notice
This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.
Before getting started, ensure you meet the basic prerequisites for the service, and then complete the following tasks to get started:
Prerequisites
- You're familiar with Oracle Cloud Infrastructure (OCI) and OCI services. To get started with OCI, see Welcome to Oracle Cloud Infrastructure.
- You have access to an OCI tenancy.
- A tenancy administrator in your organization already set up user groups, dynamic groups and compartments to use to control can access WebLogic Management and its resources.
- You have provisioned and deployed WebLogic Servers that can be managed using WebLogic Management.
- You have installed Oracle Cloud Agent on the instances running WebLogic Servers.
WebLogic Management requires minimum Oracle Cloud Agent version 1.47. For instances with an older version installed, upgrade the Oracle Cloud Agent to 1.47 or later.
Setting Up Required IAM Policy
The Set up policy feature creates the policies required to use WebLogic Management. These required policies must be set at the root compartment (tenancy) by a tenancy administrator, otherwise, WebLogic Management can't discover domains.
User groups, dynamic groups and IAM policies specify which users and services can access certain OCI resources. You must identify which WebLogic Management resources the service can manage and which users can manage those resources. To do this, define user groups, dynamic groups, and then set up the required IAM policy.
If you're new to policies, see Getting Started with Policies. If you have specific policy requirements or use cases, see Policies and Permissions for more information.
- Required policy statements
-
The Set up policy feature creates the following policy statements that are required policy to use the service.
Policy statement Description Allow group $USER_GROUP to manage instance-family in compartment id $COMPARTMENT_ID
Allows the user group to manage WebLogic Management plugin in the compartment and its subcompartments.
Allow group $USER_GROUP to read instance-agent-plugins in compartment id $COMPARTMENT_ID
Allows the user group to interact with the WebLogic Management plugin in the compartment and its subcompartments.
Allow group $USER_GROUP to manage wlms-family in compartment id $COMPARTMENT_ID
Allows the user group to manage all WebLogic Management resources in the compartment and its subcompartments.
Allow group $USER_GROUP to use wlms-config in tenancy
Allows the user group to read and update the WebLogic Management Service configuration for the tenancy.
Allow group $USER_GROUP to manage secrets in compartment id $COMPARTMENT_ID
Allows the user group to manage OCI secrets in the compartment and its subcompartments.
Allow dynamic-group $DYNAMIC_GROUP to read secret-bundles in compartment id $COMPARTMENT_ID
Allows the WebLogic Management plugin to read OCI secrets in the compartment and its subcompartments.
Allow dynamic-group $DYNAMIC_GROUP to use wlms-managed-instance-plugins in tenancy
Allows the WebLogic Management plugin to use the WebLogic Management service.
Allow resource wlms server-components to read instance-family in compartment id $COMPARTMENT_ID
Allows the WebLogic Management plugin to check the status of OCI instances.
- Set up policies
-
-
Verify you have the
manage policies in tenancy
permission. If you only haveread
oruse
permissions, you get an authorization error. - Overview.
- Under List scope, select the compartment that contains the WebLogic domains running on OCI managed instances.
- Click Set up policy.
- In the Set up policy panel, provide the required information:
- Policy name: Accept the default name or enter a friendly name for the policy.
- Target compartment: Select the compartment to grant permissions to use the service.
- Identity domain: Select the identity domain where the user group and dynamic group resides.
- User group: Select a user group to grant permission to use the service.
- Dynamic group: Select a dynamic group to grant permissions to use the service.
Note
If you are not ready or do not have permission to set up the policies, click Copy policy statements. Then, you can use these statements to create the policies or you can give them to the tenancy administrator. See Manually Creating Required IAM Policy. - Click Set up.
-
Registering an OCI Instance
Verifying WebLogic Management Resources
- Open the navigation menu and click Observability & Management. Under WebLogic Management, click Managed instances.
- Under List scope, select the compartment that contains the instance.
-
Confirm the instance appears in the table, and verify the status is Active.
Important
If the instance is not in the list, verify that WebLogic Management is enabled and you set up the required WebLogic Management policy. - Click the name of the instance to view its details.
-
In the Servers section, verify the servers and their domains are listed and that the servers are running.
Important
If you do not see any servers or domains, verify that the domain discovery settings are correct. - Click WebLogic Management and then Domains
- From the Domains list, verify the domains on the instance are listed.
- Click the name of a domain to view its details.
- In the Servers section, review the restart order and change, if necessary. See Viewing or Setting Restart Order of Servers.
What's Next
After you have completed the prerequisites, set up IAM policy, and registered instances, go to the WebLogic Management Overview page to see a summary of instances, domains and servers and their statuses.
Complete the following configuration tasks:
- Review default scan settings to verify that the scan frequency is suitable for the environment and the domain paths are correct.
- Review the server restart order and change if necessary.
- Define WebLogic or Node Manager administrative credentials to be used to start and stop WebLogic servers.
- Configure domain patching and server lifecycle management.