\ AccelBase Docs



Get Started

This chapter provides an overview of ACM and its architecture and the infrastructure setup options.

This chapter covers the following:


    About ACM

    Definitions

    Architecture overview

    Infrastructure options



2.1 About ACM


ACM is a comprehensive clone orchestration tool developed to integrate your pre-existing infrastructure and software to provide instant copies of large databases.

ACM fully virtualizes database copies (clones). With complete virtualized database clones, the test data is identical to the production data with low space consumption, allowing the creation of as many clones as needed for testing purposes.

Through ACM self-service console or the RESTful APIs, database clones can be provisioned in minutes, making quality test data available for your agile implementation model or any other test purposes.

The following topics will guide you through the main technical features and the architecture needed to implement and use ACM.

You can also see an executive overview and a case study in the ACM White Paper.


Note:
Along this documentation, some parts of this architecture overview will be used as reference to better understand the setup stages of ACM.



2.2 Definitions

It is very important that you get the concepts about each item to correctly understand the infrastructure needed for ACM configuration and utilization

ACM Agent or Server Agent

It is an agent that works in background mode on all Dev / QA / HM servers that will host a base image database. Regardless of the number of base image databases that you have on the same server, you should have only one ACM Agent. It is responsible for the communication between server and ACM Web, processing all requests, releasing the orchestrations for creating, maintaining and removing snapshots and database clones.



ACM Web or Web front end

This is the front end application that users will access to make all configurations and requests for snapshots and clones. Through it is possible to manage multiple ACM Agents on different servers, ensuring ease and agility to users. It has a dashboard that allows you to monitor your entire environment in a single view.



ACM Repository

Working together with ACM Web this is the application data repository, or to be more clear, it is a database to store ACM data configuration. That repository must be an Oracle Database Standard or Enterprise Edition version 11G or high. The server where ACM Repository is installed must be properly licensed with Oracle Database license. Oracle Database license is not part of the ACM solution, please consult your Oracle Database vendor to keep your server properly licensed.



Master Database, Base Image Database or In-Sync Base Image

It is a real and constantly updated copy of your production database. Each master database can only be synchronized with one production database.



Data Replication

The mechanism responsible for maintain the production and master database synchronized. The data replication is not provided and configured by ACM installation. This is a requirement for ACM operation that currently supports only Oracle Dataguard replication.



Production Server

It is the database production server. ACM does not access or make any activity in this server.



Production Database

The database used by production application. It must be an Oracle Database version 10G or high. ACM does not access or make any activity in this database.



Dev/QA/HM Server

It is the development, QA, homologation, certification and User Acceptance Testing (UAT) server that will host your base image databases, clone databases and the ACM Agent. Linux x86 and Solaris operating systems are supported. This server must be Oracle Grid Infrastructure version 12C or high. That server must be properly licensed with Oracle Database license. Oracle Database license is not part of the ACM solution, please consult your Oracle Database vendor to keep your server properly licensed.



Filesystem

It is the file storage system where the base image databases must be located to enable the creation of clone databases. Each base image database must be in its own filesystem, it is not possible to share this area with other base image database. This filesystem must be an Oracle Automatic Storage Management Cluster File System (Oracle ACFS) version 12C or high.



Snapshot

The "point in time" snapshot from the filesystem where the base image database is hosted, that will allow the database clones to be created with data from the production database in a specific period of time. The snapshot works with the copy on write technology, which means that only the changed blocks will generate space consumption, reducing considerably the space used by database clones.



Clone Database, Virtualized Clone

The replicas of a base image databases in a specific period of time. Each clone database is independent, that is, the data changed in a specific database clone will only be reflected in this database. Other clone database in the same server will not be affected.



2.3 Architecture overview

The following figure shows the layers between production database and the virtualized clones provided by ACM, how layers are related and key information about each one.



Figure 1 - ACM Architecture overview


Production (Layer 1)

This is the source production database which ACM will provide virtual clones.

The only configuration needed in this layer is related to the vendor replication method.

Currently, Oracle physical Dataguard is the only replication method supported by ACM and it is not covered in this documentation, please check the third party Oracle documentation to setup it.

Make sure to use Dataguard in max performance mode (the network I/O attribute should be ASYNC and the disk I/O attribute should be NOAFFIRM) to avoid any performance impact on the production layer.


In-Sync Base Image (Layer 2)

Using the database vendor replication method (Oracle Dataguard), master database will be in continuous synchronization with latest data of production database.

There is no impact on production since synchronization is done through transaction logs already applied in production.

