Create new resource groups from the Platform Management Console to ensure your consumers have the appropriate group of compute hosts available to them. Resource groups are often the easiest way to create a homogeneous group of hosts for a consumer (for example, all Linux machines). You can create a resource group by resource requirement (dynamic) or by host names (static). This procedure creates a resource group by host names.
Remember: When you create a resource group by host names, you select specific member hosts. If any new hosts are added to the cluster, they need to be manually added to a resource group.
- In the Platform Management Console, click .
Any existing resource groups are listed.
- Select.
- Specify a resource group name.
Resource group names must consist of letters and numbers only (no spaces or special characters) and must be 64 characters or less.
- (Optional) Include a description of the resource group.
There is a 200-character maximum.
- (Advanced) Specify how many slots per host you would like to have the system count.
We do not recommend overriding the slots per host configured at the host level. It can lead to double counting your resources in your resource plan. Unless you are an advanced user, set this to 1 slot per CPU.
The maximum number of slots per host is 9999.
- For the Resource Selection Method, select Static (List of Names).
Static resource selection means that you are selecting specific hosts to belong to this resource group.
- Under , select how you would like to filter your host list.
All hosts gives you a list of all hosts that belong to your cluster. You cannot specify any resource requirements.
Hosts filtered by resource requirement lets you filter your hosts and display a list of candidates for your resource group based on a set of resource requirements. For example, you can specify all hosts that are Linux.
- If you chose to filter hosts by resource requirement, specify the resource requirement you want.
For example, select(LINUX86).
Note the following:
The entered expression gets evaluated against each host in the cluster. If a host is found to satisfy the stated resource requirement (if it returns true/ non-zero), then the host is added to the host group.
Use the syntax from the selection string to specify your resource requirements. You do not need to use XML equivalents in the Platform Management Console.
Resource Requirement
|
Description
|
Example
|
Static
|
maxmem
|
The maximum RAM available
|
select(maxmem>400)
|
maxswp
|
The maximum swap space
|
select(maxswp>600)
|
maxtmp
|
The maximum temporary space
|
select(maxtmp>100)
|
ncpus
|
The number of CPUs
|
select(ncpus==1)
|
type
|
The type of host
|
select(LINUX86)
|
ndisks
|
Number of disks
|
select(ndisks>1)
|
|
Ensure that you enter a resource requirement expression that relates to the host and that can be used during evaluation (for example, memory requirement, swap space, temporary disk space, etc.).
If you specify a Windows host name, it must be the full name not the short name.
Tip: You can use the command egoconfig addresourceattr to add a custom tag to any hosts and then specify that tag when creating a resource group. See the reference for more information.
- If you have specified a resource requirement or modified one, click Refresh Host List to get an accurate list of hosts below.
- Expand the Member hosts section if necessary and review the hosts found.
If you selected to filter hosts by All hosts, the list of hosts provided is all the hosts in your cluster. If you selected Hosts filtered by resource requirement, a list of hosts that currently fulfill the requirements you specified in the resource requirement string section display.
- Review your member hosts and select the hosts you want using the checkboxes.
If your host list is long, it may go on for several pages. You can select hosts and click Create at any time and then add more hosts from other pages. Make sure you save before navigating to another page.
Once you have selected a member host, you can filter the list again with a different resource requirement. The hosts highlighted and check marked are your member hosts.
By default, if you select no member hosts, all hosts in your cluster are added to this resource group when you create it. Furthermore, if you do not select a host, the resource group type switches from Static to Dynamic.
- Click Check for overlaps.
No hosts should overlap between resource groups. Resource groups are used to plan resource distribution in your resource plan. Having overlaps causes the hosts to be double-counted (or more) in the resource plan, resulting in recurring under-allocation of some consumers.
If any hosts overlap, remove them from this resource group or remove them from the overlapping resource group. The exception is with hosts listed in InternalResourceGroup—although all hosts in the cluster are listed here they are not “double-counted” in the resource plan.
- Click Create.
To get back to your list of resource groups, click Resource Groups on the top of your page or Cancel at the bottom. You now need to update your resource plan based on this new resource group. Note that the number of slots available for your new resource group in the resource plan is automatically detected from what you specified in your resource group.