How do I change the Console Proxy address?
ZSvirt was open-sourced from the ZStack ZSphere commercial project and has since developed independently. Some code, configuration, and documentation still retain historical ZStack/ZSphere names (such as environment variables, configuration items, dependencies, paths, and commands). These names are for compatibility only and do not affect the normal use of ZSvirt.
Solution
-
UI method:
Log in to the virtualization platform and go to System Management > Platform Settings > Console Proxy to open the Console Proxy page. Click Modify Proxy Address.
The change takes effect immediately without restarting the Management Node.
-
Command-line method:
Open the virtual machine console and run the following commands in sequence:
[root@localhost ~]# zstack-ctl configure consoleProxyOverriddenIp=MANAGEMENT_NODE_PUBLIC_IP_ADDRESS //Console Proxy IP address [root@localhost ~]# zstack-ctl restart_node