摘要: #!/bin/bashgsettings set org.gnome.settings-daemon.plugins.media-keys max-screencast-length 0 阅读全文
posted @ 2016-10-06 16:40 希曼博客 阅读(202) 评论(0) 推荐(0) 编辑
摘要: [kiosk@foundation15 Desktop]$ rht-vmctl start allStarting node1.Starting node2.Starting node3.Starting node4.Starting lvs1.Starting lvs2.[kiosk@founda... 阅读全文
posted @ 2016-10-06 16:39 希曼博客 阅读(197) 评论(0) 推荐(0) 编辑
摘要: [root@rhel6 ~]# wget http://classroom.example.com/content/ula/cluster/clusterinit.sh[root@rhel6 ~]# bash clusterinit.sh lvs1-f15.example.comStopping ... 阅读全文
posted @ 2016-10-06 16:38 希曼博客 阅读(128) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashVIP=172.25.0.100VIPCAST=172.25.0.255RIP=192.168.88.80DGW=172.25.0.254DGWMAC="52:54:00:00:00:fe"arptables -Farptables -A IN -d $VIP -j DROPa... 阅读全文
posted @ 2016-10-06 16:37 希曼博客 阅读(284) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash[ -z $1 ] && echo input hostname && exitmyname=$1ret=0if [[ $myname =~ ^node[1234]-f[0-9]*\.example\.com ]]then ret=1fiif [[ $myname =~ ^lv... 阅读全文
posted @ 2016-10-06 16:35 希曼博客 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 所有的服务最好设置开机启动[root@node1-f15 ~]# chkconfig modclusterd on[root@node1-f15 ~]# chkconfig ricci on[root@node1-f15 ~]# chkconfig luci on[r... 阅读全文
posted @ 2016-10-06 16:31 希曼博客 阅读(244) 评论(0) 推荐(0) 编辑
摘要: [kiosk@foundation15 Desktop]$ ssh root@172.25.15.10#配置初始化环境Last login: Thu Jul 2 16:02:25 2015 from 172.25.0.250[root@rhel6 ~]# vim /... 阅读全文
posted @ 2016-10-06 16:30 希曼博客 阅读(338) 评论(0) 推荐(0) 编辑
摘要: [root@foundation15 ~]# virt-manager[root@rhel6 ~]# service NetworkManager statusNetworkManager (pid 1258) is running...[root@rhel6 ~]... 阅读全文
posted @ 2016-10-06 16:28 希曼博客 阅读(157) 评论(0) 推荐(0) 编辑