No, I think I didn't explain it good enough.
the link in webadmin is created via the novnc program, right?
(basically just html+js)
currently it resides directly on the host where ovirt-engine
is installed.
we want to move this to a different host, but how?
I mean, I got the ticket, I got the websocket proxy, I got
the host we need to connect to and ports and all, but how to
put those pieces together?
Maybe I just miss something very basic and simple?
Am 21.01.2014 16:42, schrieb Michal Skrivanek:
On Jan 21, 2014, at 15:55 , Sven Kieske <S.Kieske(a)mittwald.de> wrote:
> Hi,
>
> yeah we have already setup a websocket proxy on a different host.
> But our goal is not just to use this websocket proxy in the engine
> and clicking the console link in webadmin.
>
> We want a setup like this:
>
> Host a: engine
> Host b: websocket proxy
> Host c: custom user portal with a link which opens
> the novnc connection (similar to the link in webadmin
> when I click "console" for a vm).
>
> how can we construct this link for host c?
right, so what do you miss?
perhaps the websocket proxy address, I don't think it's exposed via REST:/
Don't know. Maybe use a fixed one in your environment is good enough?
other than that you have everything, no?
> everything else works. :)
>
> Am 21.01.2014 15:03, schrieb Michal Skrivanek:
>>
>> On Jan 21, 2014, at 13:09 , Sven Kieske <S.Kieske(a)mittwald.de> wrote:
>>
>>> Hi,
>>>
>>> Am 21.01.2014 12:22, schrieb Michal Skrivanek:
>>>> setting the ticket is a VM's action "ticket"
>>>> after that you can spawn your client and connect to the desired host/port
you get from VM display's address, secureport
>>>
>>> well it's cool I can set the ticket, but the "client" would be
novnc in
>>> our case, so there is no way to get the actual url for this ticket for
>>> novnc with REST?
>>
>> there are two steps
>> you get the password via ticket action (which enables/opens the connection for
those 120s window)
>> you get the display details from VM's properties (host, port)
>> and then you can connect.
>>
>> for novnc you'd need to use websocket proxy in addition so you need to get
the proxy address from engine-config
>>
>> Thanks,
>> michal
>>
>>>
>>> --
>>> Mit freundlichen Grüßen / Regards
>>>
>>> Sven Kieske
>>>
>>> Systemadministrator
>>> Mittwald CM Service GmbH & Co. KG
>>> Königsberger Straße 6
>>> 32339 Espelkamp
>>> T: +49-5772-293-100
>>> F: +49-5772-293-333
>>>
https://www.mittwald.de
>>> Geschäftsführer: Robert Meyer
>>> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
>>> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
>>
>>
>>
>>
>
> --
> Mit freundlichen Grüßen / Regards
>
> Sven Kieske
>
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
>
https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen