Multi-cloud has gained importance in recent years as companies distribute their workloads across multiple cloud providers per their unique preferences and convenience.
This blog explains how OCI Observability and Management services, such as Database Management, Stack Monitoring, Operations Insights, and Logging Analytics are used for monitoring RDS database flavors running on Amazon AWS.
Steps to monitor the RDS database on Amazon AWS
Multiple options are available to establish connectivity between OCI and AWS, we are using an IPsec VPN tunnel using a Site-to-Site VPN with static routing.
Refer to this document for the exact steps:
Prerequisites for connectivity between OCI and AWS:
Once the connectivity is done, OCI resources will be able to connect to AWS resources via a private network.
Once the connectivity is established, create the desired databases on AWS. There are three options available to provision the databases on AWS.
Follow the documentation to create the appropriate database instance.
Use Management Gateway and Management Agent to discover the RDS databases in OCI O&M. Install Management Gateway on the AWS EC2 host which has the public IP address and Management Agent (MACS) on the RDS Custom EC2 instance which is in the private-only subnet.
After enabling the required plugins, navigate to OCI Menu -> Database Management and Administration. Select the deployment type as External under filters. Select Register External Database to register the RDS database. Refer to the documentation for the steps to discover the Databases.
Follow the steps to discover the CDB and PDB (RDS Custom for Oracle) and non-Container (RDS for Oracle) databases.
Navigate to the External Database, select the container Database, and Enable Database management, Operations Insights, and Stack Monitoring Services
Similarly enable all the services for Non-Container Databases.
Here we discovered CDB, PDB, and Non-Containers running on Amazon RDS.
Similarly, enable those databases for Operations Insights capacity planning to uncover performance issues, forecast consumption, and plan capacity using machine-learning-based analytics on historical and SQL data.
Now, "Add hosts" for Operations insights capacity planning.
Monitor the RDS databases on Stack Monitoring to get full-stack visibility into the health of the Oracle Database.
Use Database Management services to monitor the database ecosystem such as Oracle Listeners, Automatic Storage Management (ASM), and Clusterware.
Navigate to Database Management -> Administration -> Managed Databases. Select the deployment type as External. Select Discover System on the top menu, then Select External Database System. Refer to the documentation for more details.
Review the Database system details and select Create. The progress can be monitored via the Work Request.
Post discovery, navigate to the Managed database and select the database system associated with the database.
This will discover the listener, cluster, and ASM (if available).
Conclusion
OCI Observability and Management services enable seamless integration with multi-cloud to bring the targets together to manage and monitor in a single pane. Start building the dashboards on Database Management, Operations Insights, and Logging Analytics.
To learn more about the AWS and Observability and Management Services, visit: