Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
9.10.5. Configuring System Control Settings
OpenShift Enterprise uses semaphores, ports, and connection tracking extensively. Apply the following changes to the default
/etc/sysctl.conf file to enable this usage.
Procedure 9.8. To Configure the sysctl Settings:
- Open the
/etc/sysctl.conffile and append the following line to increase kernel semaphores to accommodate more httpds:kernel.sem = 250 32000 32 4096 - Append the following line to the same file to increase the ephemeral port range to accommodate application proxies:
net.ipv4.ip_local_port_range = 15000 35530 - Append the following line to the same file to increase the connection-tracking table size:
net.netfilter.nf_conntrack_max = 1048576 - Append the following line to the same file to enable forwarding for the port proxy:
net.ipv4.ip_forward = 1 - Append the following line to the same file to allow the port proxy to route using loopback addresses:
net.ipv4.conf.all.route_localnet = 1 - Run the following command to reload the
sysctl.conffile and activate the new settings:# sysctl -p /etc/sysctl.conf
Note
If you use the kickstart or bash script, the
configure_sysctl_on_node function performs these steps.