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?
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