crontab -e* * * * * /root/start.sh*/20 * * * * /usr/sbin/ntpdate 0.centos.pool.ntp.org >>/root/ntp.logvi /root/start.sh#!/bin/bash#判断进程是否存在,如果不存在就启动它P...
分类:
其他好文 时间:
2014-08-20 12:12:12
阅读次数:
199
httpd.conf的配置 426 # Server-pool management (MPM specific) 427 Include conf/extra/httpd-mpm.conf [root@AY140716161543837722Z /]# apachectl -l Compiled in modules: ? core.c ? prefork.c ? http_c...
分类:
Web程序 时间:
2014-08-19 16:57:55
阅读次数:
334
Openstack针对nova,cinder,glance均使用Ceph作为后端存储时的虚拟机创建机制优化...
分类:
其他好文 时间:
2014-08-16 22:33:11
阅读次数:
375
上篇,我们介绍了使用ceph-deploy去部署ceph集群,下面我们简单介绍下ceph操作.块设备使用(rbd)a.创建用户id与keyringcephauthget-or-createclient.node01osd‘allow*‘mon‘allow*‘>node01.keyringb.复制keyring到node01scpnode01.keyringroot@node01:/root/c.创建镜像apt-get..
分类:
其他好文 时间:
2014-08-15 13:01:09
阅读次数:
206
vi/etc/yum.repos.d/ceph-extras.repo[ceph-extras]name=CephExtrasPackagesbaseurl=file:///ceph/ceph-extrasenabled=1priority=2gpgcheck=0type=rpm-md[ceph-extras-noarch]name=CephExtrasnoarchbaseurl=file:///ceph/ceph-extras-noarchenabled=1priority=2gpgcheck=0type=..
分类:
其他好文 时间:
2014-08-14 21:06:19
阅读次数:
1007
实验环境中修改后的crushmap如下: # begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
# devices
devi...
分类:
其他好文 时间:
2014-08-13 19:37:57
阅读次数:
324
1整体架构2中央日志服务器配置2.1配置时钟同步2.1.1方式一中央日志服务器和Tomcat节点均向同一个时钟源(例如:pool.ntp.org)进行对时即可。说明:本小节下面命令均以root用户执行,并且在中央日志服务器和Tomcat节点均要执行。首先,需要关闭ntpd服务:servicentpdstopchkcon..
分类:
其他好文 时间:
2014-08-13 19:27:18
阅读次数:
345
今天使用虚拟你需要同步时间结果报错了。系统RHEL6.4。报错如下#ntpdateasia.pool.ntp.org
8Aug06:00:11ntpdate[7451]:noserversuitableforsynchronizationfound出现问题后检查防火墙是否关闭#serviceiptablesstatus
iptables:Firewallisnotrunning.结果是关闭的使用-d查看原因..
分类:
其他好文 时间:
2014-08-11 18:15:03
阅读次数:
234
a simple erlang process pool analysis...
分类:
其他好文 时间:
2014-08-11 00:21:50
阅读次数:
291