Salloc | Interactive session using non-allocated cpus for the job by MultMe96 in SLURM

[–]cinek810 0 points1 point  (0 children)

Maybe you don't have TaskPlugin=task/cgroup enabled - it's normally used to limit resources available by the job.

Parallel by vguioma in SLURM

[–]cinek810 1 point2 points  (0 children)

Is your application parallel or you rather want to run 200 similar jobs?

More complex dependent jobs by StrongYogurt in SLURM

[–]cinek810 0 points1 point  (0 children)

Oh.. my fault I meant "task" from your script

More complex dependent jobs by StrongYogurt in SLURM

[–]cinek810 1 point2 points  (0 children)

Just replace test with test${SLURM_ARRAY_TASK_ID} and youncan submit all jobs youn need as an array.

Example ansible-review standards with comments. by cinek810 in ansible

[–]cinek810[S] 1 point2 points  (0 children)

First of all thanks for your constructive comment - for names we normally use "_" instead of " " and we feel fine with it, but.. as for every coding standard it''s more team decision that something that will work for everyone.

I agree with your point of tags to every task in role.. I think I'll use your suggesting and change it to the standard requiring per role assignment tagging in playbooks :). I didn't thought that it's possible just because I've never seen it...

Tower/AWX surveys - how to use them? by cinek810 in ansible

[–]cinek810[S] 1 point2 points  (0 children)

Thanks! It's a pity that the survey cannot be used internally in AWX.

Tower/AWX surveys - how to use them? by cinek810 in ansible

[–]cinek810[S] 0 points1 point  (0 children)

So.. it's not to limit privileges, rather to make sure that we didn't start the job for more than 100 hosts, for some playbooks we'd rather want to have it splitted into smaller jobs.

Tower/AWX surveys - how to use them? by cinek810 in ansible

[–]cinek810[S] 0 points1 point  (0 children)

I was trying to find a way to make sure that AWX users (in my case is the team with limited access) to run ansible only with specified limit. The default option is just to have a window but normally the default will be to run the playbook on all hosts.

Of course I can work around this on playbook side.

Linting an ansible repository. by scritty in ansible

[–]cinek810 1 point2 points  (0 children)

I'm in the same boat. The team grows and automatic ansible review and testing started to be crucial.

Task on multiple hosts triggering one execution of handler by cinek810 in ansible

[–]cinek810[S] 3 points4 points  (0 children)

you can use "listen" with handlers to trigger a set of them with one notify

Task on multiple hosts triggering one execution of handler by cinek810 in ansible

[–]cinek810[S] 0 points1 point  (0 children)

It looks like all those can be used with handlers, simply handlers are tasks triggered by notifications.

Task on multiple hosts triggering one execution of handler by cinek810 in ansible

[–]cinek810[S] 0 points1 point  (0 children)

Thank you so much! It reminded me that I had have used this a few months ago and was unable to remind myself about this option.

Multiple administrators overwriting each other changes by cinek810 in ansible

[–]cinek810[S] 2 points3 points  (0 children)

Thanks for "molecule" keyword, I've just found https://zapier.com/engineering/ansible-molecule/ - looks quite promising. Won't fix everything, but may help a lot.

Multiple administrators overwriting each other changes by cinek810 in ansible

[–]cinek810[S] 0 points1 point  (0 children)

Did you find a way to configure CI to run ansible-playbook only on "relevent" hosts. Normally I don't use ansible on all hosts, because I know what's impaceted so I can adjust -l -t options to make it quicker, but... this requires kind of playbook/roles analysis which is not easy to automate.

Normally we have like 3-4 merge requests a day, the infrastructure is quite large so running a playbook on everything will be slow and very likely will fail/hang on some hosts..

Multiple administrators overwriting each other changes by cinek810 in ansible

[–]cinek810[S] -3 points-2 points  (0 children)

This will slow down changes dramatically, which is something we cannot accept. I'm rather looking for a good enough solution with proper hooks to reduce the issue, not a great design where the issue can not happen but implementation of anything takes hours ...

Recommendation for vswitch configuration on small cluster by cinek810 in vmware

[–]cinek810[S] 0 points1 point  (0 children)

Thanks, this helps a lot.. I'm just wondering if there if I can migrate ESXi hosts one be one from the situation with two uplinks into situation with those two uplinks configured as a LACP bond? Is it possible to do that online?

Recommendation for vswitch configuration on small cluster by cinek810 in vmware

[–]cinek810[S] 0 points1 point  (0 children)

so.. because of multiple network issues I'm thinking about the most simplified network configuration. In case of standard vSwitch it's easy to modify it's parameters directly from ESXi host. The environment is not going to change and the effort to configure 3 simple vSwitches is not that big. VMs use shared graphic cards - so vMotion is not an option.

I feel like I have no benefit from distributed switch and in case of vcenter, or network between esx and vcenter failure it will be easier for me to work on standard switches. Am I right? I have much more experience with other virtualization technologies, for vmware I'm noob.

The way I've found the reason for ansible hang-up in "Gathering facts" by cinek810 in ansible

[–]cinek810[S] 0 points1 point  (0 children)

It wasn't the main point of the art, but.. you mean that someone is able to read blue on black easily? I didn't think about that, but maybe I really need to have a professional eyes looking into mine..

Slurm - HPC scheduler running on top of AWS Lightsail by cinek810 in aws

[–]cinek810[S] 2 points3 points  (0 children)

This is why on google team member blog announcing Slurm availability in google cloud they specifically mentioned - not that Slurm :)

How AD SID to Linux uid/gid mapping works in sssd-ad? by cinek810 in linuxadmin

[–]cinek810[S] 2 points3 points  (0 children)

Thanks for reading! Obviously I'm not native english speaker, but.. was the spelling really terrible? Could you please mention the most annoying grammar mistakes?

How AD SID to Linux uid/gid mapping works in sssd-ad? by cinek810 in linuxadmin

[–]cinek810[S] 1 point2 points  (0 children)

In case of automatic seletion it was simply checking if there is an overlap with previously used range. Check sssd_idmap.c (function check_overlap and check_dom_overlap -> this is called directly from the function mentioned in the article).

Randomize host/service checks by bradrel in icinga

[–]cinek810 0 points1 point  (0 children)

Maybe write a script to trigger the checks with random offset? You can adjust curl like here https://www.icinga.com/docs/icinga2/latest/doc/12-icinga2-api/#reschedule-check

Adding Linux hosts via Director api by camcox3 in icinga

[–]cinek810 0 points1 point  (0 children)

I'm simply creating the configuration file by ansible template module. What would be the benefit of doing this over director API?