1.2. Minimum Gear Requirements
This section describes the resource requirements for the JBoss A-MQ cartridge. When you install new OpenShift nodes, you can choose the preconfigured xPaaS gear profile. If you configure existing nodes, you use the xPaaS gear profile from the file that OpenShift provides.
To view the full property descriptions and additional information about the xPaaS gear profile, see the following file:
/etc/openshift/resource_limits.conf.xpaas.m3.xlarge
For general information about how to configure gears on OpenShift Enterprise, see the section Gear Profiles in the OpenShift Enterprise documentation.
Basic gear properties
The following table lists a summary of the basic gear properties and values to set when you want to use an xPaaS cartridge:
Property | Value |
---|---|
node_profile | xpaas |
quota_blocks | 5242880 |
max_active_gears | 50 |
no_overcommit_active | false |
limits_noproc | 2142 |
cpu_shares | 128 |
cpu_cfs_quota_us | 200000 |
memory_limits_in_bytes | 1073741824 |
memory_memsw_limit_in_bytes | 1610612736 |
memory_move_charge_at_immigrate | 1 |
memory_oom_control | 1 |
max_active_gears | 50 |
Additional gear properties
The following table lists additional properties and alternate values for some of the gear properties to use when the gear is throttled, frozen, thawed, or boosted:
Template | Property | Value |
---|---|---|
Throttle | cpu_shares | 128 |
cpu_cfs_quota_us | 100000 | |
apply_period | 120 | |
apply_percent | 30 | |
restore_percent | 70 | |
Freeze | freezer_state | FROZEN |
Thaw | freezer_state | THAWED |
Boost | cpu_shares | 256 |
cpu_cfs_quota_us | 400000 |