第 14 章 Piranha - Cluster administation tools

简介:

摘要

Piranha 安装与配置

目录

14.1. install
14.2. configure
14.3. real server
14.4. Example
14.4.1. Master
14.4.2. Slave
14.4.3. MySQL

14.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
		

Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>comments powered by Disqus





原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
Kubernetes 安全 应用服务中间件
Kubernetes CKS【24】---System Hardening - Kernel Hardening Tools(seccomp)
Kubernetes CKS【24】---System Hardening - Kernel Hardening Tools(seccomp)
Kubernetes CKS【24】---System Hardening - Kernel Hardening Tools(seccomp)
|
Ubuntu 关系型数据库 MySQL
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04
In this tutorial, we will explore how to install Docker on Alibaba Cloud and learn some important Docker commands to help you deploy and manage your container services.
3050 0
How to Install and Configure Icinga2 Monitoring Tool on Ubuntu 16.04
|
网络协议 虚拟化
|
网络安全 数据格式 XML