PRO: Precedence Rules #
All features described on this page are part of the Professional Edition.
You can purchase licenses for the Professional Edition on the Portal: https://portal.sqldsc.com.
Precedence Rules #
Adding domains and tags makes the precedence more complex.
Each of these files can define the same configuration. For example, to configure node2
in this example, the following files would be used. Each lower file overrides the values in the higher file.
defaults.hcl
tags\prod.hcl
tags\data-center-2.hcl
tags\ag-one.hcl
nodes\node2.hcl
The full rules are
- Global Defaults:
defaults.hcl
- Domain Defaults:
DOMAIN.defaults.hcl
- Tags - The tag files in the tags directory in the order specified
- Per Computer Defaults (in order):
nodes\computer.hcl
nodes\computer__instance.hcl
(note the double underscores)nodes\DOMAIN\computer.hcl
nodes\DOMAIN\computer__instance.hcl
And remember that the LAST file procesed overrides the previous files.