Skip to content

Support external Slurm DBD #2690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
72219ca
Add entrypoints for external slurmdbd.
hehe7318 Nov 17, 2023
4cd6cc3
Add cluster_user attribute, add template slurmdbd.service, add templa…
hehe7318 Nov 21, 2023
2e20575
Create new slurm_external_slurmdbd.conf. Add logic in slurmdbd.conf.e…
hehe7318 Nov 22, 2023
c5af3d2
Address comments.
hehe7318 Nov 28, 2023
7a1c7e9
Address issues in External Slurmdbd cookbook recipes (#2585)
hehe7318 Nov 30, 2023
6ad49b0
Create slurm_external_slurmdbd.conf for external slurmdbd
jdeamicis Dec 6, 2023
44d27d3
Disable Slurm database bootstrap from external slurmdbd
jdeamicis Dec 6, 2023
407a57d
Add support for external slurmdbd in Slurm configuration (#2595)
jdeamicis Jan 12, 2024
33d8493
Increase debug level on external slurmdbd.conf
jdeamicis Jan 15, 2024
cb64b70
Use static IP to populate slurmdbd's DbdAddr parameter
jdeamicis Jan 22, 2024
be546b7
Configure CloudWatch agent for External Slurm Dbd
NSsirena Jan 31, 2024
45084d5
Configure S3 mountpoint for external slurmdbd (#2633)
jdeamicis Feb 1, 2024
f76ed73
Fetch slurmdbd configuration from S3 if available
jdeamicis Feb 1, 2024
bbe65d8
Add recipe to disable not required services in ExternalSlurmdbd
NSsirena Feb 1, 2024
84a97f1
Make DbdPort configurable in external slurmdbd recipes
jdeamicis Feb 5, 2024
630023b
Extend remote_object resource with owner, group and mode
jdeamicis Feb 5, 2024
3a7de07
Configure External Slurmdbd Host and Port in cookbook
jdeamicis Feb 5, 2024
85785b0
Fix failing unit tests and cookstyle linter
jdeamicis Feb 5, 2024
2d66917
Improve update_munge_key.sh
hanwen-cluster Apr 1, 2024
578098e
Remove unnecessary code in external_slurmdbd_config
hanwen-cluster Apr 1, 2024
887cda3
Simplify slurm_external_slurmdbd.conf.erb
hanwen-cluster Apr 3, 2024
366fa2c
Remove duplicate attribute node['is_external_slurmdbd']
hanwen-cluster Apr 16, 2024
48a031b
[Github CI] Add entrypoints spec test to Github checks
hanwen-cluster Apr 16, 2024
ba81080
Add spec tests for external slurmdbd config recipe
hanwen-cluster Apr 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add entrypoints for external slurmdbd.
  • Loading branch information
hehe7318 authored and hanwen-cluster committed Apr 16, 2024
commit 72219ca05b7092d78d61979a7df0bd1b949d75da
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# frozen_string_literal: true

#
# Copyright:: 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the
# License. A copy of the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "LICENSE.txt" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and
# limitations under the License.

node.default['cluster']['slurm']['install_dir'] = '/opt/slurm'
node.default['cluster']['slurm']['user'] = 'slurm'
node.default['cluster']['slurm']['group'] = 'slurm'
node.default['cluster']['scripts_dir'] = '/opt/parallelcluster/scripts'
node.default['cluster']['region'] = node['region']
node.default['cluster']['slurmdbd_response_retries'] = 30
# TODO: attributes for stack name

include_recipe "aws-parallelcluster-slurm::config_slurm_accounting"

# TODO: modify logic in config_slurm_accounting or create a new recipe for external slurmdbd
# to use parameter in dna.json instead of digging ARN from config