Preparing the Customization File to Overwrite the sysctl Parameters
Use these instructions in this situation:
-
You want to allow the DPK setup script to change the sysctl settings on your system.
-
You want to specify sysctl values that are equal to or greater than the values for the parameters in the generated psft_unix_system.yaml file.
Note:
Review the requirements in Understanding PeopleSoft Environment Customizations before preparing the customization file.
-
Locate the psft_unix_system.yaml file, which was installed by the deployment, in BASE_DIR/dpk/puppet/production/data.
-
If necessary, create a psft_customizations.yaml using a standard editing tool, such as vi on Linux, and save it in the same location as the generated psft_unix_system.yaml file.
If this is the first entry in the psft_customizations.yaml file, ensure that there are three dashes (
---) on the first line of the file. Do not indent the dashes. -
Copy the
setup_sysctl: truescalar parameter from the psft_unix_system.yaml file and paste it into the psft_customizations.yaml file.Do not change the parameter; it must be set to “true”. Retain the indentation as given in the delivered YAML file.
-
Copy the entire
sysctl:collection type parameter (comprised of several lines) from the psft_unix_system.yaml file and paste it into the psft_customizations.yaml file.Retain the indentation as given in the delivered YAML file.
--- setup_sysctl: true sysctl: kernel.msgmnb: 65538 kernel.msgmni: 1024 kernel.msgmax: 65536 kernel.shmmax: 68719476736 kernel.shmall: 4294967296 kernel.core_uses_pid: 1 net.ipv4.tcp_keepalive_time: 90 net.ipv4.tcp_timestamps: 1 net.ipv4.tcp_window_scaling: 1 net.ipv4.ip_local_port_range: '10000 65500' -
Change the values of the
sysctlparameters in psft_customizations.yaml as needed, but the values must be equal to or greater than those in the generated psft_unix_system.yaml file. -
Save the file.
-
Continue with the steps in Completing the Customized Deployment.