Google Bare Metal for Oracle

Share on:

Since the first days of working in the Google Public Cloud, there have been debates about the possibility to move an Oracle workload to GCP. The major concerns were coming not from the technical challenges but rather from Oracle’s licensing policies and guidelines. In the famous Oracle’s document about licensing Oracle software in the public cloud it was stated – “This policy applies to cloud computing environments from the following vendors: Amazon Web Services – Amazon Elastic Compute Cloud (EC2), Amazon Relational Database Service (RDS) and Microsoft Azure Platform (collectively, the ‘Authorized Cloud Environments’)”. So the Google Cloud was not listed as an ‘Authorized Cloud Environment’ and it was unclear how to apply the Oracle licensing there. I believe it will be sorted in time but in the meanwhile, as a solution, Google presented a Bare Metal Service as the platform for Oracle workload.

The Bare Metal Service (BMS) is a dedicated physical box that is connected to the Google Cloud zone by a high speed, low latency network and can be used either as a bare metal box with one of the approved OS installed or with an Oracle OVM v3 installed on top of it.

It allows to apply the same licensing and policy guidelines as for a normal compatible physical hardware and use the same set of options and packs. For example, some database options like “Database In-Memory Base Level” are not available in AWS and Azure but they can be used on physical hardware. Another example is the Oracle Real Application Cluster (RAC).

If you are familiar with Oracle CPU licensing you probably know about Oracle processor core factor and according to it most x86-64 Intel or AMD CPU has factor 0.5 which permits to use of two CPU cores per one CPU license. In the authorized cloud environments like AWS and Azure that are not applied but for a bare metal box the rules should be the same as for a normal on-premises installation. Of course, in that case, you need to choose an appropriate shape for your machine according to your license or use the Oracle Virtual Machine to split the box into several VM’s.

When it comes to shapes the BMS is available in fixed shapes starting from 8 cores with 192GB and up to 448 cores with 24TB memory. The jumps between the number of cores are sometimes too wide, like one shape is 24 cores and the next one is already 56 cores. There you can apply the OVM and pin the cores to VM accordingly to make it aligned with your licenses. From the performance point of view, the BMS machines provide decent performance same or better than other machines on-premises or in the cloud with comparable configuration. I will explore it in detail in the following blogs about CPU, storage performance and tests I did on a sample Oracle database.

The network layer was really good. The latency between my sample app boxes in Google cloud and BMS in the same zone was less than 1ms and the throughput was according to the provided characteristics. My BMS box had a 2Gbps network and it was quite enough to run all my tests with Swingbench and Kafka replication to Google Big Query service.

For the Swingbench server-side SOE tests, I got an average of 11598 Tx/Sec on my 16 core box. By the way, it was the same whether I ran it from the same box or from a Google Cloud VM.

Overall my experience working with BMS was positive starting from documentation and to working with the support team resolving some routing issues and configuration.

I think the BMS can be a great target destination for an Oracle workload when somebody can properly align the Oracle licenses with BMS shapes or doesn’t have any objections to use an appropriately authorized hypervisor for that. It provides good performance and allows us to use all the Google services and Google SLA. One example I see is an OLTP Oracle database with the application tier in the Google Cloud, offloading reporting information to Google Big Queries and analyzing data using Google Machine Learning abilities.

In the next post, I am going to provide some performance numbers for IO and CPU and some network details for my BMS environment. Stay tuned.

Share on:

More from this Author

Terraform-Modules-Simplified

Terraform Modules Simplified

Terraform is probably already the de-facto standard for cloud deployment. I use it on a daily basis deploying and destroying my tests and demo setups ... Read More

Logo-of-Rocky-Linx-white-text-with-green-font-New-Kids-in-the-Block

New Kids on the Block – Rocky Linux

If you’ve been following the recent changes in the Linux world you probably remember how Red Hat and Centos announced in December 2020 that the ... Read More

Back to Top