Data Collection with a Chef Backend Cluster
Important
To configure front-end servers in your HA cluster to send their object data, first configure a Chef Infra Server for data collection and ensure that the fqdn
field in all of your front-end Chef Infra Server /etc/opscode/chef-server.rb
files are the same.
The following example sets the fqdn
field to "my-chef-server.mycompany.com"
in two front-end servers.
chef-server.rb.FE1
# This file generated by chef-backend-ctl gen-server-config
# Modify with extreme caution.
fqdn 'my-chef-server.mycompany.com'
use_chef_backend true
data_collector['root_url'] = 'https://my-automate-server.mycompany.com/data-collector/v0/'
data_collector['token'] = 'TOKEN'
chef-server.rb.FE2
# This file generated by chef-backend-ctl gen-server-config
# Modify with extreme caution.
fqdn 'my-chef-server.mycompany.com'
use_chef_backend true
data_collector['root_url'] = 'https://my-automate-server.mycompany.com/data-collector/v0/'
data_collector['token'] = 'TOKEN'
Warning
fqdn
field to the same value will result in Chef Automate treating data from each of these front-end servers as separate Chef servers.Next Steps
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/data_collection_ha/