生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光
全部博文(276)
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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 .........【阅读全文】
发布时间: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@.........【阅读全文】
发布时间: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......【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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 .........【阅读全文】
发布时间: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 .........【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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目前在开源社区活跃度.........【阅读全文】