oVirt virtulization
- 內存至少4G
hosts:
192.168.195.15 rhevm.pod0.example.com rhevm
192.168.195.16 servera.pod0.example.com servera
yum -y update Reboot your server for the updates
yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release41.rpm add repositories
yum install -y ovirt-engine
engine-setup
Configure Engine on this host (Yes, No) [Yes]: enter
Configure Image I/O Proxy on this host? (Yes, No) [Yes]: enter
Configure WebSocket Proxy on this machine? (Yes, No) [Yes]: enter
Configure Data Warehouse on this host (Yes, No) [Yes]: enter
Configure VM Console Proxy on this host (Yes, No) [Yes]: enter
Host fully qualified DNS name of this server [rhevm.pod0.example.com]: enter
Do you want Setup to configure the firewall? (Yes, No) [Yes]: No
Where is the DWH database located? (Local, Remote) [Local]: enter
Would you like Setup to automatically configure postgresql and create DWH database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: enter
Where is the Engine database located? (Local, Remote) [Local]: enter
Would you like Setup to automatically configure postgresql and create Engine database, or prefer to perform that manually? (Automatic, Manual) [Automatic]: enter
Engine admin password: redhat
Confirm engine admin password: redhat
Application mode (Both, Virt, Gluster) [Both]: enter
Default SAN wipe after delete (Yes, No) [No]: enter
Organization name for certificate [pod0.example.com]: enter
Do you wish to set the application as the default web page of the server? (Yes, No) [Yes]: enter
Do you wish Setup to configure that, or prefer to perform that manually? (Automatic, Manual) [Automatic]: enter
Configure an NFS share on this server to be used as an ISO Domain? (Yes, No) [Yes]: enter
Local ISO domain path: /exports/rhevisos
Local ISO domain ACL: rhevm.pod0.exmaple.com(rw)
Local ISO domain name [ISO_DOMAIN]: iso0
Please choose Data Warehouse sampling scale:
(1) Basic
(2) Full
(1, 2)[1]: enter
Please confirm installation settings (OK, Cancel) [OK]: enter
systemctl stop firewalld
Open Firefox Browser, navigate to https://rhevm.pod0.example.com/ovirt-engine
install node as servera
servera.pod.example.com https://192.168.195.16:9090/
用centos7 最小安裝 添加到集羣裏reinstall 即可安裝成功
修改時間
timedatectl set-timezone Asia/Shanghai
創建存儲域 域名掛不上用IP
[root@rhevm ~]# mkdir /exports/testdata
[root@rhevm ~]# mkdir /exports/testexport
[root@rhevm ~]# chown 36:36 /exports/test*
[root@rhevm ~]# vi /etc/exports
/exports/testdata 192.168.0.0/16(rw,sync,no_root_squash)
/exports/testexport 192.168.0.0/16(rw,sync,no_root_squash)
/exports/rhevisos 192.168.0.0/16(rw,sync,no_root_squash)
[root@rhevm ~]# exportfs -rv
[root@rhevm ~]# showmount -e localhost
test mount:
mount -t nfs rhevm.pod0.example.com:/exports/testdata /mnt
umount
上傳系統鏡像iso
[root@rhevm exports]# engine-iso-uploader -i iso1 upload CentOS7.iso
install spice-xpi
yum -y install spice-xpi