其实看基础理论篇大家也可以看出来,cinder跟nova流程比较像,是这样的,nova为云主机提供了虚拟资源,cinder则是提供存储相关的资源,cinder的小伙伴叫swift,不过这个一般没人用了现在,之所以要部署cinder呢是因为需要用它来对接ceph,不过考虑到并不是所有人都想后端用分布式 ...
分类:
其他好文 时间:
2016-11-08 00:37:34
阅读次数:
281
由 curl -s -H "X-Auth-Token: $OS_TOKEN" http://192.168.153.128:8774/v2.1/servers/detail | python -m json.tool 命令; 得到结果: { "servers": [] 注:因为servers是核心资 ...
分类:
数据库 时间:
2016-11-04 23:21:06
阅读次数:
566
nova作为计算组件,在控制节点和计算节点都需要安装1、创建用户:nova,并授权用户权限[root@controller~]#sourceadmin-openrc.sh
[root@controller~]#openstackusercreate--domaindefault--password=novanova
+-----------+----------------------------------+
|Field|Value|..
分类:
其他好文 时间:
2016-11-03 03:16:31
阅读次数:
318
devstack has shortened names for a number of services, e.g. g-api = glance api g-reg = glance registry n-api = nova api n-crt = nova certificate n-obj ...
分类:
其他好文 时间:
2016-10-17 22:59:49
阅读次数:
175
哈哈和51是一毛一样的backtracking,唯一区别就是比起每次找到最后生成一个板子,就是记个数,非常不要脸的发两篇 ...
分类:
其他好文 时间:
2016-10-17 07:22:39
阅读次数:
193
经典的题目……很有趣 ref:http://blog.csdn.net/hackbuteer1/article/details/6657109 首先说一下判断一个格子是不是能放,行列+两侧斜角比较非常笨重,可以用一个一维数组来表示int[] queuePos = new int[n]. 每一个格子表 ...
分类:
其他好文 时间:
2016-10-17 07:16:46
阅读次数:
145
N-Queens 模拟退火不会写 0.0 The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. Given an i ...
分类:
其他好文 时间:
2016-10-06 06:59:07
阅读次数:
213
A.Nearest Neighbor Search B.Odd Discount C.Eight Queens D.Longest Common Subsequence E.Coins F.Floyd-Warshall G.Road History H.Around the World I.Long ...
分类:
其他好文 时间:
2016-10-05 21:54:56
阅读次数:
157
图片来自互联网。 虚拟机启动过程如下: 1、界面或命令行通过RESTful API向keystone获取认证信息。2、keystone通过用户请求认证信息,并生成auth-token返回给对应的认证请求。3、界面或命令行通过RESTful API向nova-api发送一个boot instance的 ...
分类:
其他好文 时间:
2016-10-05 00:47:20
阅读次数:
187
前面我们已经讨论了DHCPagent的配置以及namespace如何隔离dnsmasq服务,本节将以cirros-vm1为例分析获取DHCPIP的详细过程。在创建instance时,Neutron会为其分配一个port,里面包含了MAC和IP地址信息。这些信息会同步更新到dnsmasq的host文件。如下图所示:同时nova-compute会..
分类:
其他好文 时间:
2016-09-26 09:44:16
阅读次数:
138