生活的美妙在于,不知道一下秒是惊艳还是伤神,时光流转,珍惜现在的拥有的时光
全部博文(276)
发布时间:2015-09-23 12:14:15
一直没写过,现在整理一次完整的安装过程:
[root@192-168-171-146 src]# cd /usr/local/src
[root@192-168-171-146 src]# wget http://nginx.org/download/nginx-1.9.5.tar.gz
[talen@192_168_101_65 soft]$ for i in 6 7 8 ; do scp Nginx_upstream_hash-0.3.1.tar.gz root@192.168.171.14$i:/usr/loc.........【阅读全文】
发布时间:2015-09-23 10:57:14
以前的几台NGINX做迁移,想查看一下当时的的编译参数有哪些<br />[root@sn192-168-169-87 ~]# /usr/local/nginx/sbin/nginx -V<br />nginx version: nginx/1.6.2<br />built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) <br />configure arguments: --with-http_stub_status_module --add-module=../nginx_upstream.........【阅读全文】
发布时间:2015-09-23 10:35:37
一台服务器的内存swap使用将尽,于是业务迁移后留出大于swap占用的内存量,将swap回写内存中<br />使用free显示内存占用情况,swap总大小为8388604KB,已经占用7812280KB。现在物理内存有8977692可以使用。完全可以释放所有swap。<br />[talen@sn192-168-169-139 ~]$ free<br /> &nb.........【阅读全文】
发布时间:2015-09-22 18:07:40
[root@S192-168-169-43 app]# top <br />top - 18:02:45 up 797 days, 21:16, 1 user, load average: 40.86, 15.29, 11.57<br />Tasks: 187 total, 1 running, 184 sleeping, 0 stopped, 2 zombie<br />Cpu(s): 0.5%us, 2.5%sy, 0.0%ni, 7.4%i.........【阅读全文】
发布时间:2015-09-18 19:08:48
<div role="main"><div class="section"><h2 id="installing-glusterfs-a-quick-start-guide">安装GlusterFS</h2><p>这里我们使用的是centos7版本。官方快速安装手册建议使用Fedora21以上的版本。</p><h3 id="step-1-have-at-least-two-nodes">Step 1 – 使用虚拟机创建至少2个节点<br />.........【阅读全文】
发布时间:2015-09-17 11:35:18
[talen@ceph_admin mycluster]$ ceph-deploy install ceph_client
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/talen/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /bin/ceph-deploy install ceph_client
[ceph_deploy.cli][INFO ] ceph-deploy option.........【阅读全文】
发布时间:2015-09-16 13:54:33
pre.cjk { font-family: "Nimbus Mono L",monospace; }h2.western { font-family: "Liberation Sans",sans-serif; font-size: 16pt; }h2.cjk { font-family: "思源黑体 CN Regular"; font-size: 16pt; }h2.ctl { font-family: "Lohit Devanagari"; font-size: 16pt; }p { margin-bottom: 0.25cm; li.........【阅读全文】
发布时间:2015-09-16 10:22:51
CEPH存储集群(ceph storage cluster)是部署CEPH的基础,主要包括两个部署项目:OSD(object storage deamon)与MON(ceph monitor).
......【阅读全文】
发布时间:2015-09-14 16:10:51
CLUSTER ID不对,后面无法添加MON
[talen@ceph_admin ~]$ ceph quorum_status --format json-pretty
{
"election_epoch": 1,
"quorum": [
0
],
.........【阅读全文】
发布时间:2015-09-14 15:30:23
MDS添加操作
[talen@ceph_admin ~]$ ceph-deploy mds create ceph_monitor
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/talen/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /bin/ceph-deploy mds create ceph_monitor
[ceph_deploy.cli][INFO ] .........【阅读全文】
发布时间:2015-09-14 15:28:50
[talen@ceph_admin ~]$ ceph-deploy osd prepare ceph_monitor:/osd
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/talen/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.28): /bin/ceph-deploy osd prepare ceph_monitor:/osd
[ceph_deploy.cli][INFO ] ceph-.........【阅读全文】
发布时间:2015-09-14 15:18:20
[talen@ceph_admin ~]$ ceph-deploy -v --username talen purge ceph_admin ceph_node1 ceph_node2 ceph_monitor
[ceph_deploy.conf][DEBUG ] found configuration file at: /home/talen/.cephdeploy.conf
[ceph_deploy.cli][INFO&n.........【阅读全文】
发布时间:2015-09-14 15:13:59
[talen@ceph_admin ~]$ ceph health
2015-09-14 15:11:55.503854 7fdc2297f700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2015-09-14 15:11:55.503876 7fdc2297f700 0 librados: client.admin initialization error (2) No such file or directory
Err.........【阅读全文】
发布时间:2015-09-14 13:31:59
接上一篇:http://blog.chinaunix.net/uid-21142030-id-5194039.html
为每个OSD NODE添加一块磁盘分区后再进行实验.
[root@ceph_node1 osd]# df
Filesystem  .........【阅读全文】
发布时间:2015-09-14 12:08:40
[root@ceph_node1 /]# ceph -w
cluster f35a65ad-1a6a-4e8d-8f7e-cb5f113c0a02
health HEALTH_ERR
64 pgs stale
.........【阅读全文】