Server Time Synchronization
You must synchronize the server time between each host. If they are already synchronized, check for confirmation.
Synchronize the time on all servers with the time server.
Code Block bash bash # Synchronize with the following command. /usr/bin/rdate -s time.bora.net && /sbin/clock -w
If the time server can not be used, modify it with a direct command.
Code Block bash bash # Modify with the following command. date -s "2017-10-31 11:15:30"
Check the modified time
Code Block bash bash # Check with the following command. date
Change Network Kernel Parameters
Check the current set value.
Code Block bash bash Check with the following command. sysctl -a | egrep 'mem_(max|default)|tcp_.*mem'
Change the setting value with the following command (for 64GB Memory).
Code Block bash bash sysctl -w net.core.rmem_default = "33554432" # 32MB sysctl -w net.core.wmem_default = "33554432" sysctl -w net.core.rmem_max = "268435456" # 256MB sysctl -w net.core.wmem_max = "268435456" sysctl -w net.ipv4.tcp_rmem = "262144 33554432 268435456" sysctl -w net.ipv4.tcp_wmem = "262144 33554432 268435456" # 8388608 Page * 4KB = 32GB sysctl -w net.ipv4.tcp_mem = "8388608 8388608 8388608"
To keep the changes, add them to the /etc/sysctl.conf file and restart the host OS.
Code Block bash bash # Modify the file /etc/sysctl.conf. net.core.rmem_default = "33554432" net.core.wmem_default = "33554432" net.core.rmem_max = "268435456" net.core.wmem_max = "268435456" net.ipv4.tcp_rmem = "262144 33554432 268435456" net.ipv4.tcp_wmem = "262144 33554432 268435456" net.ipv4.tcp_mem = "8388608 8388608 8388608"
Create User
Create a Linux OS user 'machbase' for Machbase installation. The user account directory is created as: /home/machbase.
Code Block bash bash $ sudo useradd machbase --home-dir "/home/machbase"
Set password (machbase)
Code Block bash bash sudo passwd machbase