最简单ceph.conf配置如下: 命令如下: ceph-admin上输出: ceph-node1上输出: ceph-node2上输出: 其它常用ceph命令及输出: 列出所有存储池: 刚建好时的输出,好像只有rbd池 生成一个文件,并将文件作为对象放入指定存储池中: 命令rados -p rbd ...
分类:
系统相关 时间:
2017-08-13 10:10:05
阅读次数:
251
1.复制数据库 wind:PRIMARY> show dbs; jinri 0.078GB local 1.078GB test 0.078GB wind 0.078GB wind:PRIMARY> use admin; switched to db admin db.runCommand( {co ...
分类:
数据库 时间:
2017-08-10 10:13:08
阅读次数:
200
一、连接控制 QUIT 关闭连接 AUTH (仅限启用时)简单的密码验证 二、适合全体类型的命令 EXISTS key 判断一个键是否存在;存在返回 1;否则返回0; DEL key 删除某个key,或是一系列key;DEL key1 key2 key3 key4 TYPE key 返回某个key元 ...
分类:
其他好文 时间:
2017-08-08 19:34:20
阅读次数:
156
Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mid-March 2003. To minimize ...
分类:
其他好文 时间:
2017-08-05 23:34:54
阅读次数:
176
Invitation Cards In the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They ...
分类:
其他好文 时间:
2017-08-04 19:25:55
阅读次数:
181
简介 Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。 输出信息含义 执行netstat后,其输出结果为 从整体上看,netstat的 ...
分类:
Web程序 时间:
2017-08-04 15:21:35
阅读次数:
222
事务相关命令 Redis通过multi,discard,exec和watch四个命令来实现事务功能, 一般事务 multi discard exec 特殊:watch 服务器在执行完事务中的所有命令之后,才会继续处理其他客户端的其他命令 事务由multi开启,将多个命令入队到事务中,最后exec命令 ...
分类:
其他好文 时间:
2017-07-29 13:57:51
阅读次数:
149
Polycarp watched TV-show where k jury members one by one rated a participant by adding him a certain number of points (may be negative, i. e. points w ...
分类:
其他好文 时间:
2017-07-26 09:37:17
阅读次数:
237
1.1.1. lpush 在链表的头部插入一个或多个值。 语法: LPUSH key value [value ...] 参数: key 键名。键值为一个链表。 value 要插入的值。 返回值: 整数:在插入之后,链表的长度。 ERROR:key对应的对象不是链表类型。 例子: redis.coe ...
分类:
其他好文 时间:
2017-07-23 12:35:44
阅读次数:
216
1 #!/usr/bin/python 2 #coding=utf-8 3 #发送端 4 import sys,struct,socket 5 from time import sleep 6 7 message="hello" 8 message1="nihao" 9 10 multicast_g... ...
分类:
编程语言 时间:
2017-07-17 17:05:11
阅读次数:
246