会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
doscho
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2017年1月3日
Runtime Reconfiguration
摘要: https://coreos.com/etcd/docs/latest/runtime-configuration.html Runtime Reconfiguration 运行时重新配置 etcd 附带支持增量运行时重新配置,这个允许用户在系统运行时更新集群中的成员。 重新配置请求只能在大部分集群
阅读全文
posted @ 2017-01-03 20:05 doscho
阅读(224)
评论(0)
推荐(0)
2016年12月29日
etcd命令说明 etcd Version: 3.0.15
摘要: etcd Version: 3.0.15Git SHA: fc00305Go Version: go1.6.3Go OS/Arch: linux/amd64 https://github.com/coreos/etcd/blob/master/Documentation/op-guide/confi
阅读全文
posted @ 2016-12-29 20:34 doscho
阅读(2837)
评论(0)
推荐(0)
2016年12月27日
etcd api 接口
摘要: etcd api接口 基本操作api: https://github.com/coreos/etcd/blob/6acb3d67fbe131b3b2d5d010e00ec80182be4628/Documentation/v2/api.md 集群配置api: https://github.com/c
阅读全文
posted @ 2016-12-27 20:02 doscho
阅读(28940)
评论(0)
推荐(0)
centos 7.2 网卡配置文件 及 linux bridge的静态配置
摘要: 在 centos 7.2 系统内, 网卡的配置文件在: /etc/sysconfig/network-scripts/ 下。 命名规则: ifcfg-xxxx。 xxx为设备名称。 通过分析 network 服务的执行脚本: /etc/rc.d/init.d/network 整理网卡配置文件的内容:
阅读全文
posted @ 2016-12-27 14:38 doscho
阅读(14999)
评论(0)
推荐(1)
vmware workstation 上创建的centos 7.2 ,新添加一块网卡。无法找到配置文件。
摘要: 在vmware workstation 11上,新建一个centos 7.2系统。 初装带有一个块网卡;能够在/etc/sysconfig/network-scripts/目录下找到相应的网卡配置文件。 启动后,在线添加一个网卡(nat或bridge ),用ip a 命令能够看到网卡有效,且已配置有
阅读全文
posted @ 2016-12-27 10:35 doscho
阅读(749)
评论(0)
推荐(0)
2016年12月26日
python-etcd
摘要: Client 对象 ['_MDELETE', '_MGET', '_MPOST', '_MPUT', '__class__', '__contains__', '__del__', '__delattr__', '__dict__', '__doc__', '__format__', '__geta
阅读全文
posted @ 2016-12-26 17:08 doscho
阅读(6461)
评论(1)
推荐(0)
etc 安装及使用
摘要: 键值存储仓库,用于配置共享和服务发现。 A highly-available key value store for shared configuration and service discovery. 基本介绍 服务发现 要解决服务发现的问题,需要有下面三大支柱,缺一不可。 一个强一致性、高可用
阅读全文
posted @ 2016-12-26 16:55 doscho
阅读(3727)
评论(0)
推荐(0)
2016年12月19日
python types模块
摘要: types模块成员: 定义所有类型符号的名字,在标准的解释器中所知。 ['BooleanType', 'BufferType', 'BuiltinFunctionType', 'BuiltinMethodType', 'ClassType', 'CodeType', 'ComplexType', '
阅读全文
posted @ 2016-12-19 11:54 doscho
阅读(2861)
评论(0)
推荐(0)
2016年12月16日
message = '''"'''.join(message.split("'")) 作用
摘要: 这个语句的功能那个知道?
阅读全文
posted @ 2016-12-16 16:49 doscho
阅读(302)
评论(0)
推荐(0)
python 格式化 json输出
摘要: 利用python格式化json 字符串输出。 $ echo '{"json":"obj"}' | python -m json.tool 利用python -m json.tool, 输出成带缩进和换行格式的输出。
阅读全文
posted @ 2016-12-16 14:28 doscho
阅读(17903)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页