- Català: Aquesta pàgina no està traduida encara al català.
- Castellano: Esta página no está traducida aún al castellano.
Configuration variables in clusters¶
In order to have diferent configuration variables in each cluster host with the same isardvdi.cfg
for all hosts we have two systems:
-
/opt/isard-local/environment
is a file that loads variables at shell loading time. Therefore this variable content prevail overisardvdi.cfg
variables, because the shell is loaded afterdocker-compose
. These variable contents are loaded running the system usingdocker-compose
andpcs
.-
sh -i
loads$ENV
file -
Export
ENV
environment variable -
Mount
/opt/isard-local/environment
to/usr/local/etc/environment
-
-
/opt/isard/config/
can content files that are loaded bypcs
compose
resource before rundocker-compose
. Therefore this variable content prevail overisardvdi.cfg
. These variable contents are not loaded usingdocker-compose
withoutpcs
.evaluate_env
function atcompose
pcs
resource