2016年1月7日

摘要: instance create:nova/api/servers.create -- self.compute_api.create -- self.compute_task_api.build_instances-- self.conductor_compute_rpcapi.build_inst... 阅读全文
posted @ 2016-01-07 09:33 allcloud 阅读(773) 评论(0) 推荐(0) 编辑

2016年1月6日

摘要: Table4.53.Description of scheduler configuration optionsConfiguration option = Default valueDescription[DEFAULT]aggregate_image_properties_isolation_n... 阅读全文
posted @ 2016-01-06 09:44 allcloud 阅读(633) 评论(0) 推荐(0) 编辑

2015年12月25日

摘要: nova采用libvirt blockcopy(python APIvirDomainBlockRebase)来做live snapshot.Create the base image: $ qemu-img create -f qcow2 base 1G$ guestfish -a base.qc... 阅读全文
posted @ 2015-12-25 15:53 allcloud 阅读(1847) 评论(0) 推荐(0) 编辑
摘要: 从image boot,并且attach一个no-bootable volume:$ nova boot --flavor 2 --image 98901246-af91-43d8-b5e6-a4506aa8f369 \ --block-device source=volume,id=d620d9... 阅读全文
posted @ 2015-12-25 14:37 allcloud 阅读(392) 评论(0) 推荐(0) 编辑
摘要: http://docs.openstack.org/user-guide/cli_nova_launch_instance_from_volume.htmlhttp://docs.openstack.org/admin-guide-cloud/blockstorage-manage-volumes.... 阅读全文
posted @ 2015-12-25 14:26 allcloud 阅读(2135) 评论(0) 推荐(0) 编辑

2015年12月24日

摘要: list all the block devices associated with the guest$ virsh domblklist testvm --detailsType Device Target Source------------------------... 阅读全文
posted @ 2015-12-24 21:41 allcloud 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 列出当前正在使用的block device$ virsh domblklist vm1Target Source------------------------------------------------vda /export/images/base.qcow2 创建一个e... 阅读全文
posted @ 2015-12-24 20:33 allcloud 阅读(387) 评论(0) 推荐(0) 编辑

2015年12月22日

摘要: http://docs.openstack.org/juno/config-reference/content/section_keystone.conf.htmlhttp://docs.openstack.org/liberty/config-reference/content/section_k... 阅读全文
posted @ 2015-12-22 11:02 allcloud 阅读(659) 评论(0) 推荐(0) 编辑

2015年12月21日

摘要: 为了减少CPU竞争,提高CPU cache命中率,可以把guest的vcpu pin到host的物理CPU上。在openstack中,可以添加以下到flavor extra specs:hw:cpu_policy=shared|dedicatedhw:cpu_threads_policy=avoid... 阅读全文
posted @ 2015-12-21 13:24 allcloud 阅读(3658) 评论(0) 推荐(0) 编辑

2015年12月5日

摘要: 一、什么是配额(quota)管理简单的讲就是控制用户资源的数量。在openstack里,管理员为每一个工程(project)分配的资源都是有一定限制的,这些资源包括实例(instance)、cpu、内存、存储空间等等,不能让一个工程无限制的使用资源,所以配额管理针对的单位是工程(project)。先... 阅读全文
posted @ 2015-12-05 17:36 allcloud 阅读(1187) 评论(0) 推荐(0) 编辑

导航