This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Architecture

Astronetes Disaster Recovery architecture

1 - Overview

Astronetes Disaster Recovery architecture

Architecture

The cluster is protected with a warm stand-by paired cluster where the workloads will be offloaded when the disaster occurs. The resources can be deactivated while in the destination cluster until such event takes place, avoiding unnecessary resource consumption and optimizing organizational costs.

The Disaster Recovery Operator extracts the resources from the source cluster and syncs them on the destination cluster maintaining a consistent state between them.

Operator monitoring is attached to the operator and it is independent of either cluster.

Deployment

The operator can be deployed in either a 2-clusters or 3-clusters architecture.

2-clusters

This configuration is recommended for training, testing, validation or when the 3-clusters option is not optimal or possible.

The currently active cluster will be the source cluster, while the passive is the destination cluster. The operator, including all the Custom Resource Definitions and processes, is installed in the latter. The operator will listen for new resources that fulfill the active RecoveryPlan requirements and clone them into the destination cluster.

The source cluster is never aware of the destination cluster and can exist and operate as normal without its presence. The destination cluster needs to have access to it through a ManagedCluster resource.

3-clusters

In addition of the already existing 2 clusters, this modality includes the management cluster. The operator synchronization workflow is delegated in it instead of depending on the destination cluster. The management cluster is in charge of reading the changes and new resources in the source cluster and syncing them to the destination. Neither source or destination cluster needs to know of the existence of the management cluster and can operate without it. Having a separate cluster that is decoupled from direct production activity lowers operational risks and eases access control to both human and software operators. The operator needs to be installed in the destination cluster as well to start the recovery process without depending on other clusters. Custom Resources that configure the synchronization such as RecoveryPlan are deployed in the management cluster while those only relevant when executing the recovery process such as RecoveryExecutionJob are deployed in the destination cluster.

This structure fits organizations that are already depending on a management cluster for other tasks or ones that are planning to do so. Astronetes Disaster Recovery does not require a standalone management cluster and can be installed and managed from an existing one.

2 - Components

Disaster Recovery Components

Operator

ComponentDescriptionSource cluster permissionsDestination cluster permissions
OperatorOrchestrate all the disaster recovery configurations.N/AN/A

Recovery Plan

ComponentDescriptionSource cluster permissionsDestination cluster permissions
Events listenerRead events in the source cluster.Cluster readerN/A
ProcessorFilter and transform the objects read from the source cluster.Cluster readerN/A
SynchronizerWrite processed objects in the destination cluster.N/AWrite
ReconcilerSends delete events whenever it founds discrepancies between source and destination.Cluster readerCluster reader
NATSUsed by other components to send and receive data.N/AN/A
RedisStores metadata about the synchronization state. Most Recovery Plan services interact with it.N/AN/A
Metrics exporterExport metrics about the Recovery Plan.N/AN/A

Recovery Execution Job

ComponentDescriptionSource cluster permissionsDestination cluster permissions
RestorerRestore the data in the destination cluster.N/AWrite