Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Edit the applicationContext.xml in the web app (WEB-INF/classes), . You need to change the consoleProxyManagerImpl line to

Code Block
<bean id="consoleProxyManagerImpl" class="com.cloud.consoleproxy.StaticConsoleProxyManager" />

A quick way to do this is using sed. E.g. if applicationContext.xml is in ./client/target/generated-webapp/WEB-INF/classes/ use

Code Block

sed -e 's/com.cloud.consoleproxy.ConsoleProxyManagerImpl/com.cloud.consoleproxy.StaticConsoleProxyManager/g' ./client/target/generated-webapp/WEB-INF/classes/applicationContext.xml -i

Restart the management server
6. Open the GUI, create a zone and add your secondary storage nfs://$NFS_IP/$NFS_EXPORT
7. Disable secondary storage and console proxy vms in the zone:

...