20.3. Websocket Proxy
20.3.1. Websocket Proxy Overview
The websocket proxy allows users to connect to virtual machines via a noVNC console. Previously, the websocket proxy could only run on the Red Hat Virtualization Manager machine, but now the proxy can run on any machine that has access to the network.
The websocket proxy can be installed and configured on the Red Hat Virtualization Manager machine during the initial configuration (see Configuring the Red Hat Virtualization Manager in the Installation Guide), or on a separate machine (see Installing a Websocket Proxy on a Separate Machine in the Installation Guide).
The websocket proxy can also be migrated from the Manager machine to a separate machine. See Section 20.3.2, “Migrating the Websocket Proxy to a Separate Machine”.
20.3.2. Migrating the Websocket Proxy to a Separate Machine
The websocket proxy and noVNC are Technology Preview features only. Technology Preview features are not supported with Red Hat production service-level agreements (SLAs) and might not be functionally complete, and Red Hat does not recommend using them for production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process. For more information see Red Hat Technology Preview Features Support Scope.
For security or performance reasons the websocket proxy can run on a separate machine that does not run Red Hat Virtualization Manager. The procedure to migrate the websocket proxy from the Manager machine to a separate machine involves removing the websocket proxy configuration from the Manager machine, then installing the proxy on the separate machine.
The engine-cleanup
command can be used to remove the websocket proxy from the Manager machine.
Migrating the Websocket Proxy to a Separate Machine
On the Manager machine, run
engine-cleanup
to remove the required configuration.# engine-cleanup
Type
No
when asked to remove all components and pressEnter
.Do you want to remove all components? (Yes, No) [Yes]: No
Type
No
when asked to remove the engine and pressEnter
.Do you want to remove the engine? (Yes, No) [Yes]: No
Type
Yes
when asked to remove the websocket proxy and pressEnter
.Do you want to remove the WebSocket proxy? (Yes, No) [No]: Yes
Select
No
if asked to remove any other components.- Install and configure the proxy on the separate machine. See Installing a Websocket Proxy on a Separate Machine in the Installation Guide for instructions.