需要纯净的三个虚拟机,建议内存大小为1024M,注意要将时间、解析配置成一致,防火墙、SElinux关闭。使用nfs进行同步。若过程中获得警告,可能是由于编译环境32位或jdk版本过低的原因1.安装和配置环境所需软件包:hadoop-1.2.1.tar.gzjdk-6u32-linux-x64.bin【server1/server2/..
分类:
其他好文 时间:
2016-07-09 13:37:47
阅读次数:
439
必须要有域名解析以及时间必须同步需要三台虚拟机:server1,server2.server3server11024Mserver2/server3512M需要软件包:update目录下1.环境配置【server1】cdupdate/yuminstall-ypuppet-server-3.8.1-1.el6.noarch.rpmpuppet-3.8.1-1.el6.noarch.rpmfacter-2.4.4-1.el6.x86_6..
分类:
其他好文 时间:
2016-07-05 10:31:18
阅读次数:
355
#rsync-server配置uid=nobody
gid=nobody
usechroot=no
maxconnections=10
strictmodes=yes
pidfile=/var/run/rsyncd.pid
lockfile=/var/run/rsync.lock
logfile=/var/log/rsyncd.log
hostsallow=10.7.0.0/24
[server1]
path=/var/www/extsuite
commnet=backup
ignoreerrors
r..
分类:
其他好文 时间:
2016-06-20 16:02:49
阅读次数:
180
环境需求:rhel6以上,iptablss与selinxdisabled,新虚拟机(未进行其他集群操作的)server1与server2为两节点Instructor为服务机(M端)。集群管理之HeartbeatHeartbeat项目是Linux-HA工程的一个组成部分,它实现了一个高可用集群系统。心跳服务和集群通信是高可用集群的两个..
分类:
其他好文 时间:
2016-06-18 01:32:53
阅读次数:
209
【server3】/etc/init.d/lucistarthttps://server3.example.com:8084将apache服务禁用,RunExclusive取消,避免apache服务独占【server1/server2】yuminstallmysql-server-y/etc/init.d/mysqldstarthttps://server3.example.com:8084增加一个FailoverDomains增加一个Resource—..
分类:
其他好文 时间:
2016-06-17 08:30:52
阅读次数:
199
centos7安装mysql 1 查找系统是否安装了myql rpm -q mysql mysql-server1.1如果安装了。就删除 sudo yum -y remove mysql mysql-server sudo rm -rf /etc/my.cnf 2 安装依赖 sudo yum ins ...
分类:
数据库 时间:
2016-06-17 08:28:46
阅读次数:
360
HA含义为在集群服务器架构中,当主服务器故障时,备份服务器能够自动接管主服务器的工作,并及时切换过去,以实现对用户的不间断服务。(1)基本安装Server1和server2为HighAvailability的两个节点在两个节点上配置完整的rhel6.5的yum源,安装ricci,创建ricci用户,密码westos..
分类:
其他好文 时间:
2016-06-16 08:04:17
阅读次数:
275
需要三台纯净的虚拟机,server3作为server1:172.25.45.1server2:172.25.45.2server3:172.25.45.3【server1,server2】1.重新配置yum源vimdvd.repo内容rumrepolist图2.配置/etc/hosts文件图3.yuminstall-yricci4.echowestos|passwd--stdinricci5.chkconfigriccion/etc/init.d/ric..
分类:
其他好文 时间:
2016-06-15 08:05:59
阅读次数:
269
【server1】vim/usr/local/lnmp/tomcat/conf/context.xml<Context>......<ManagerclassName="de.javakaffee.web.msm.MemcachedBackupSessionManager"memcachedNodes="n1:172.25.45.1:11211,n2:172.25.45.2:11211"failoverNodes="n1"requestUriIgnorePattern=".*\.(ico..
分类:
系统相关 时间:
2016-06-14 06:27:17
阅读次数:
311
LVS/DR配置三台机器:director(eth0192.168.31.166,vipeth0:0:192.168.31.110)realserver1(eth0rip:192.168.31.100,viplo:0:192.168.31.110)realserver2(eth0rip:192.168.31.101,viplo:0:192.168.31.110)Director上vim/usr/local/sbin/lvs_dr.sh//增加#!/bin/bashecho1>/proc..
分类:
其他好文 时间:
2016-06-12 15:42:32
阅读次数:
258