2. Live Migration
for compute node maintenance
(true) Live Migration
Block Live Migration
Migrate
Evacuate(for compute node failure)
3. Usages
(True) Live Migration
nova live-migration <instance> <compute node>
Block Migration
nova live-migration --block_migration <instance> <compute node>
migrate
nova migrate <instance>
evacuation
nova evacuate <instance> <compute node>
nova evacuate <instance> <compute node> --on-shared-storage
4. Live migration
Requirements pros cons
(True) Live Migration Shared Storage fast shared storage
Block Migration N/A
no shared storage
local I/O
slower
failure sometimes
Migrate N/A .
scheduler
vm rebooted
Evacuation
ssh public key for
nova@
. settings only
only boot from
volume
Shared Storage
customization on nova
boot
5. de facto standard for OpenStack storage by
community(^^)
for Live migration
Ceph
6. ceph
rising star: dream host...
kvm, qemu integration
inktank, ubuntu, suse
cinder, glance, nova(havana) integration
self-healing, self-managing… almost zero maintenance
gluster
glance, cinder will be next release
nova for glusterfs
gluster 3.4 released at 7.15
… including virtual block storage, OpenStack integration and a lot more…
no documentation and ubuntu repo has 3.2 ^^
. vs GlusterFS
7.
8.
9.
10. feasible solutions
(True) Live Migration
ceph for cinder, glance
glusterfs for instance storage
Block Migration(*)
ceph for cinder, glance
local nova instances storage
in havana we go to true live migration
all ceph
nova integration patch in review(targeted h2)
12. availability zone vs host
aggregation
in grizzly zone was deprecated
node_availability_zone →
default_availability_zone
only effect to nova-api
in grizzly host aggregation is zone
1391. there is no way update flavor with nova cli
if you want then use SQL
in horizon, delete and create flavor
if your want disable flavor with nova cli
make it private
UPDATE instance_types SET is_public = 0
WHERE name = ‘m1.large’
flavor
1392. private flavor
when
hadoop flavor to hadoop team
database flavor to database team
usage
nova flavor-create name id ram disk vcpu
--is-public false
nova flavor-access-add flavor tenant
nova flavor-access-list --flavor flavor_id
1393. keystone n:n
keystone user-create --name user1 --pass user1
You are not authorized for any projects.
keystone user-role-add --user user2 --tenant
demo2 --role Member
keystone user-role-add --user user2 --tenant
demo1 --role Member
admin role is OpenStack system admin role