About Automatic Virtual IP Failover and Oracle Private Cloud Appliance

Automatic virtual IP failover using Oracle Private Cloud Appliance X9-2 enables your applications to stay running in the event your cloud servers experience a problem. This solution playbook explains how to deploy automatic virtual IP failover using Oracle Private Cloud Appliance and Oracle Cloud Infrastructure (OCI) by integrating the OCI CLI with Pacemaker and Corosync.

About Oracle Private Cloud Appliance

Oracle Private Cloud Appliance (PCA) is an Oracle-engineered system designed for implementing the application and middleware tiers.

Private Cloud Appliance provides the following operational benefits of public cloud deployments to customers who prefer or require an on-premises solution:

  • A private cloud infrastructure and architecture consistent with Oracle Cloud Infrastructure (OCI).
  • APIs and SDKs compatible with OCI to an on-premises implementation at rack scale, making workloads, user experience, tool sets, and skills portable between private and public clouds.
  • Reduced infrastructure complexity and deployment time for virtualized workloads in private clouds with an integrated hardware and software system.
  • A complete platform with optimal performance for a wide range of application types and workloads, with built-in management, compute, storage, and networking resources.
  • Cloud and administrative services for modernized cloud-native applications.
  • A modern microservices architecture, Kubernetes, and related technologies, for a future-proofed software stack.
  • Directly connect to Oracle Exadata and Oracle Database Appliance to create an ideal infrastructure for scalable, multitier applications.

Architecture

This architecture shows cluster nodes with Corosync and Pacemaker installed on a virtual IP in an OCI tenancy.

Use this architecture to deploy automatic virtual IP failover.



pca-x9-automatic-virtual-ip-failover.zip

This architecture supports the following components:

  • Tenancy

    A tenancy is a secure and isolated partition that Oracle sets up within Oracle Cloud when you sign up for Oracle Cloud Infrastructure. You can create, organize, and administer your resources in Oracle Cloud within your tenancy. A tenancy is synonymous with a company or organization. Usually, a company will have a single tenancy and reflect its organizational structure within that tenancy. A single tenancy is usually associated with a single subscription, and a single subscription usually only has one tenancy.

  • 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.

  • Internet gateway

    The internet gateway allows traffic between the public subnets in a VCN and the public internet.

  • Block volume

    With block storage volumes, you can create, attach, connect, and move storage volumes, and change volume performance to meet your storage, performance, and application requirements. After you attach and connect a volume to an instance, you can use the volume like a regular hard drive. You can also disconnect a volume and attach it to another instance without losing data.

  • Monitoring

    Oracle Cloud Infrastructure Monitoring service actively and passively monitors your cloud resources using metrics to monitor resources and alarms to notify you when these metrics meet alarm-specified triggers.

  • File storage

    The Oracle Cloud Infrastructure File Storage service provides a durable, scalable, secure, enterprise-grade network file system. You can connect to a File Storage service file system from any bare metal, virtual machine, or container instance in a VCN. You can also access a file system from outside the VCN by using Oracle Cloud Infrastructure FastConnect and IPSec VPN.

  • Object storage

    Object storage provides quick access to large amounts of structured and unstructured data of any content type, including database backups, analytic data, and rich content such as images and videos. You can safely and securely store and then retrieve data directly from the internet or from within the cloud platform. You can seamlessly scale storage without experiencing any degradation in performance or service reliability. Use standard storage for "hot" storage that you need to access quickly, immediately, and frequently. Use archive storage for "cold" storage that you retain for long periods of time and seldom or rarely access.

  • Identity and Access Management (IAM)

    Oracle Cloud Infrastructure Identity and Access Management (IAM) is the access control plane for Oracle Cloud Infrastructure (OCI) and Oracle Cloud Applications. The IAM API and the user interface enable you to manage identity domains and the resources within the identity domain. Each OCI IAM identity domain represents a standalone identity and access management solution or a different user population.

  • Corosync and Pacemaker Cluster Virtual IP

    Corosync and Pacemaker are third-party components installed in your clusters to enable automatic virtual IP failover.

Before You Begin

Before you begin, ensure these requirements have been met:

About Required Services and Roles

This solution requires the following service:

  • Oracle Private Cloud Appliance X9-2

These are the roles needed for each service.

Service Name: Role Required to...
Oracle Private Cloud Appliance : Compute Enclave Create network, compute, and storage constructs.

See Learn how to get Oracle Cloud services for Oracle Solutions to get the cloud services you need.