Azure Image - Setup Varibles (Host is now incorrect)
We just deployed a few new Azure IaaS instances of Wowza 4.3.0 using the Marketplace image via the new portal which uses Resource Manager. When Wowza server starts it uses instance specific variables which are set at some point when the VM instance is created. One of these for example is: PLATFORM_METADATA_HOSTNAME. Which in this case will be the Azure VM instance name. Traditionally the DNS resolution for the instance would be [vm name].
cloudapp.net. Which is used in the com.wowza.cloud.platform.install.Installer process for Wowza's startup configuration.
The problem is Azure is now using regional hosts vs.
cloudapp.net which is throwing an error in the wowzastreamingengine_startup process (which is reflected in the same named log).
594 [main] INFO com.wowza.cloud.platform.install.Installer - Installer.queryEnvironmentWindows error with DNS name: java.net.UnknownHostException: [vm name].
I'm guessing that "
cloudapp.net" might be hard coded. Is there a way to change the default host? Or for that matter change any of these VM instance specific information. We often create our own custom configured image per region and then use this for image for deployment. It would be great to know how these are vars are set/stored
BTW: We opened a ticket on this issue as well: 155671