1 Reply Latest reply on Aug 28, 2018 1:00 PM by dgold

    CoresPerSocket not honored

    santoshc123 Lurker

      Hello,

      CoresPerSocket is not being honored when used with 'deployment option' as described at https://www.virtuallyghetto.com/2013/08/flexible-ovf-deployments-using.html

      We want 1 CPU with 16 cores.  My understanding is that VirtualQuantity/CoresPerSocket gives the number of CPUs.  The following works when used without 'deployment option' - 

            <Item>
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>8 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>16</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">16</vmw:CoresPerSocket>
            </Item>

      However, when used with the following deployment option 'medium', we get 2 CPUs with 8 cores per socket instead of 1 CPU with 16 cores per socket.

       

            <Item>
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>8 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>8</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">8</vmw:CoresPerSocket>
            </Item>
            <Item ovf:configuration="medium">
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>16 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>16</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">16</vmw:CoresPerSocket>
            </Item>
            <Item ovf:configuration="large">
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>32 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>64</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">64</vmw:CoresPerSocket>
            </Item>

            <Item>
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>8 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>8</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">8</vmw:CoresPerSocket>
            </Item>
            <Item ovf:configuration="medium">
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>16 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>16</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">16</vmw:CoresPerSocket>
            </Item>
            <Item ovf:configuration="large">
              <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
              <rasd:Description>Number of Virtual CPUs</rasd:Description>
              <rasd:ElementName>32 virtual CPU(s)</rasd:ElementName>
              <rasd:InstanceID>1</rasd:InstanceID>
              <rasd:ResourceType>3</rasd:ResourceType>
              <rasd:VirtualQuantity>64</rasd:VirtualQuantity>
              <vmw:CoresPerSocket ovf:required="false">64</vmw:CoresPerSocket>
            </Item>

       

      Is there anything wrong in how this is specified?

       

      thanks!