Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
25faff8d
Commit
25faff8d
authored
11 years ago
by
Danny Auble
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/slurm-2.6'
parents
b62e729d
0f94cba0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/slurmdbd/backup.c
+2
-2
2 additions, 2 deletions
src/slurmdbd/backup.c
src/slurmdbd/backup.h
+2
-2
2 additions, 2 deletions
src/slurmdbd/backup.h
src/slurmdbd/slurmdbd.c
+2
-2
2 additions, 2 deletions
src/slurmdbd/slurmdbd.c
with
6 additions
and
6 deletions
src/slurmdbd/backup.c
+
2
−
2
View file @
25faff8d
...
...
@@ -82,9 +82,9 @@ static void _reopen_slurmdbd_fd(slurm_addr_t dbd_addr)
_open_slurmdbd_fd
(
dbd_addr
);
}
/* run_backup - this is the backup controller, it should run in standby
/* run_
dbd_
backup - this is the backup controller, it should run in standby
* mode, assuming control when the primary controller stops responding */
extern
void
run_backup
(
void
)
extern
void
run_
dbd_
backup
(
void
)
{
slurm_addr_t
dbd_addr
;
...
...
This diff is collapsed.
Click to expand it.
src/slurmdbd/backup.h
+
2
−
2
View file @
25faff8d
...
...
@@ -47,9 +47,9 @@ extern bool primary_resumed;
extern
bool
backup
;
extern
bool
have_control
;
/* run_backup - this is the backup dbd, it should run in standby
/* run_
dbd_
backup - this is the backup dbd, it should run in standby
* mode, assuming control when the primary dbd stops responding */
extern
void
run_backup
(
void
);
extern
void
run_
dbd_
backup
(
void
);
#endif
This diff is collapsed.
Click to expand it.
src/slurmdbd/slurmdbd.c
+
2
−
2
View file @
25faff8d
...
...
@@ -188,7 +188,7 @@ int main(int argc, char *argv[])
info
(
"slurmdbd running in background mode"
);
have_control
=
false
;
backup
=
true
;
run_backup
();
run_
dbd_
backup
();
if
(
!
shutdown_time
)
assoc_mgr_refresh_lists
(
db_conn
,
NULL
);
}
else
if
(
slurmdbd_conf
->
dbd_host
&&
...
...
@@ -228,7 +228,7 @@ int main(int argc, char *argv[])
info
(
"slurmdbd version %s started"
,
SLURM_VERSION_STRING
);
if
(
backup
)
run_backup
();
run_
dbd_
backup
();
}
_request_registrations
(
db_conn
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment