VMware Cloud Community
Steven1314
Enthusiast
Enthusiast

Resource pool not appear on esxi host but appear on vcenter

Hi all

  I have a esxi server with 4 resource pools on it and this esxi server is already managed by a vcenter.

  I found a wired scene that the resource pools of the esxi server can only be visible on vcenter but not on esxi server itself.

Is it the normal case? Why?

  Another question is that I want to create a vm on this esxi server by using vsphere api to specify the resource pool “AAA” the vm to

be created. In this case, I connect directly to the esxi server. when the vm is created, it is always under the root resource pool, not in

the specified resource pool “AAA”.

But if I try to create vm by connecting to the vcenter where the esxi server belongs and use vsphere api to specify the resource pool “AAA”.

In this case the vm can be created under the specified resource pool “AAA”.

Why there is such a difference? How to make them work the same?

Thanks.

Reply
0 Kudos
2 Replies
Alex_Romeo
Leadership
Leadership

HI,

Resource Pool is a feature of the Vcenter Server at the cluster level. When you create a Cluster in the vCenter and inside you put your hosts in it, selecting the Cluster enables the "Resource Pool" functionality. It is not possible to view it individually on each host.

Resource Pool from vCenter: Resource Pool Enabled

pastedImage_0.png

Single Host from Vcenter: Resource Pool not enabled

pastedImage_10.png

ESXi without Vcenter: Resource Pool not present

pastedImage_11.png

Alessandro Romeo

Blog: https://www.aleadmin.it/
Reply
0 Kudos
Steven1314
Enthusiast
Enthusiast

I have a esxi server 10.57.60.8, which is managed by a vcenter. And there are 4 resource pools on the esxi server.

From vcenter view, we can clearly see these resource pools:

376230_376230.pngRP.png

But from esxi server view, we can not see these resource pools:

376654_376654.pngESXI Server.png

However, if I use vsphere SDK to connect directly to this esxi server 10.57.60.8, we can still get these resource pools:

376655_376655.pngSDK.png

The question is:

    When I choose one of the above resource pool, say "chendong" to create a vm, the vm is created in the root resource pool instead of the specified resource pool "chendong":

376656_376656.pngRoot Resource Pool.png

However, if I use the SDK to connect to the vcenter and choose the same resource pool  "chendong" of the esxi server 10.57.60.8 to create a vm, the vm is just created under the resource pool I choose, which is what I expect.

376657_376657.pngVC.png

376658_376658.pngVC RP.png

Why there is such a difference? How to explain this case?

Thanks.

Reply
0 Kudos