VMware vSphere

 View Only
  • 1.  Resource pool not appear on esxi host but appear on vcenter

    Posted Jul 31, 2019 07:55 AM

    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.



  • 2.  RE: Resource pool not appear on esxi host but appear on vcenter

    Posted Jul 31, 2019 09:18 AM

    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

    Single Host from Vcenter: Resource Pool not enabled

    ESXi without Vcenter: Resource Pool not present

    Alessandro Romeo



  • 3.  RE: Resource pool not appear on esxi host but appear on vcenter

    Posted Aug 01, 2019 01:49 AM

    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:

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

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

    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":

    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.

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

    Thanks.