Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1769658
  • 博文数量: 276
  • 博客积分: 1574
  • 博客等级: 上尉
  • 技术积分: 2894
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-26 23:23
个人简介

生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

发布时间:2015-11-30 10:15:31

PrerequisitesDocker requires a 64-bit installation regardless of your CentOS version. Also,your kernel must be 3.10 at minimum, which CentOS 7 runs.......【阅读全文】

阅读(1128) | 评论(0) | 转发(0)

发布时间:2015-11-27 15:24:57

reactor:While the reactor system uses the same basic data structure as the statesystem, the functions that will be called using that data structure aredifferent functions than are called via Salt's state system. The Reactor cancall Runner modules using the runner prefix, Wheel modules using the.........【阅读全文】

阅读(1343) | 评论(0) | 转发(0)

发布时间:2015-11-27 10:04:19

python学习手册:点击(此处)折叠或打开p404:一般来讲,函数讲的是流程:告诉你怎么支做某事,而不是让你使用它支做的事.P623:这是类和模块的另一个差异:内存中特定模块只有一个实例(所以我们得重载模块以取得其新代码),但是,对于类而言,只要有需要,制作多少个实例.........【阅读全文】

阅读(1268) | 评论(0) | 转发(0)

发布时间:2015-11-23 16:18:55

依赖安装[root@PAY_192_168_6_156 bin]# yum install autoconf automake libtool re2c flex bison -y[root@PAY_192_168_6_156 bin]# wget http://cn2.php.net/get/php-5.4.45.tar.gz[root@PAY_192_168_6_156 bin]# tar zxvf php-5.4.45.tar.gz[root@PAY_192_168_6_156 bin]# ./configure --prefix=/opt/php-5.4.45[roo.........【阅读全文】

阅读(1186) | 评论(0) | 转发(0)

发布时间:2015-11-04 13:46:58

在192.168.171.139:6381的redis上手动执行了slaveof 192.168.171.140 6381 后发现没有时行数据同步,查看日志发现有报错信息:[codis@192_168_171_139 redis_conf]$ tail -f redis6381.log...[26050] 04 Nov 13:30:43.785 * Connecting to MASTER 192.168.171.140:6381[26050] 04 Nov 13:30:43.785 * MASTER SLAVE sy.........【阅读全文】

阅读(2692) | 评论(0) | 转发(0)

发布时间:2015-10-29 18:15:46

这里以监控gv_KVM这个卷为例1.启动 Profiling[root@192_168_174_68 ~]# glustergluster> volume profile gv_KVM startStarting volume profile on gv_KVM has been successful2.查看I/0 状态[root@192_168_174_68 ~]# glustergluster> volume profile gv_KVM infoBrick: 192.168.174.68:/opt/brick/g.........【阅读全文】

阅读(3363) | 评论(0) | 转发(0)

发布时间:2015-10-29 16:25:58

问题1:virsh # pool-start gv_KVMerror: Failed to start pool gv_KVMerror: internal error Child process (/bin/mount -t glusterfs 192.168.174.80:/gv_KVM -o direct-io-mode=1 /mnt/gv) unexpected exit status 32: mount: unknown filesystem type 'glusterfs'解决方案:安装glusterfs-fuse包.问题2:vi.........【阅读全文】

阅读(4460) | 评论(0) | 转发(0)

发布时间:2015-10-29 16:25:02

# virsh pool-create-as --name primary_gluster --type netfs --source-host $(hostname) --source-path /primary --source-format glusterfs --target /mnt/libvirt/primary_glusterThe components that the above command uses, are: primary_gluster : the name of the storage pool in libvirt.........【阅读全文】

阅读(1645) | 评论(0) | 转发(0)

发布时间:2015-10-29 15:16:40

2条带,2副本gluster> volume create gv_kvm stripe 2 replica 2 192.168.174.79:/opt/brick/gv_kvm 192.168.174.80:/opt/brick/gv_kvm 192.168.174.81:/opt/brick/gv_kvm 192.168.174.67:/opt/brick/gv_kvmvolume create: gv_kvm: success: please start the volume to access datagluster> volume info gv_kvm .........【阅读全文】

阅读(1789) | 评论(0) | 转发(0)

发布时间:2015-10-29 15:12:24

现象是192.168.167.52上看192.168.174.79显示断开.192.168.174.79上显示连接.不是硬件故障的情况下,查看/var/lib/glusterfs/peers/5537a2d2-1fb0-48a7-8a57-b68e2fb30af9的信息,发现有2个hostname,其中一个使用的是主机名,而192.168.167.52没有写hosts也没有dns,无法解析到.删除主机名的那一列,重启glusterd服务.[root@.........【阅读全文】

阅读(5697) | 评论(0) | 转发(0)

发布时间:2015-10-29 10:45:23

一直怀疑最近的cacti数据显示nan与rrdtool的生成时间不一致造成的问题[root@zabbix 6]# date -d @`rrdtool last 67.rrd`Thu Oct 29 22:40:02 CST 2015[root@zabbix 6]# dateThu Oct 29 10:43:51 CST 2015......【阅读全文】

阅读(1172) | 评论(0) | 转发(0)

发布时间:2015-10-28 10:49:54

[root@zabbix tmp]# tail -f -n 1 /var/log/cronOct 27 22:15:01 zabbix CROND[32037]: (cacti) CMD (/bin/php /var/www/html/cacti/poller.php > /tmp/cacti.log 2>&1)[root@zabbix tmp]# dateWed Oct 28 10:16:15 CST 2015原因是系统时区修改后,必须重启crontab服务才会生效[root@zabbix tmp]# service crond resta.........【阅读全文】

阅读(4773) | 评论(0) | 转发(0)

发布时间:2015-10-28 09:10:36

问题一:PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the ti.........【阅读全文】

阅读(1969) | 评论(0) | 转发(0)

发布时间:2015-10-26 11:42:37

1、Average load:Average number of processes simultaneously in Readystate during the last minute.  上一分钟同时处于“就绪”状态的平均进程数2、Collision rate:Collisions per second detected on theEthernet.    每秒钟在以太网上检测到的冲突数。3、Context switches rate:Number of .........【阅读全文】

阅读(6714) | 评论(0) | 转发(0)

发布时间:2015-10-26 11:16:27

......【阅读全文】

阅读(1215) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册