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.

UI_Icon-Red_Hat-Close-A-Black-RGB

์ฑ„๋„๋ณ„ ๊ฒ€์ƒ‰

automation icon

์˜คํ† ๋ฉ”์ด์…˜

๊ธฐ์ˆ , ํŒ€, ์ธํ”„๋ผ๋ฅผ ์œ„ํ•œ IT ์ž๋™ํ™” ์ตœ์‹  ๋™ํ–ฅ

AI icon

์ธ๊ณต์ง€๋Šฅ

๊ณ ๊ฐ์ด ์–ด๋””์„œ๋‚˜ AI ์›Œํฌ๋กœ๋“œ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋„๋ก ์ง€์›ํ•˜๋Š” ํ”Œ๋žซํผ ์—…๋ฐ์ดํŠธ

open hybrid cloud icon

์˜คํ”ˆ ํ•˜์ด๋ธŒ๋ฆฌ๋“œ ํด๋ผ์šฐ๋“œ

ํ•˜์ด๋ธŒ๋ฆฌ๋“œ ํด๋ผ์šฐ๋“œ๋กœ ๋”์šฑ ์œ ์—ฐํ•œ ๋ฏธ๋ž˜๋ฅผ ๊ตฌ์ถ•ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์•Œ์•„๋ณด์„ธ์š”

security icon

๋ณด์•ˆ

ํ™˜๊ฒฝ๊ณผ ๊ธฐ์ˆ  ์ „๋ฐ˜์— ๊ฑธ์ณ ๋ฆฌ์Šคํฌ๋ฅผ ๊ฐ์†Œํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์ตœ์‹  ์ •๋ณด

edge icon

์—ฃ์ง€ ์ปดํ“จํŒ…

์—ฃ์ง€์—์„œ์˜ ์šด์˜์„ ๋‹จ์ˆœํ™”ํ•˜๋Š” ํ”Œ๋žซํผ ์—…๋ฐ์ดํŠธ

Infrastructure icon

์ธํ”„๋ผ

์„ธ๊ณ„์ ์œผ๋กœ ์ธ์ •๋ฐ›์€ ๊ธฐ์—…์šฉ Linux ํ”Œ๋žซํผ์— ๋Œ€ํ•œ ์ตœ์‹  ์ •๋ณด

application development icon

์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

๋ณต์žกํ•œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ๋Œ€ํ•œ ์†”๋ฃจ์…˜ ๋” ๋ณด๊ธฐ

Virtualization icon

๊ฐ€์ƒํ™”

์˜จํ”„๋ ˆ๋ฏธ์Šค์™€ ํด๋ผ์šฐ๋“œ ํ™˜๊ฒฝ์—์„œ ์›Œํฌ๋กœ๋“œ๋ฅผ ์œ ์—ฐํ•˜๊ฒŒ ์šด์˜ํ•˜๊ธฐ ์œ„ํ•œ ์—”ํ„ฐํ”„๋ผ์ด์ฆˆ ๊ฐ€์ƒํ™”์˜ ๋ฏธ๋ž˜