このコンテンツは選択した言語では利用できません。
Chapter 6. Configure iptables and Pacemaker
Configure the firewall and Pacemaker to isolate the database cluster.
Procedure
Insert an
iptablesrule on each controller node to drop inbound connections over the the virtual IP address to the database port.iptables -I INPUT -d 192.168.1.10 -p tcp --dport 3306 -j DROP iptables -I INPUT -d 192.168.1.10 -p tcp --dport 3306 -j DROP iptables -I INPUT -d 192.168.1.10 -p tcp --dport 3306 -j DROP
[root@overcloud-controller-0]# iptables -I INPUT -d 192.168.1.10 -p tcp --dport 3306 -j DROP [root@overcloud-controller-1]# iptables -I INPUT -d 192.168.1.10 -p tcp --dport 3306 -j DROP [root@overcloud-controller-2]# iptables -I INPUT -d 192.168.1.10 -p tcp --dport 3306 -j DROPCopy to Clipboard Copied! Toggle word wrap Toggle overflow From one of the controller nodes, remove the
mariadb-galeraservice from Pacemaker management.pcs resource unmanage galera
[root@overcloud-controller-0]# pcs resource unmanage galeraCopy to Clipboard Copied! Toggle word wrap Toggle overflow