四、修改内核配置文件--两个节点都要执行
这个在OCM环境已经配置好
To view the current value specified for these kernel parameters, and to change them if necessary, follow these steps:
-
Enter the commands shown in the following table to view the current values of the kernel parameters:
Note:
Make a note of the current values and identify any values that you must change.Parameter Command semmsl, semmns, semopm, and semmni # /sbin/sysctl -a | grep sem
This command displays the value of the semaphore parameters in the order listed.
shmall, shmmax, and shmmni # /sbin/sysctl -a | grep shm
file-max # /sbin/sysctl -a | grep file-max
ip_local_port_range # /sbin/sysctl -a | grep ip_local_port_range
This command displays a range of port numbers.
rmem_default, rmem_max, wmem_