cloud maintenance of OpenNebula

本文提供了一步一步的指导,帮助您了解如何进行OpenNebula 4.4.1的维护发布,并详细介绍了升级流程,包括停止服务、数据库升级、检测一致性等关键步骤。

OpenNebula 4.4.1 maintenance release,官方建议当前的生产环境使用3.x or 4.x的其它版本;

php调用curl工具伪造ip

  Upgrading from OpenNebula4.4 just upgrading the database version procedure following:

1,

VMs in a transient state (prolog, migr, epil, save).

VMs get to a final state (runn, suspended, stopped, done).

VM life-cycle Documentation

  http://docs.opennebula.org/stable/user/virtual_resource_management/vm_guide_2.html#vm-guide-2

2,

Stop OpenNebula and related services,EC2, OCCI, and Sunstone

$ sunstone-server stop
$ oneflow-server stop
$ econe-server stop
$ occi-server stop
$ one stop

注,located configurtion files in /etc/one 自动备份;

3,

database upgrade

当部署或是升级中 with the message "database version mismatch", upgrading existing DB with  the "onedb" command 或是指定任何版本的sqlite or mysql

具体见http://docs.opennebula.org/stable/administration/references/onedb.html#onedb;

4,

在最后的OpenNebula4.4中,你可以运行"onedb upgrade -v"解决oned.conf配置中可能存在的冲突;

examples:

$ onedb upgrade -v --sqlite /var/lib/one/one.db
$ onedb upgrade -v -S localhost -u oneadmin -p oneadmin -d opennebula

具体one CLI(command line interface)http://docs.opennebula.org/stable/user/references/cli.html#cli
5,数据库升级完成以后用onedb fsck检测数据系统的一致性
$ onedb fsck -S localhost -u oneadmin -p oneadmin -d opennebula
6,

Testing

OpenNebula will continue the monitoring and management of your previous Hosts and VMs.

posted on 2014-02-24 12:48 秦瑞It行程实录 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/ruiy/p/Nebula.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值