Reliable Virtual Machine Placement and Routing in Clouds

Song Yang, Philipp Wieder, Ramin Yahyapour, Stojan Trajanovski, Xiaoming Fu

Introduction

Ensuring high availability for cloud services is a complex challenge that involves optimizing both the placement of Virtual Machines (VMs) and the communication paths between them. In modern cloud environments, a single service often relies on a group of interconnected VMs. A failure in a single server node or network link can take the entire service offline. To mitigate this, providers employ redundancy by placing VM replicas across different nodes and routing data over multiple paths.

However, achieving this reliably and efficiently is difficult. Providers must balance strict availability targets (e.g., 99.99% uptime) with the need to minimize resource usage and costs. Furthermore, traditional reliability models often assume failures are independent, which is rarely true in practice. Servers in the same rack often share a power source or switch, creating a Shared-Risk Node Group (SRNG) where a single failure affects multiple VMs simultaneously.

Example network topology for VM placement and routing with node availability values.

The authors address two core NP-hard problems: Reliable VM Placement (RVMP), which focuses on selecting the optimal physical nodes, and Availability-Based Delay-Constrained Routing (ABDCR), which identifies the best network paths under latency constraints.

Methodology

The researchers propose a combination of rigorous mathematical modeling and practical heuristics to solve these optimization problems.

Mathematical Modeling

A key contribution is the introduction of a novel operator ($\circ$) to calculate placement availability. This operator prevents "double-counting" the reliability of nodes or SRNGs shared across different backup groups, providing a more accurate assessment of system-wide availability.

Exact and Heuristic Solutions

For small-scale scenarios, the paper proposes an Integer Nonlinear Program (INLP) for placement and a modified Dijkstra-based algorithm for routing. While these provide optimal solutions, they are computationally expensive for large networks. To address scalability, the authors developed two efficient heuristics:

  • DSR (Delay-Sensitive and Reliable) Placement: A greedy algorithm that prioritizes nodes for VMs based on the criticality of their delay and availability constraints.
  • TADRA (Tunable Availability-based Delay-constrained Routing): A routing algorithm that balances the number of stored paths at each node to quickly find reliable, low-latency connections.

Evaluation and Datasets

The algorithms were evaluated using both synthetic and real-world network topologies:

  • Placement: Simulated 16-node and 100-node complete graphs with varying node capacities and failure probabilities.
  • Routing: Realistic carrier backbone networks, specifically USANet (USA) and GÉANT (Europe).
  • Workload: 100 to 1,000 randomly generated service requests with diverse requirements for VM counts, storage, communication delay, and availability thresholds.

Key Insights: The SRNG Factor

A major insight of the paper is that placement and routing cannot be solved in isolation. A reliable node is ineffective if the network path leading to it is prone to failure or high latency. Furthermore, accounting for shared risks (SRNGs) significantly alters the optimal placement strategy. Ignoring these correlations leads to overestimating system reliability.

Comparison of VM placement strategies with and without considering Shared-Risk Node Groups (SRNGs).

The authors also demonstrate that increasing the number of allowed placement groups ($H$)—effectively increasing redundancy—significantly improves the Acceptance Ratio, which is the percentage of customer requests the cloud can successfully satisfy.

Results and Performance

  • Efficiency: The DSR heuristic achieved an acceptance ratio nearly identical to the exact INLP solution but operated orders of magnitude faster.
  • Scalability: While the exact INLP failed to solve 100-node networks within 24 hours, the DSR and TADRA heuristics provided results in milliseconds to seconds.
  • Routing Performance: The TADRA algorithm outperformed existing iterative methods like SeqTAMCRA by more reliably finding feasible multi-path routes in highly constrained networks.

Limitations and Future Directions

The current models assume a static "snapshot" of the cloud. Future research could explore dynamic re-optimization to account for the constant creation and deletion of VMs. Additionally, integrating real-time telemetry to update node and link failure probabilities dynamically would enhance robustness. Finally, extending the routing model from link-disjoint to strictly node-disjoint paths could offer even higher levels of survivability.

Summary updated

BibTeX
@article{yang2017reliable,
  author = {Song Yang and Philipp Wieder and Ramin Yahyapour and Stojan Trajanovski and Xiaoming Fu},
  title = {{Reliable Virtual Machine Placement and Routing in Clouds}},
  journal = {IEEE Trans. Parallel Distributed Syst.},
  year = {2017},
  url = {https://openreview.net/forum?id=8zH2P6a17je},
}
Figure