How to: Set defaults on deployit.conf in Deploy

Question

  1. How can we set defaults on deployit.conf ? (Example server.hostname)
  2. How can we set akka.io.dns default value (in xl-deploy.conf ?)

Answer

  1. From Deploy 10.3 and later, the deploy.server.hostname and deploy.server.port properties from the deploy-server.yaml file are moved to deployit.conf file and renamed as server.hostname and server.port respectively.

    Ref: https://docs.xebialabs.com/v.22.0/deploy/concept/xl-deploy-configuration-drilldown/#list-of-configuration-files-in-the-xl_deploy_server_homecentralconfiguration-directory
  2. This should be also added in the deploy-server.yaml. Hostname resolution between masters and workers is based on DNS lookups. This means localhost and other /etc/hosts-based lookups will fail by default. Although using localhost is considered bad practice, if your installation relies on it you can reinstate the behavior by including a setting akka.io.dns.resolver = inet-address in deploy-server.yaml.

    Ref: https://docs.xebialabs.com/v.22.0/deploy/how-to/set-up-xl-deploy-in-production/

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.