Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
9.12. Configuring Node Hosts for xPaaS Cartridges
The JBoss Fuse and JBoss A-MQ premium xPaaS cartridges have the following configuration requirements:
- All node and broker hosts must be updated to OpenShift Enterprise release 2.1.7 or later.
- Because the openshift-origin-cartridge-fuse and openshift-origin-cartridge-amq cartridge RPMs are each provided in separate channels, the node host must have the "JBoss Fuse for xPaaS" or "JBoss A-MQ for xPaaS" add-on subscription attached to enable the relevant channel(s) before installing either cartridge RPM. See Section 9.1, “Configuring Node Host Entitlements” for information on these subscriptions and using the
oo-admin-yum-validator
tool to automatically configure the correct repositories starting in releases 2.1.8 and 2.2. - The configuration in the
/etc/openshift/resource_limits.conf.xpaas.m3.xlarge
example file must be used as the gear profile on the node host in place of the defaultsmall
gear profile. - The cartridges require 15 external ports per gear. All of these ports are not necessarily used at the same time, but each is intended for a different purpose.
- The cartridges require 10 ports on the SNI front-end server proxy.
- Due to the above gear profile requirement, a new district must be created for the gear profile. Further, due to the above 15 external ports per gear requirement, the new district's capacity must be set to a maximum of 2000 gears instead of the default 6000 gears.
- Starting in OpenShift Enterprise 2.2, restrict the xPaaS cartridges to the
xpaas
gear size by adding to theVALID_GEAR_SIZES_FOR_CARTRIDGE
list in the/etc/openshift/broker.conf
file on broker hosts. For example:VALID_GEAR_SIZES_FOR_CARTRIDGE="fuse-cart-name|xpaas amq-cart-name|xpaas"
VALID_GEAR_SIZES_FOR_CARTRIDGE="fuse-cart-name|xpaas amq-cart-name|xpaas"
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
The JBoss Fuse Builder premium xPaaS cartridge can run on a default node host configuration. However, because the openshift-origin-cartridge-fuse-builder cartridge RPM is provided in the same separate channels as the JBoss Fuse and JBoss A-MQ cartridges, the node host must have either the "JBoss Fuse for xPaaS" or "JBoss A-MQ for xPaaS" add-on subscription attached to enable either of the channels before installing the cartridge RPM. See Section 9.1, “Configuring Node Host Entitlements” for more information.
The JBoss EAP premium xPaaS cartridge has the following configuration requirement and recommendation:
- Because the openshift-origin-cartridge-jbosseap cartridge RPM is provided in a separate channel, the node host must have the "JBoss Enterprise Application Platform for OpenShift Enterprise" add-on subscription attached to enable the channel before installing the cartridge RPM. See Section 9.1, “Configuring Node Host Entitlements” for more information.
- Red Hat recommends setting the following values in the node host's
/etc/openshift/resource_limits.conf
file:limits_nproc=500 memory_limit_in_bytes=5368709120 # 5G memory_memsw_limit_in_bytes=5473566720 # 5G + 100M (100M swap)
limits_nproc=500 memory_limit_in_bytes=5368709120 # 5G memory_memsw_limit_in_bytes=5473566720 # 5G + 100M (100M swap)
Copy to Clipboard Copied! Toggle word wrap Toggle overflow You can set these values while following the instructions in Section 9.13, “Configuring Gear Profiles (Sizes)” through to the end of the chapter.