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.

The procedures in this playbook show how to configure the following Oracle Cloud Infrastructure (OCI) observability services:
  • 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).

Once you complete the following scenario, you will be able to view your application's status on the out-of-box dashboards.

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 om-apm-linux-arm-arch.png follows
Description of the illustration om-apm-linux-arm-arch.png

om-apm-linux-arm-arch-oracle.zip

This architecture contains these components:
  • 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 Network
    The 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

Before You Begin

Before you begin, verify that you have the software versions used in this demo, and also review the 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.

This solution requires the following services:
  • Oracle Cloud Infrastructure
  • Oracle Cloud Observability & Management Platform
The environment is deployed on OCI Free Tier tenancy, and employs a single user with OCI administrator role, but you can use role separation based on your own requirements.

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):