WORKLOAD PLACEMENT BASED ON DATASTORE CONNECTIVITY GROUP
The present disclosure relates to workload placement based on datastore connectivity group. Some embodiments include separating a cluster having a plurality of hosts and a plurality of datastores into a plurality of datastore connectivity groups (DCGs), wherein the hosts and the datastores of each cluster are fully connected, for each DCG, executing distributed resource scheduler (DRS) to determine a best host and executing storage DRS to determine a best datastore, and executing a workload placement program to determine a best host-datastore pair from among the plurality of DCGs.
1 . A method, comprising:
receiving a request to place a virtual computing instance (VCI) in a cluster that includes a plurality of hosts and a plurality of datastores;
defining a plurality of datastore connectivity groups (DCGs) within the cluster, wherein, in each DCG, each host is fully connected and each datastore is fully connected;
determining a respective suitable host within each of the plurality of DCGs;
determining a respective suitable datastore within each of the plurality of DCGs; and
determining a placement host and a placement datastore from among the respective suitable hosts and the respective suitable datastores.
2 . The method of claim 1 , wherein the method includes placing the VCI with the placement host and the placement datastore.
3 . The method of claim 1 , wherein the method includes executing a distributed resource scheduler (DRS) to determine the respective suitable host within each of the plurality of DCGs.
4 . The method of claim 1 , wherein the method includes executing a storage DRS to determine the respective suitable datastore within each of the plurality of DCGs.
5 . The method of claim 1 , wherein the method includes executing a set of workload placement instructions to determine the placement host and the placement datastore from among the respective suitable hosts and the respective suitable datastores.
6 . The method of claim 1 , wherein, for any of the plurality of DCGs, each host of the DCG is connected to a same set of datastores in the DCG as any other host in the DCG.
7 . The method of claim 1 , wherein defining the plurality of DCGs includes defining a DCG including a host that is not connected to any datastore.
8 . A non-transitory machine-readable medium having instructions stored thereon which, when executed by a processor, cause the processor to:
receive a request to place a virtual computing instance (VCI) in a cluster that includes a plurality of hosts and a plurality of datastores;
define a plurality of datastore connectivity groups (DCGs) within the cluster, wherein, in each DCG, each host is fully connected and each datastore is fully connected;
for each of the plurality of DCGs:
determine a respective suitable host; and
determine a respective suitable datastore; and
determine a placement host and a placement datastore from among the respective suitable hosts and the respective suitable datastores.
9 . The medium of claim 8 , including instructions to place the VCI with the placement host and the placement datastore.
10 . The medium of claim 8 , including instructions to execute a distributed resource scheduler (DRS) to determine the respective suitable host within each of the plurality of DCGs.
11 . The medium of claim 8 , including instructions to execute a storage DRS to determine the respective suitable datastore within each of the plurality of DCGs.
12 . The medium of claim 8 , including instructions to execute a set of workload placement instructions to determine the placement host and the placement datastore from among the respective suitable hosts and the respective suitable datastores.
13 . The medium of claim 8 , wherein, for any of the plurality of DCGs, each host of the DCG is connected to a same set of datastores in the DCG as any other host in the DCG.
14 . The medium of claim 8 , wherein the instructions to define the plurality of DCGs include instructions to define a DCG including a host that is not connected to any datastore.
15 . A system, comprising:
a request engine configured to receive a request to place a virtual computing instance (VCI) in a cluster that includes a plurality of hosts and a plurality of datastores;
a DCG engine configured to define a plurality of datastore connectivity groups (DCGs) within the cluster, wherein, in each DCG, each host is fully connected and each datastore is fully connected;
a host-datastore engine configured to, for each of the plurality of DCGs:
determine a respective suitable host; and
determine a respective suitable datastore; and
a placement engine configured to determine a placement host and a placement datastore from among the respective suitable hosts and the respective suitable datastores.
16 . The system of claim 15 , wherein the placement engine is configured to place the VCI with the placement host and the placement datastore.
17 . The system of claim 15 , wherein the host-datastore engine is configured to execute a distributed resource scheduler (DRS) to determine the respective suitable host within each of the plurality of DCGs.
18 . The system of claim 15 , wherein the host-datastore engine is configured to execute a storage DRS to determine the respective suitable datastore within each of the plurality of DCGs.
19 . The system of claim 15 , wherein the placement engine is configured to execute a set of workload placement instructions to determine the placement host and the placement datastore from among the respective suitable hosts and the respective suitable datastores.
20 . The system of claim 15 , wherein the DCG engine is configured to define a DCG including a host that is not connected to any datastore.