Docsity

Cloud Server High Availability (CSHA), Study notes of Computer Networks

Toggle sidebar
bg1
Cloud Server High Availability (CSHA)
Definition: Cloud Server High Availability (CSHA)provides High Availability protection for Elastic Cloud Servers (ECSs) across data centers in
one city. When a disaster occurs in the production center, the protected ECSs can be automatically or manually switched to the disaster recovery
(DR) center.
Restriction Description
DR (disaster recovery centre) protection works for ECSs but not for
applications in the ECSs.
Cloud Server High Availability (CSHA) provides protection for Elastic Cloud
Servers (ECSs) across data centers, but it doesn't extend to applications
running within those ECSs.
The EVS disks of ECSs that are added to the same CSHA instance
must originate from the same storage device.
When configuring CSHA, ensure that all EVS disks attached to ECSs within
the same CSHA instance come from the same storage device.
ECSs that are attached with the same shared EVS disk must belong to
the same CSHA instance.
If ECSs share an EVS disk, they need to belong to the same CSHA instance to
ensure proper management and failover procedures.
When configuring CSHA DR protection, ensure that the production
ECS and DR ECS are in the same project.
To enable Disaster Recovery (DR) protection for ECSs, they must belong to
the same project for streamlined management and failover processes.
When adding DR protection, ensure that the production ECS and DR
ECS have the same vendor and processor architecture.
Matching vendor and processor architecture between production and DR ECSs
is essential for seamless failover operations.
During a hot migration operation, the compute nodes where the
production ECS and the DR ECS reside respectively must meet
specific requirements.
Compliance with compute node restrictions is necessary for successful hot
migrations of ECSs in CSHA setups.
You cannot perform HA protection for partial EVS disks of an ECS.
After a new EVS disk is attached to an HA ECS, HA protection needs
to be manually added for this EVS disk.
Full EVS disk coverage is required for High Availability (HA) protection of
ECSs; manual addition is necessary for newly attached disks.
In the Huawei distributed block storage active-active scenario, when a Faults in the replication cluster can impact access to ECSs with CSHA
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Cloud Server High Availability (CSHA) and more Study notes Computer Networks in PDF only on Docsity!

Cloud Server High Availability (CSHA)

Definition: Cloud Server High Availability (CSHA) provides High Availability protection for Elastic Cloud Servers (ECSs) across data centers in one city. When a disaster occurs in the production center, the protected ECSs can be automatically or manually switched to the disaster recovery (DR) center. Restriction Description DR ( disaster recovery centre ) protection works for ECSs but not for applications in the ECSs. Cloud Server High Availability (CSHA) provides protection for Elastic Cloud Servers (ECSs) across data centers, but it doesn't extend to applications running within those ECSs. The EVS disks of ECSs that are added to the same CSHA instance must originate from the same storage device. When configuring CSHA, ensure that all EVS disks attached to ECSs within the same CSHA instance come from the same storage device. ECSs that are attached with the same shared EVS disk must belong to the same CSHA instance. If ECSs share an EVS disk, they need to belong to the same CSHA instance to ensure proper management and failover procedures. When configuring CSHA DR protection, ensure that the production ECS and DR ECS are in the same project. To enable Disaster Recovery (DR) protection for ECSs, they must belong to the same project for streamlined management and failover processes. When adding DR protection, ensure that the production ECS and DR ECS have the same vendor and processor architecture. Matching vendor and processor architecture between production and DR ECSs is essential for seamless failover operations. During a hot migration operation, the compute nodes where the production ECS and the DR ECS reside respectively must meet specific requirements. Compliance with compute node restrictions is necessary for successful hot migrations of ECSs in CSHA setups. You cannot perform HA protection for partial EVS disks of an ECS. After a new EVS disk is attached to an HA ECS, HA protection needs to be manually added for this EVS disk. Full EVS disk coverage is required for High Availability (HA) protection of ECSs; manual addition is necessary for newly attached disks. In the Huawei distributed block storage active-active scenario, when a Faults in the replication cluster can impact access to ECSs with CSHA

