Learn about configuring Oracle Cloud Observability and Management Platform on Apache Tomcat on LINUX ARM by using APM and Stack Monitoring
Use Oracle Cloud Observability and Management Platform to monitor Apache Tomcat on LINUX ARM.
- Application Performance Monitoring
Application performance monitoring allows you to visualize spans, traces, SQL statements, analyze user experience and use synthetic monitoring.
- Stack Monitoring
Stack Monitoring allows you to monitor and create alarms on the entire infrastructure (no matter which hosts Apache Tomcat, and Oracle Database are running on).
Architecture
This playbook describes how to configure Oracle Cloud Observability and Management Platform services, specifically Application Performance Monitoring (APM) and Stack Monitoring, to onboard Linux ARM instances with Apache Tomcat.
Note:
The demo environment is created completely on OCI's Free Tier tenancy using ARM Linux shape “VM.Standard.A1.Flex”.This diagram illustrates the architecture underlying this use case:
Description of the illustration om-apm-linux-arm-arch.png
om-apm-linux-arm-arch-oracle.zip
- Region
An Oracle Cloud Infrastructure region is a localized geographic area that contains one or more data centers, called availability domains. Regions are independent of other regions, and vast distances can separate them (across countries or even continents).
- Virtual cloud network (VCN) and subnet
A VCN is a customizable, software-defined network that you set up in an Oracle Cloud Infrastructure region. Like traditional data center networks, VCNs give you complete control over your network environment. A VCN can have multiple non-overlapping CIDR blocks that you can change after you create the VCN. You can segment a VCN into subnets, which can be scoped to a region or to an availability domain. Each subnet consists of a contiguous range of addresses that don't overlap with the other subnets in the VCN. You can change the size of a subnet after creation. A subnet can be public or private.
- Load balancer
The Oracle Cloud Infrastructure Load Balancing service provides automated traffic distribution from a single entry point to multiple servers in the back end.
- Application server
Application servers use a secondary peer that, like the database, will take over processing in the event of a disaster. Application servers use configuration and metadata that is stored both in the database and the file system. Application server clustering provides protection in the scope of a single region, but ongoing modifications and new deployments need to be replicated to the secondary location on an ongoing basis for a consistent disaster recovery.
- Database server
A database server is a type of hardware that runs database software. Database software helps you store, manage, retrieve, update or change files, information logs and other forms of digital data.
- Oracle Services NetworkThe Oracle Services Network (OSN) is a conceptual network in Oracle Cloud Infrastructure that is reserved for Oracle services. These services have public IP addresses that you typically reach over the internet. In this architecture, OSN contains these components:
- Application Performance Monitoring
Oracle Cloud Infrastructure Application Performance Monitoring provides deep visibility into the performance of applications and provides the ability to diagnose issues quickly to deliver a consistent level of service. This includes the monitoring of the multiple components and application logic spread across clients, third-party services, and back-end computing tiers, on-premises or in the cloud.
- Stack Monitoring
Stack Monitoring lets you proactively monitor an application and its underlying application stack, including application servers and databases. It starts by discovering all components of the application, including the application topology
- Application Performance Monitoring
Before You Begin
Before you begin, verify that you have the software versions used in this demo, and also review the product documentation.
- Software Requirements
- Oracle Database 19c (19.19 and above) for LINUX ARM (aarch64)
- Apache Tomcat v8.5
- Oracle APEX 23.1.0 [optional, custom Java application deployed on Tomcat can be used]
- Oracle ORDS 23.2.1 [optional, custom Java application deployed on Tomcat can be used]
- Product Documentation
Considerations for Configuration
In this example, the infrastructure is deployed on OCI Free Tier tenancy; however, you can still use Oracle Cloud Observability and Management Platform even if your Linux ARM instances are running on-premises or in a different Cloud provider.
From a networking perspective, public subnets and an internet gateway are used to access the load balancer and Oracle Service Network, although that is not mandatory: you can also use private subnets with a service gateway.
About Required Services and Roles
This solution requires the services and roles described below.
- Oracle Cloud Infrastructure
- Oracle Cloud Observability & Management Platform
These are the roles needed for each product (you can find additional details about each role in the references listed in the More Information column):
Product | Role | Description | More Information |
---|---|---|---|
Oracle Cloud Infrastructure | Compute resources compartment administrator | Administrator of OCI resources to be monitored with O&M | Let a compartment admin manage the compartment |
Oracle Cloud Observability and Management Platform | Stack Monitoring groups administrator; Policy administrator | Administrator of O&M Stack Monitoring resources | Create users and groups |
Oracle Cloud Observability and Management Platform | Application Performance Monitoring administrator | Administrator of O&M APM resources | Create users and groups |