Yesterday in oVirt Dockerized: Part 1, we learned how to run oVirt on a virtual machine or server, and the "fun part" of making oVirt go. In Part 2, we dive deeper into running oVirt with a remote database and as a standalone container, interactive configuration of an oVirt container, and how to clean up your environment.
Run oVirt with a Remote Database
In this scenario, the oVirt container is connected to the data containers and are linked within the same namespace
cd oVirt-Dockerized/Run && sudo make ovirt-run
{:align="center"}
Run oVirt as a Standalone Container
Here, there is one container with the engine and a database.
cd oVirt-Dockerized/Run && sudo make ovirt-SA-run
The above commands will use the images on the mgoldboi/ovirt* Docker registry. If you want to build or rebuild your own images, you can fork or clone the oVirt-dockerzied repo and examine the Build/Makefile options. Some examples include:
Interactive Configuration of oVirt Container
cd oVirt-Dockerized/Build && sudo make ovirt-manual
Build your custom auto-configuration by changing the answer file values.
cd oVirt-Dockerized/Build && vim DockerFiles/ovirt-SA/ovirt-engine-35-localdb.conf
You can start by changing the password:
OVESETUP_CONFIG/adminPassword=str:ovirt
Or you can configure your hostname fqdn:
OVESETUP_CONFIG/fqdn=str:localhost
Once you are done with such changes, you can build it:
sudo make ovirt-SA
You can watch the build process proceed and oVirt being configured with your custom values. This will create an ovirt-sa-configured-3.5.0 package in your local repo. You can then list the images you have using
sudo docker images
and finally make it run:
cd oVirt-Dockerized/Run && sudo make ovirt-SA-run
Clean Your Environment
To stop and remove your oVirt containers, run
make clean
Remember, this command doesn’t touch images; those can be removed with
docker rmi image_name
저자 소개
Moran Goldboim joined Red Hat in 2010 and is now a Senior Principal Product Manager.
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
가상화
온프레미스와 클라우드 환경에서 워크로드를 유연하게 운영하기 위한 엔터프라이즈 가상화의 미래