在Pike版本中,发现resize已经不需要做nova的key认证就可以迁移到不同节点上,migrate 也默认就可以直接使用。但是live-migration还不行。
这里一共有7台openstack compute节点,分别为zbcloud11 zbcloud12 zbcloud13 zbcloud14 zbcloud15 zbcloud16 zbcloud17,在其中一台上选择做迁移互信:
[root@zbcloud11 ~(keystone_admin)]# cd /etc/nova/migration/
[root@zbcloud11 migration(keystone_admin)]# for i in zbcloud12 zbcloud13 zbcloud14 zbcloud15 zbcloud16 zbcloud17;do scp identity $i:/etc/nova/migration/;done
[root@zbcloud11 migration(keystone_admin)]# for i in zbcloud12 zbcloud13 zbcloud14 zbcloud15 zbcloud16 zbcloud17;do scp authorized_keys $i:/etc/nova/migration/;done
[root@zbcloud11 migration(keystone_admin)]# for i in zbcloud11 zbcloud12 zbcloud13 zbcloud14 zbcloud15 zbcloud16 zbcloud17;do ssh $i chown nova_migration:nova_migration /etc/nova/migration/authorized_keys;done
[root@zbcloud11 migration(keystone_admin)]# for i in zbcloud11 zbcloud12 zbcloud13 zbcloud14 zbcloud15 zbcloud16 zbcloud17;do ssh $i chown nova_migration:nova_migration /etc/nova/migration/identity;done
Congratulations @kong62! You received a personal award!
Click here to view your Board of Honor
Do not miss the last post from @steemitboard:
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @kong62! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit