how to override host in console.vv

Hi all, I use ovirt 4.3.10 with an engine running in a standalone virtual machine. The operating system of this engine and the hypervisors is CentOS 7. In the initial setup I chose a name for the engine, ovirt.local, then I added a second public IP address named ovirt.mydomain in order to allow the user portal also from the Internet. Now here's my problem. Users are able to connect to the VM portal but they cannot access the console of their virtual machines. Checking the console.vv file I noticed that there are two parts, the first [virt-viewer] which contains the hypervisor on which the virtual machine runs, and the second in this configuration [ovirt] inside ovirt I've got "host = ovirt.local: 443". Now I would like to change the value of the "host" parameter with the FQDN. Can you tell me how I can set an override of this variable ? Thanks a lot. Best Regards Enrico -- _______________________________________________________________________ Enrico Becchetti Servizio di Calcolo e Reti Istituto Nazionale di Fisica Nucleare - Sezione di Perugia Via Pascoli,c/o Dipartimento di Fisica 06123 Perugia (ITALY) Phone:+39 075 5852777 Skype:enrico_becchetti Mail: Enrico.Becchetti<at>pg.infn.it ______________________________________________________________________

Hi all, If it can be useful I fix it using ovirt admin portal: HOSTS -> server_01 -> EDIT -> "Console and GPU" -> flag "override display" -> public ip address after that I use linux iptables to allow nat destination like this: iptables -t nat -A PREROUTING -d 1.1.1.1 -p tcp --dport 5900:6500 -j DNAT --to-destination 10.0.0.1:5900-65000 Best Regards Enrico Il 09/04/21 08:47, Enrico Becchetti ha scritto:
Hi all, I use ovirt 4.3.10 with an engine running in a standalone virtual machine. The operating system of this engine and the hypervisors is CentOS 7. In the initial setup I chose a name for the engine, ovirt.local, then I added a second public IP address named ovirt.mydomain in order to allow the user portal also from the Internet.
Now here's my problem. Users are able to connect to the VM portal but they cannot access the console of their virtual machines.
Checking the console.vv file I noticed that there are two parts, the first [virt-viewer] which contains the hypervisor on which the virtual machine runs, and the second in this configuration [ovirt] inside ovirt I've got "host = ovirt.local: 443".
Now I would like to change the value of the "host" parameter with the FQDN. Can you tell me how I can set an override of this variable ?
Thanks a lot. Best Regards Enrico
-- _______________________________________________________________________ Enrico Becchetti Servizio di Calcolo e Reti Istituto Nazionale di Fisica Nucleare - Sezione di Perugia Via Pascoli,c/o Dipartimento di Fisica 06123 Perugia (ITALY) Phone:+39 075 5852777 Skype:enrico_becchetti Mail: Enrico.Becchetti<at>pg.infn.it ______________________________________________________________________
participants (1)
-
Enrico Becchetti