node in the replication cluster is faulty, the ECS that has applied for CSHA protection in the same AZ cannot be accessed. protection in the same Availability Zone (AZ). When the CSHA service uses the automatic switchover mode, a switchover is triggered only if a site-level fault occurs. Automatic switchover in CSHA is contingent on site-level faults; partial faults won't trigger cross-site switchover, potentially causing service interruptions. The protection type of a CSHA instance cannot be changed to CSHA+CSDR. Once set, the protection type of a CSHA instance cannot be altered to include additional protection features. The protection type of a CSHA+CSDR instance cannot be changed to CSHA. Similarly, once set, a CSHA instance with added CSDR protection cannot revert to a standard CSHA configuration. To ensure that the host names of the production VM and DR VM are the same after the DR switchover, set the host names of the two VMs to the same during resource provisioning. Maintaining consistent host names between production and DR VMs is crucial for seamless operations post-switchover. Aspect Description Data Consistency Ensuring data consistency across replicated instances is crucial in CSHA setups. Techniques such as synchronous replication can be employed to guarantee that data is replicated accurately between production and DR sites. Failover Mechanisms CSHA typically employs automated failover mechanisms to swiftly redirect traffic from a failed production environment to the DR site. This minimizes downtime and ensures continuity of services in the event of hardware failures or disasters. Monitoring and Alerting Robust monitoring and alerting systems are essential for detecting potential issues and triggering failover procedures promptly. Continuous monitoring of resource utilization, network health, and application performance aids in proactive fault management.

performance remains unaffected during storage data replication.during storage data replication. DR Management Key management nodes like ManageOne, OceanStor BCManager eReplication, and FusionSphere OpenStack can be deployed across sites, with connectivity to a third site for arbitration. Automatic failover occurs on site failure or link failure. Non-key management nodes support cross-site DR and manual failover. Data Consistency CSHA ensures consistent active-active protection for all EVS disks in one or a group of ECSs. Application Unawareness CSHA, based on IaaS, enables cross-site active-active at the storage layer, ensuring seamless business continuity without user disruption in case of site failure. Automatic and Manual Failover Both automatic and manual failover modes are supported: - Automatic failover: ECSs automatically switch between sites on site failure, with reprotection starting upon site recovery. - Manual failover: DR administrators can perform one-click fault recovery for affected ECS instances during site failures.

Application Scenarios

CSHA ensures optimized data security, correctness, and continuous service availability across two data centers. It protects against both disasters in the production center and planned downtimes, providing comprehensive data protection and service continuity.

Link of source: https://doc.hcs.huawei.com/usermanual/csha/scenarios_csha.html

Implementation Principles

Logical Architecture

Table of Components

Components Function Deployment Mode

CSHA storage quorum service Provides HyperMetro for storage arrays and provides arbitration detection services during splitting. Deployed at Region layer, deployed on VMs of the third site in geo-redundancy mode. Cross AZ HA arbitration service for management components Provides fault detection services for management components and other components deployed across AZs. Deployed at Region layer, deployed on VMs of the third site in geo-redundancy mode. CSHA Console CSHA service console Deployed on the static server of ManageOne. OceanStor BCManager eReplication As a CSHA server, receive and process requests from the CSHA Console. Deployed at the Global layer in two-node virtual deployment mode. Storage For details about the version mapping, see OceanStor BCManager 8.3.0 eReplication Version Mapping. Deployed in an AZ.

Service Flow

Workflow of applying for a CSHA service instance

  1. A VDC operator requests a CSHA service instance.
  2. OceanStor BCManager eReplication, upon task reception, queries and detaches system volumes from ECS in AZ1 and AZ2 via Nova API.
  3. HyperMetro secondary volumes are created on corresponding storage devices using Cinder API.
  4. HyperMetro pairs are established between primary and secondary volumes using DRExtend API. All pairs are added to the service instance's HyperMetro consistency group.

Workflow of fault recovery of CSHA

  • In active/standby mode for network egress, network adapter switchover function is enabled.

Relationship between CSHA and other cloud services: Cloud Service Description ECS ECS allows CSHA to apply for and create production and DR ECSs. EVS EVS provides EVS disks for production and DR ECSs, and indirectly provides EVS disks for CSHA.

Key Metrics

Metric Value

RPO (Recovery Point Objective) 0 Maximum number of cloud servers supported by a service instance. The maximum value is 64. It is restricted by the maximum number of pairs in a consistency group. Maximum number of EVS disks supported by a service instance. 256, determined by the maximum number of pairs in a consistency group. Maximum number of service instances supported by the system. 512

Accessing and Using CSHA

Two methods available:  Web UI Log in to ManageOne Operation Portal (ManageOne Tenant Portal in B2B scenarios) as a tenant, click in the upper left corner of the page, select a region, and select the cloud service.  API Use this mode if you need to integrate the cloud service into a third-party system for secondary development. For details, see API reference of the service on Operation Help Center.

API Reference (for Huawei Cloud Stack 8.2.1)