<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Resource Pool Automation in VMware Aria Automation Orchestrator Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247757#M19477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasn't able to convert to javascript yet, but I did clean up the script.&amp;nbsp; If you want to play around with it, please feel free.&amp;nbsp; I ran this against a test environment with no issues. It WILL cough up an error about not being able to find the "resources" resource pool, but continues to run normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#add VCLI snapin&lt;/P&gt;&lt;P&gt;Add-PSsnapin VMware.VimAutomation.Core&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#connect to vCenter server specified by user&lt;/P&gt;&lt;P&gt;$vCenterServer = read-host "Please enter vCenter server name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#username and password can be specified here. Be careful as to what password is provided as whoever can see this script can know the password.&lt;/P&gt;&lt;P&gt;#$userName = read-host "Please input username"&lt;/P&gt;&lt;P&gt;#$userPassword = read-host "please input password"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#gather credentials for individual run&lt;/P&gt;&lt;P&gt;$myCredentials = Get-Credential&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#connect to VCenter server with credentials from user&lt;/P&gt;&lt;P&gt;connect-viserver $vCenterServer -Credential $myCredentials&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#connect to vCenter server with credentials specified in script&lt;/P&gt;&lt;P&gt;#connect-viserver $vCenterServer -username $userName -password $userPassword&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#set resource pool gathering&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#can specify resource pool name here using "". Right now is set to calculate ALL resource pools.&lt;/P&gt;&lt;P&gt;$ResourcePools = Get-ResourcePool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#main loop to look at every resource pool in vCenter&lt;/P&gt;&lt;P&gt;foreach ($ResourcePool in $ResourcePools)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $numvcpus = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $totalmemory = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $numvms = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $pool = Get-ResourcePool -Name $ResourcePool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #gathers information about the resource pool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ($VM in ($pool| get-VM | where {$_.Powerstate -eq "PoweredOn"})) #checks only for VMs that are powered on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #count number of CPUs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $NumvCPUs += ($VM).NumCpu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #count how much memory is allocated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $TotalMemory += ($vm).MemoryMB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #count number of VMs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $NumVMs += 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; #dislays output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host "Discovered " $NumvCPUs "running vCPUs in resource pool " $ResourcePool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host $TotalMemory "MB of memory allocated in resource pool" $ResourcePool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host "Discovered " $NumVMs "running virtual machines in resource pool " $ResourcePool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #calculates the CPU and MEM into the type of share values you need&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $PoolCPUShares = 1000 * $NumvCPUs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $PoolMemShares = ($TotalMemory / 1024) * 1000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #sets the resource pool values based on what is gathered&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-Resourcepool -Resourcepool $Pool -CPUsharesLevel Custom -NumCpuShares $PoolCPUShares -MemSharesLevel Custom -NumMemShares $PoolMemShares&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the easiest way to do this is to get the Powershell plugin and have VCO call the powershell script from a utility server we have set up.&amp;nbsp; I'm not good enough with javascript to do the conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Unkyrona&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Feb 2015 20:02:06 GMT</pubDate>
    <dc:creator>Unkyrona</dc:creator>
    <dc:date>2015-02-25T20:02:06Z</dc:date>
    <item>
      <title>Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247752#M19472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm currently being tasked with trying to automate resource pool allocation in our clusters.&amp;nbsp; Currently our operations team is struggling to size the resource pools automatically, or systems are migrated and the resource pool shares are not reset to the proper amount.&amp;nbsp; Is there a way I can automate the share amounts based on the memory and CPU for all the VM's in an existing pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resource pool has 7 VMs in it totaling 100,000 Memory and 10,000 CPU shares.&amp;nbsp; System is migrated out and now the resource pool needs to be 80,000 memory and 6,000 CPU.&amp;nbsp; Is there a way to get Orchestrator to do the math for this and edit the resource pool accordingly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 23:37:36 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247752#M19472</guid>
      <dc:creator>Unkyrona</dc:creator>
      <dc:date>2015-01-08T23:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247753#M19473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just giving my inputs here , ; vCOPS can show you the perfect size of the VM's and resource pool , whether we are over provisioned and under provision it can project to us . Considering this as an INPUT and does we can proactively change that ?!.&lt;/P&gt;&lt;P&gt;This is just an addition input for your question&amp;nbsp; since I have vCOPS . I am also looking the answer for your question here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 04:15:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247753#M19473</guid>
      <dc:creator>HariRajan</dc:creator>
      <dc:date>2015-01-09T04:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247754#M19474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out Duncan Eppings post here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/" title="http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/"&gt;http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These scripts were done in powershell but the idea was a weekly script you could run to automatically keep resource pool shares in balance as you discussed.&amp;nbsp; What you would need to do is tweak it to meet your needs then either run this on a powershell host from vCO, or take the logic and translate it into javascript code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 00:30:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247754#M19474</guid>
      <dc:creator>TheVMinator</dc:creator>
      <dc:date>2015-01-15T00:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247755#M19475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I was looking for!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:02:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247755#M19475</guid>
      <dc:creator>Unkyrona</dc:creator>
      <dc:date>2015-01-15T19:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247756#M19476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're welcome.&amp;nbsp; If you manage to recode this in javascript, can you share the code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:49:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247756#M19476</guid>
      <dc:creator>TheVMinator</dc:creator>
      <dc:date>2015-01-15T19:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247757#M19477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasn't able to convert to javascript yet, but I did clean up the script.&amp;nbsp; If you want to play around with it, please feel free.&amp;nbsp; I ran this against a test environment with no issues. It WILL cough up an error about not being able to find the "resources" resource pool, but continues to run normally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#add VCLI snapin&lt;/P&gt;&lt;P&gt;Add-PSsnapin VMware.VimAutomation.Core&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#connect to vCenter server specified by user&lt;/P&gt;&lt;P&gt;$vCenterServer = read-host "Please enter vCenter server name"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#username and password can be specified here. Be careful as to what password is provided as whoever can see this script can know the password.&lt;/P&gt;&lt;P&gt;#$userName = read-host "Please input username"&lt;/P&gt;&lt;P&gt;#$userPassword = read-host "please input password"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#gather credentials for individual run&lt;/P&gt;&lt;P&gt;$myCredentials = Get-Credential&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#connect to VCenter server with credentials from user&lt;/P&gt;&lt;P&gt;connect-viserver $vCenterServer -Credential $myCredentials&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#connect to vCenter server with credentials specified in script&lt;/P&gt;&lt;P&gt;#connect-viserver $vCenterServer -username $userName -password $userPassword&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#set resource pool gathering&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#can specify resource pool name here using "". Right now is set to calculate ALL resource pools.&lt;/P&gt;&lt;P&gt;$ResourcePools = Get-ResourcePool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#main loop to look at every resource pool in vCenter&lt;/P&gt;&lt;P&gt;foreach ($ResourcePool in $ResourcePools)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $numvcpus = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $totalmemory = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $numvms = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $pool = Get-ResourcePool -Name $ResourcePool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #gathers information about the resource pool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach ($VM in ($pool| get-VM | where {$_.Powerstate -eq "PoweredOn"})) #checks only for VMs that are powered on&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #count number of CPUs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $NumvCPUs += ($VM).NumCpu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #count how much memory is allocated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $TotalMemory += ($vm).MemoryMB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #count number of VMs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $NumVMs += 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; #dislays output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host "Discovered " $NumvCPUs "running vCPUs in resource pool " $ResourcePool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host $TotalMemory "MB of memory allocated in resource pool" $ResourcePool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Write-Host "Discovered " $NumVMs "running virtual machines in resource pool " $ResourcePool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #calculates the CPU and MEM into the type of share values you need&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $PoolCPUShares = 1000 * $NumvCPUs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $PoolMemShares = ($TotalMemory / 1024) * 1000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #sets the resource pool values based on what is gathered&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set-Resourcepool -Resourcepool $Pool -CPUsharesLevel Custom -NumCpuShares $PoolCPUShares -MemSharesLevel Custom -NumMemShares $PoolMemShares&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the easiest way to do this is to get the Powershell plugin and have VCO call the powershell script from a utility server we have set up.&amp;nbsp; I'm not good enough with javascript to do the conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Unkyrona&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Feb 2015 20:02:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247757#M19477</guid>
      <dc:creator>Unkyrona</dc:creator>
      <dc:date>2015-02-25T20:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Resource Pool Automation</title>
      <link>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247758#M19478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Ukyrona,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have recently published a vRO workflow on flowgrab that I wrote to manage resource pool share allocations for nested resource pools. It is based on the single-level resource pool share management powershell script that Duncan Epping published on the earlier linked blog post, but has been adapted to parse resource pool hierarchies settings values on all resource pools.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This vRO workflow can;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Work with nested resource pools&lt;/LI&gt;&lt;LI&gt;Calculate shares based on powered on or off VMs in a resource pool&lt;/LI&gt;&lt;LI&gt;Apportion shares between sibling resource pools based on a max share value&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres a link to the project on flowgrab; &lt;A href="https://flowgrab.com/project/view.xhtml?id=306931d3-87c7-4c0f-be45-24cbe2281706" title="https://flowgrab.com/project/view.xhtml?id=306931d3-87c7-4c0f-be45-24cbe2281706"&gt;FlowGrab: View Project&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 15:17:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-Aria-Automation/Resource-Pool-Automation/m-p/2247758#M19478</guid>
      <dc:creator>kchristensen</dc:creator>
      <dc:date>2015-12-16T15:17:10Z</dc:date>
    </item>
  </channel>
</rss>

