the use of Dynamic Memory. Note that I can also set the number of DVD drives
allowed; if shared images are used, I could set the number of hard disks allowed and
their type and size, number of network adapters, and even whether high availability is
available or required.
Figure 9.11 Custom capability profile
A potential pitfall exists when creating customer capability profiles if you don’t plan
well. Many resources, such as virtual machine templates, have a configuration that
sets the required capability profile. If you don’t update the resources with your custom
capability profile, you won’t be able to assign any resources to your new cloud. This is
configured through the Hardware Configuration area of the VM template; select the
Compatibility option, and ensure that the new capability profile is selected.
Once you’ve created your custom capability profiles, you can elect to use them for
your cloud. The custom capability profiles created can be used in addition to, or
instead of, the built-in capability profiles. Click Next.
A summary of all your choices is displayed in a confirmation screen along with the
magic View Script button that will show the PowerShell code to create a complete new
cloud. This is a basic example without hardware load balancers or virtual IP templates,
but it gives you an idea of what is going on. Now that you have the PowerShell code,
you could use this in other components such as System Center Orchestrator to
automate the creation of clouds based on requests from Service Manager.
Set-SCCloudCapacity -JobGroup "XXXXXX" -UseCustomQuotaCountMaximum $true -UseMemoryMBMaximum $false -UseCPUCountMaximum $false
-UseStorageGBMaximum $false -UseVMCountMaximum $true -MemoryMB 36864 `