Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

第 127 章 Piranha - Cluster administation tools

摘要

Piranha 安裝與配置

目錄

127.1. install
127.2. configure
127.3. real server
127.4. Example
127.4.1. Master
127.4.2. Slave
127.4.3. MySQL

127.1. install

Install piranha and ipvsadm packages on the LVS Routers

yum -y install ipvsadm piranha
		

Turning on Packet Forwarding on the LVS Routers

vi /etc/sysctl.conf

net.ipv4.ip_forward = 1 把原來的0改成1
使剛纔的修改生效
sysctl -p

臨時生效
echo "1" >/proc/sys/net/ipv4/ip_forward
		

Configuring Services on the LVS Routers

chkconfig pulse on
chkconfig ipvsadm on
chkconfig piranha-gui on
		

Setting a Password for the Piranha Configuration Tool

# piranha-passwd
		

Starting the Piranha Configuration Tool Service

# setenforce 0
setenforce: SELinux is disabled
# service ipvsadm start
# service piranha-gui start