This PR promotes a more enhanced version of oar-docker-compose. Specifically, it adds:
the ability to scale to any number of cluster's nodes by just modifying the variable on one file (.env_oar_provisoning.sh) and invoking docker-compose with the respective node parameter
README file has been modified accordingly (see first 4 lines)
it automatically creates host, nodes, cpu, cpuset, and core properties accordingly to the defined variables. Currently, cores are assigned based on system's (host's) capabilities. However, easily can be changed respectively by modifying the number of 'cores' variable.
Example of run:
docker-compose -up --scale node=8, setups an 8 nodes cluster. Also in file (.env_oar_provisoning.sh), modifying the lines like:
This PR promotes a more enhanced version of oar-docker-compose. Specifically, it adds:
.env_oar_provisoning.sh
) and invoking docker-compose with the respective node parameterhost
,nodes
,cpu
,cpuset
, andcore
properties accordingly to the defined variables. Currently, cores are assigned based on system's (host's) capabilities. However, easily can be changed respectively by modifying the number of 'cores' variable.docker-compose -up --scale node=8
, setups an 8 nodes cluster. Also in file (.env_oar_provisoning.sh
), modifying the lines like: