Hi,

i had a look at the scripts and available options for introduction of 
modularity of the playbook sources.A minor adjustment to the 
elasticluster.sh file with:

if [ -d "$HOME/elasticluster/elasticluster/share" ]; then
    volumes="${volumes} -v 
$HOME/elasticluster/elasticluster/share:/home/elasticluster/share"
fi

gives exactly what I needed to start slimming down the playbooks to deploy 
only bare minimum of required roles easily without adding any other 
dependencies.

Kind Regards,

Tomasz






On Friday, February 19, 2021 at 5:42:22 PM UTC Tomasz Skowron wrote:

> and yes, the mysql and permission fixes work!
>
>
> On Friday, February 19, 2021 at 5:37:30 PM UTC Tomasz Skowron wrote:
>
>> Hi,
>>
>> I could test it and perhaps add/remove some of the ansible steps. on 
>> centos the environment-modules and the /etc/profile.d modification it 
>> makes, interferes with system default behaviour, affecting how "out of the 
>> box" cluster is.
>>
>> I am able to successfully rebuild the docker container with the script in 
>> tools directory. I was wondering, if there was an easier way of getting 
>> modularity into the setup. I have not customised dockerfiles much, thus 
>> please correct me if I am wrong. I was thinking, apart from copy stuff from:
>>
>> VOLUME /home/.ssh
>> VOLUME /home/.elasticluster
>>
>> might be possible to add  mounted volume for the:
>>
>> elasticluster/share/playbooks?
>>
>> In any case, thank you for the help and thumbs up for the development 
>> efforts! Compared to manual installation of slurm, elasticluster is a 
>> breeze.
>>
>>
>> Tomasz
>>
>>
>>
>>
>>
>>
>>
>> On Tuesday, February 16, 2021 at 4:03:02 PM UTC Riccardo Murri wrote:
>>
>>> Hello Tomasz,
>>>
>>> many thanks for the suggestions -- I've released a new Docker image for 
>>> ElastiCluster which I think fixes them all.  Please let me know if you have 
>>> time to test it.
>>>
>>> Since you're using SLURM on CentOS 7, you might be interested in this PR 
>>> which installs SLURM 20.02 instead of 18.02: 
>>> https://github.com/elasticluster/elasticluster/pull/691
>>>
>>> Thanks,
>>> Riccardo
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticluster/01b1840f-92df-4268-b2e0-9e40252bda04n%40googlegroups.com.

Reply via email to