US 12,450,081 B2
System and method for managing size of clusters in a computing environment
Manoj Krishnan, Palo Alto, CA (US); Anant Agarwal, San Jose, CA (US); Rahul Chandrasekaran, Mountain View, CA (US); Prafulla Mahindrakar, San Jose, CA (US); and Ravi Cherukupalli, San Ramon, CA (US)
Assigned to VMware LLC, Palo Alto, CA (US)
Filed by VMware LLC, Palo Alto, CA (US)
Filed on Jan. 11, 2022, as Appl. No. 17/647,689.
Application 17/647,689 is a continuation of application No. 16/504,416, filed on Jul. 8, 2019, abandoned.
Application 16/504,416 is a continuation of application No. 15/368,381, filed on Dec. 2, 2016, granted, now 10,346,191, issued on Jul. 9, 2019.
Prior Publication US 2022/0129299 A1, Apr. 28, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 9/455 (2018.01); G06F 9/50 (2006.01)
CPC G06F 9/45558 (2013.01) [G06F 9/5061 (2013.01); G06F 9/5077 (2013.01); G06F 9/5088 (2013.01); G06F 2009/4557 (2013.01); G06F 2209/505 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method executed by a management server comprising:
storing membership of hosts in a cluster in a first data structure;
storing membership of hosts in a spare host pool in a second data structure;
storing membership of hosts in a failed host pool in a third data structure;
when a first host in the cluster is experiencing a partial or total failure and the cluster does not include a sufficient number of hosts based on available resources for a plurality of virtual computing instances (VCIs) in the cluster falling below a minimum threshold value, the available resources comprising at least one of CPU resources, memory resources, or storage resources:
migrating a second host from the spare host pool to the cluster;
migrating at least one VCI from the first host to the second host in the cluster; and
migrating the first host from the cluster to the failed host pool;
while the available resources remain below the minimum threshold value:
migrating one or more hosts from the spare host pool to the cluster;
updating the membership of hosts in the cluster to include the second host and the one or more hosts from the spare host pool by programmatically adding identifiers of the second host and the one or more hosts to the first data structure;
updating the membership of hosts in the cluster to remove the first host by programmatically deleting an identifier of the first host from the first data structure;
updating the membership of hosts in the spare host pool to remove the second host and the one or more hosts from the spare host pool by programmatically deleting the identifiers of the second host and the one or more hosts from the second data structure; and
updating the membership of hosts in the failed host pool to include the first host from the cluster by programmatically adding the identifier of the first host to the third data structure, wherein the management server is separate from the cluster, the spare host pool, and the failed host pool.