(1)クラスタに使用する全マシンの「/etc/hosts」に全ノードの情報を記述する。
[root@hoge~]# vi /etc/hosts 192.168.0.15 kanri.local kanri 192.168.0.16 node1.local node1 192.168.0.17 node2.local node2
(2)外部に公開するサーバではないので、セキュリティ設定をOFFにする。
[root@hoge ~]# chkconfig iptables off [root@hoge ~]# chkconfig ip6tables off [root@hoge ~]# vi /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted # SETLOCALDEFS= Check local definition changes SETLOCALDEFS=0
・iptables、ip6tablesを起動時に自動的に立ち上がらないように「OFF」にする。
・SELinuxが起動時に自動的に立ち上がらないように「disabled」にする。