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

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

文章分类

全部博文(276)

文章存档

2017年(17)

2016年(131)

2015年(63)

2013年(2)

2012年(32)

2011年(31)

发布时间: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.........【阅读全文】

阅读(3364) | 评论(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.........【阅读全文】

阅读(1646) | 评论(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@.........【阅读全文】

阅读(5700) | 评论(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......【阅读全文】

阅读(1173) | 评论(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)

发布时间:2015-10-22 17:16:51

删除列字符光标定位在要进行删除的列首字母->ctrl+v->光标选中要删除列的最后一个字母->d命令添加列字符光标定位在要进行添加的列首字母->ctrl+v->shift+i->在首行输入要批量添加的内容->ESC+ESC按2次ESC键......【阅读全文】

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

发布时间:2015-10-22 13:41:43

Syntax:worker_cpu_affinity cpumask ...;Default:—Context:mainBinds worker processes to the sets of CPUs.Each CPU set is represented by a bitmask of allowed CPUs.There should be a separate set .........【阅读全文】

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

发布时间:2015-10-19 13:47:19

问题一:<br />peer probe: failed: Error through RPC layer, retry again later<br />这个问题极有可能是版本之间的问题,修改成一样的版本解决问题.<br />[root@192_168_174_79 ~]# cat /etc/yum.repos.d/glusterfs-epel.repo <br /># Place this file in your /etc/yum.repos.d/ directory<br /><br />[glusterfs-e.........【阅读全文】

阅读(2663) | 评论(2) | 转发(0)

发布时间:2015-10-16 12:07:27

<p>转自 http://blog.sina.com.cn/s/blog_6b89db7a0101gbcy.html<br /><br />换个角度深入理解GlusterFS</p><p>GlusterFS(GNU ClusterFileSystem)是一个开源的分布式文件系统,它的历史可以追溯到2006年,最初的目标是代替Lustre和GPFS分布式文件系统。经过八年左右的蓬勃发展,GlusterFS目前在开源社区活跃度.........【阅读全文】

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

登录 注册