注:搭建 hosted-engine的node节点的ip是192.168.0.125
,hostname
是nodeTest
,hosts中有192.168.0.125 nodeTest
- 方法一(通过web界面安装)
- 安装ovirt42的源:
yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
- 下载
cockpit-ovirt-dashboard
yum install cockpit-ovirt-dashboard
- 启动
systemctl start cockpit.socket
systemctl enable cockpit.socket
- 浏览器打开界面
url:https://192.168.0.125:9090/
登录
image.pngstart
image.pngVM
engine
image.pngPrepare VM
image.png
image.png- 配置nfs服务器:/stock/hadta
Storage
image.pngFinish
image.png进入网页查看
domain:
image.png
host:
image.png
vm:
image.png在页面上新建其他hosted-engine主机
image.png
- 方法二(通过命令行)
- 配置nfs服务器:/stock/hadta
- 安装ovirt42的源:
yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
- 下载
yum install ovirt-hosted-engine-setup
- 开始部署
hosted-engine --deploy --ansible
image.png
image.png
image.png
注:这个选项是找ovirt-engine-appliance
包的
image.png
image.png
image.png
- hosted-engine 命令
- 查看hosted-engine 状态
hosted-engine --vm-status
- 进入虚拟机控制台
hosted-engine --console
注:console 虚拟机
引用:
通过web界面安装hosted engine:cockpit-ovirt-dashboard
官网:Self Hosted
官网:oVirt Self-Hosted Engine Guide
网友评论