Monthly Archives: April 2019

导入VMware OVA映像到OpenStack

OpenStack专题:导入VMware OVA映像到OpenStack this text is from https://www.topomel.com/archives/582.html 工作中碰到一个需求:之前的业务系统跑在VMware虚拟机中,现在需要导入到OpenStack中当做VM来跑。 问题:需要解决VMware系统迁移到OpenStack Glance中。 解决方法: 可以先从VMware中导出虚拟机,注意选择导出单个ova文件。然后使用qemu-img工具将ova格式转成qcow2的格式,然后上传到Glance即可。具体操作指令如下: 1)解压ova文件: tar -xvf ubuntu.ova 2)转换格式 qemu-img convert -f vmdk ubuntu.vmdk -O qcow2 ubuntu.qcow2 3)上传qcow格式映像到Glance . admin-openrc glance image-create –name ubuntu –disk-format qcow2 –container-format bare –visibility public –file ubuntu.qcow2 … Continue reading

Posted in OpenStack | Tagged | Leave a comment

2-openstack(rocky)最小环境安装(包括cinder和swift)

1-0.组件介绍 The OpenStack Identity service provides a single point of integration for managing authentication, authorization, and a catalog of services. The Identity service is typically the first service a user interacts with. Once authenticated, an end user can use their … Continue reading

Posted in OpenStack | Tagged | Leave a comment

1-openstack(rocky)各节点环境部署

Environment 环境配置非常重要,我按照官方文档步骤来操作 0 Security 1 Host networking 2 NTP 3 Openstack packages 4 SQL database 5 Message queue 6 Memcached 7 Etcd 0、Security openstack需要用到以下密码,使用以下命令用来生成随机密码 $ openssl rand -hex 10 Password name Description Database password (no variable used) Root password for … Continue reading

Posted in OpenStack | Tagged | Leave a comment

0-1-openstack(rocky)安装准备-节点规划

我的block和object是一台专门的存储,所以不打算再分开做了,你也可以分开做(未完待续)

Posted in OpenStack | Tagged | Leave a comment

0-2-openstack(rocky)安装准备-jumper部署ansible

jumper上面部署ansible,分发密钥 部署完成后测试一下 部署完成后,先更新系统 yum -y upgrade,然后做后面的准备

Posted in OpenStack | Tagged | Leave a comment