Hi everyone,

I've installed oVirt (specifically Oracle Linux Virtualization Manager v.4.5) 
on my server using the Self-Hosted Deployment method. However, my server is in 
an environment where using well-known ports is restricted.

Therefore, I need to reconfigure the ports for the web portal, which currently 
uses ports 80 and 443, so that I can access the web portal through the browser.

I tried the following two methods:

=== Method 1 ===
During installation, I prepared an answer file (/root/answers.conf) with the 
following configurations:
 OVESETUP_CONFIG/publicHttpPort=int:2416
 OVESETUP_CONFIG/publicHttpsPort=int:5281
 OVESETUP_CONFIG/httpPort=int:2416
 OVESETUP_CONFIG/httpsPort=int:5281

Then, I executed 'hosted-engine --deploy --4 
--config-append=/root/answers.conf'.
However, this did not change the ports.

=== Method 2 ===
After installation, I modified the firewalld service files (ovirt-http.xml, 
ovirt-https.xml), httpd configuration files (httpd.conf, conf.d/ssl.conf), and 
engine configuration files (engine.conf.d/10-setup-portocols.conf, 
11-setup-sso.conf).

This worked, but the 'hosted-engine --vm-status' command contains the following 
issue:

Engine status : {"vm": "up", "health": "bad", "detail": "Up", "reason": "failed 
liveliness check"}

It seems to be caused by the health check to the web portal.
(https://{engine_fqdn}/ovirt-engine/services/health -> the health-check process 
does not modify the port in this URL)
======

So, I will solve it with aspects related to the two questions below.

1) Is there a way to change the engine health-check URL during or after 
installation?
2) Is there a way to configure ports globally related to oVirt?

I hope you guys can provide solutions.

Thanks.

Best regards,
Junho Yu
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/COJ47X666B5KGXASTQUFLGMAPD34JLO4/

Reply via email to