General Page
Best Practices for creating Environment Definitions
Best Practices for Environment Definition
Environment Definition Best Practices
- For VMWare based infrasturcture:
- Set 'Account Pool' to
itzvmwarein the majority of cases - Set 'Cloud Account' to
any - Create an seperate entry for each Geo:
Americas,EuropeandAP. - Set Region to
any. - Set Datacenter to
any.
- Set 'Account Pool' to
- For IBM Cloud based infrastructure:
- Set 'Account Pool' to
sharedin the majority of cases - Set 'Cloud Account' to
any - Create an seperate entry for each Geo:
Americas,EuropeandAP. - Set Region to
any. - Set Datacenter to
any.
- Set 'Account Pool' to
- For any patterns that require a specific account and/or data center to be successful, then work the TechZone team to help configure the Environment entries properly.

How does Dynamic Workload Placement Work
Definitions
- Account Pool - This is used to group multiple accounts/locations that are configured the same into a pool of accounts. This helps us expand capacity across multiple IBM Cloud accounts without running into quota issues.
- Cloud Account - This is a specific cloud account to use. This field is only used for certain Environments where there is a specific need to use a particular account, does this field get set to anything other than
any. If there is a need to use a specific account, then there will be a specific Account Pool set up for just that purpose. - Geo - These are
Americas,Europe, andAP. Ideally a user wants their workload to be as close as possible to them. We use this field for that purpose. We will not attempt to deploy workload to any other Geo. - Region - This is an IBM Cloud specific field that we don't use any longer. Leaving to
anyis always the safe choice. - Datacenter - This is used, similar to the Cloud Account field, only when a specific datacenter must be used.
How we decide where to place workload
- Once a user requests a reservation, our reservation micro service (reservation-ms) will pick it up and start processing.
- reservation-ms will then send the requested Account Pool, Geo, Accounts, Region, and Data Centers to the capacity scheduler (scheduler) service.
- scheduler will then perform the following steps:
- Expand the Accounts requested to all within the Account Pool (i.e. if the reservation has the Account
ITZ-V2and the Account Pool issharedit will also addITZ-Squad). - Expand the Data Centers requested to include all within the Geo and Accounts in the Pool.
- At this point we have what is called a Score Map with multiple Account/DataCenter pairs.
- Look up current capacity usage for each Account/DataCenter pair.
- Apply a score to each Account/DataCenter pair based on availability of CPU, memory, Storage, and other metrics that we track.
- Select the highest scoring Account/DataCenter pair.
- Expand the Accounts requested to all within the Account Pool (i.e. if the reservation has the Account
- scheduler will then return the selected Account/Datacenter pair to reservation-ms and a Capacity field with true or false. Sometimes the answer is false as none of the options have capacity.
- If the overall answer to "Is there capacity available" is no, reservation-ms will mark the reservation as "Failed" with a result of "Insufficient capacity"
- Otherwise it will send the reservation and all details for the Account/Datacenter selected to our gitops provisioning service for provisioning.
[{"Type":"MASTER","Line of Business":{"code":"","label":""},"Business Unit":{"code":"","label":""},"Product":{"code":"SSNR6KN","label":"IBM Technology Zone"},"ARM Category":[{"code":"a8mKe0000004CVgIAM","label":"Content-\u003EVMWare"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
18 February 2025
UID
ibm17159389