This is the only full physical copy of production database needed.

Before you setup this master database (In-Sync Base Image) using Dataguard, you must follow the below steps:

1.      Calculate the space needed for the master database and the expected simultaneos virtualized clones using ACM recommendation.

2.      Check configuration and parameters recommendation to get the best out of performance.

3.      Setup the destination filesystem where the master database and virtualized clones will reside.


Note:
Currently, Automatic Storage Management Cluster File System (Oracle ACFS) is the only datafile location for the master database supported by ACM.


Make sure to setup all physical dataguard datafiles inside the ACFS, if needed, use Oracle parameters options to convert datafile from source path to the ACFS destination path. Eg: DB_CREATE_FILE_DEST, DB_FILE_NAME_CONVERT, LOG_FILE_NAME_CONVERT, etc.


Snapshots (Layer 3)

Scheduling or on demand, snaphots are taken from base image and kept over time.

From this stage on, multiples snapshots and database clones use the same base image to full virtualize data.

Provisioning of large space volumes is no long required since this is a base image virtualization. Space is only allocated in writing operations to maintain the delta in relation to Base image.

Optionally, sensitive data is identified, classified and treated by Anonymization or Pseudonymization to meet regulatory requirements. To use this option, an ACM Data Mask license is required, contact ASM sales support to get more information.


Virtualized Clones (Layer 4)

Database clones are virtualized created from the snapshots, without large space volumes provisioning, thereby, making the whole process extremely fast and economically viable as it requires minimum storage for each new database clone.

Databases are identical to the production, except sensitive data treated as your choice. For administrators, applications, developers and all other users, this is a regular database as any other physical one.


2.4 Infrastructure options

This topic describes the infrastructure options to place the ACM solution into your environment.

2.4.1 ACM Web front end scenario 1

In this configuration, all ACM components are in the same server. It can be the best option for cost reduction, however, keep in mind that you need to have enough server capacity to provide a good performance for all ACM component, base images databases and the clone databases.


Figure 2 - ACM Web front end scenario 1


2.4.2 ACM Web front end scenario 2

It is possible to install ACM Web on a separated server and keep the ACM Agent and ACM Repository on the same server. This scenario should be considered in environments where applications and databases are managed separately.


Figure 3 - ACM Web front end scenario 2


2.4.3 ACM Web front end scenario 3

For environments where the application and its repository need to be on the same server. In this scenario ACM Web and ACM Repository share the same server. The server where ACM Repository is installed must be properly licensed with Oracle Database license. Oracle Database license is not part of the ACM solution, please consult your Oracle Database vendor to keep your server properly licensed.


Figure 4 - ACM Web front end scenario 3


2.4.4 ACM Web front end scenario 4

If you need to keep all components separated on different servers this is also possible. This scenario can be applied in situations where the servers already exist and can also support the ACM components in order to reduce costs and distribute the capacity to each component on different servers. Oracle Database license is not part of the ACM solution, please consult your Oracle Database vendor to keep your server properly licensed.


Figurer 5 - ACM Web front end scenario 4


2.4.5 ACM Agent scenario 1

The ACM Agent must be installed on the server where the base image database is hosted and where the database clones will be created. On the same server is possible to have multiples base images databases synchronized with the production database even with different servers. To manage the multiples base image databases and their database clones only one ACM Agent is needed, as shown in the figure below


Figure 6 - ACM Agent scenario 1


2.4.6 ACM Agent scenario 2

If you have more than one Dev / QA / HM environment it is possible to distribute the base image databases among these servers. This scenario is commonly used to balance capacity on different servers when a single server would not support the processing of multiple base images databases and their clones. In this scenario, each server must have an ACM Agent as shown in the two figures below.


Figure 7 - ACM Agent scenario 2



Figure 8 - ACM Agent scenario 2


2.4.7 ACM Agent scenario 3

In the past, this scenario would hardly be applied, but nowadays it is common to have a Dev / QA / HM environments in the Real Application Clusters (RAC) architecture. With the ACM Agent it is possible to create database clones in RAC. Note that the production database does not necessarily have to be RAC for ACM Agent to create database clones in this architecture. In this scenario the base image database must be on the same RAC server where the ACM Agent will be installed. Database clones can be created in all RAC instances or only in those chosen. The filesystem must be in cluster mode, active and mounted on all RAC instances where you want to create the database clones.


Figure 9 - ACM Agent scenario 3


Now that you know the ACM architecture and infrastructure needed, prepare your environment using the ACM Installation Checklist.



@AccelBase 2020 - Docs