|
Lines 326-331
s_p_options_t slurm_conf_options[] = {
Link Here
|
| 326 |
{"SlurmctldPidFile", S_P_STRING}, |
326 |
{"SlurmctldPidFile", S_P_STRING}, |
| 327 |
{"SlurmctldPlugstack", S_P_STRING}, |
327 |
{"SlurmctldPlugstack", S_P_STRING}, |
| 328 |
{"SlurmctldPort", S_P_STRING}, |
328 |
{"SlurmctldPort", S_P_STRING}, |
|
|
329 |
{"SlurmctldSyslogDebug", S_P_STRING}, |
| 329 |
{"SlurmctldTimeout", S_P_UINT16}, |
330 |
{"SlurmctldTimeout", S_P_UINT16}, |
| 330 |
{"SlurmdDebug", S_P_STRING}, |
331 |
{"SlurmdDebug", S_P_STRING}, |
| 331 |
{"SlurmdLogFile", S_P_STRING}, |
332 |
{"SlurmdLogFile", S_P_STRING}, |
|
Lines 333-338
s_p_options_t slurm_conf_options[] = {
Link Here
|
| 333 |
{"SlurmdPlugstack", S_P_STRING}, |
334 |
{"SlurmdPlugstack", S_P_STRING}, |
| 334 |
{"SlurmdPort", S_P_UINT32}, |
335 |
{"SlurmdPort", S_P_UINT32}, |
| 335 |
{"SlurmdSpoolDir", S_P_STRING}, |
336 |
{"SlurmdSpoolDir", S_P_STRING}, |
|
|
337 |
{"SlurmdSyslogDebug", S_P_STRING}, |
| 336 |
{"SlurmdTimeout", S_P_UINT16}, |
338 |
{"SlurmdTimeout", S_P_UINT16}, |
| 337 |
{"SlurmSchedLogFile", S_P_STRING}, |
339 |
{"SlurmSchedLogFile", S_P_STRING}, |
| 338 |
{"SlurmSchedLogLevel", S_P_UINT16}, |
340 |
{"SlurmSchedLogLevel", S_P_UINT16}, |
|
Lines 2590-2595
init_slurm_conf (slurm_ctl_conf_t *ctl_conf_ptr)
Link Here
|
| 2590 |
xfree (ctl_conf_ptr->slurmd_user_name); |
2592 |
xfree (ctl_conf_ptr->slurmd_user_name); |
| 2591 |
ctl_conf_ptr->slurmctld_debug = (uint16_t) NO_VAL; |
2593 |
ctl_conf_ptr->slurmctld_debug = (uint16_t) NO_VAL; |
| 2592 |
xfree (ctl_conf_ptr->slurmctld_logfile); |
2594 |
xfree (ctl_conf_ptr->slurmctld_logfile); |
|
|
2595 |
xfree (ctl_conf_ptr->slurmctld_syslog_debug); |
| 2593 |
xfree (ctl_conf_ptr->sched_logfile); |
2596 |
xfree (ctl_conf_ptr->sched_logfile); |
| 2594 |
ctl_conf_ptr->sched_log_level = (uint16_t) NO_VAL; |
2597 |
ctl_conf_ptr->sched_log_level = (uint16_t) NO_VAL; |
| 2595 |
xfree (ctl_conf_ptr->slurmctld_pidfile); |
2598 |
xfree (ctl_conf_ptr->slurmctld_pidfile); |
|
Lines 2599-2604
init_slurm_conf (slurm_ctl_conf_t *ctl_conf_ptr)
Link Here
|
| 2599 |
ctl_conf_ptr->slurmctld_timeout = (uint16_t) NO_VAL; |
2602 |
ctl_conf_ptr->slurmctld_timeout = (uint16_t) NO_VAL; |
| 2600 |
ctl_conf_ptr->slurmd_debug = (uint16_t) NO_VAL; |
2603 |
ctl_conf_ptr->slurmd_debug = (uint16_t) NO_VAL; |
| 2601 |
xfree (ctl_conf_ptr->slurmd_logfile); |
2604 |
xfree (ctl_conf_ptr->slurmd_logfile); |
|
|
2605 |
xfree (ctl_conf_ptr->slurmd_syslog_debug); |
| 2602 |
xfree (ctl_conf_ptr->slurmd_pidfile); |
2606 |
xfree (ctl_conf_ptr->slurmd_pidfile); |
| 2603 |
xfree (ctl_conf_ptr->slurmd_plugstack); |
2607 |
xfree (ctl_conf_ptr->slurmd_plugstack); |
| 2604 |
ctl_conf_ptr->slurmd_port = (uint32_t) NO_VAL; |
2608 |
ctl_conf_ptr->slurmd_port = (uint32_t) NO_VAL; |
|
Lines 4091-4096
_validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl)
Link Here
|
| 4091 |
(void )s_p_get_string(&conf->slurmctld_logfile, "SlurmctldLogFile", |
4095 |
(void )s_p_get_string(&conf->slurmctld_logfile, "SlurmctldLogFile", |
| 4092 |
hashtbl); |
4096 |
hashtbl); |
| 4093 |
|
4097 |
|
|
|
4098 |
if (!s_p_get_string(&conf->slurmctld_syslog_debug, "SlurmctldSyslogDebug", hashtbl)) |
| 4099 |
conf->slurmctld_syslog_debug = DEFAULT_SYSLOG_DEBUG; |
| 4100 |
|
| 4094 |
if (s_p_get_string(&temp_str, "SlurmctldPort", hashtbl)) { |
4101 |
if (s_p_get_string(&temp_str, "SlurmctldPort", hashtbl)) { |
| 4095 |
char *end_ptr = NULL; |
4102 |
char *end_ptr = NULL; |
| 4096 |
long port_long; |
4103 |
long port_long; |
|
Lines 4167-4172
_validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl)
Link Here
|
| 4167 |
if (!s_p_get_uint16(&conf->slurmd_timeout, "SlurmdTimeout", hashtbl)) |
4174 |
if (!s_p_get_uint16(&conf->slurmd_timeout, "SlurmdTimeout", hashtbl)) |
| 4168 |
conf->slurmd_timeout = DEFAULT_SLURMD_TIMEOUT; |
4175 |
conf->slurmd_timeout = DEFAULT_SLURMD_TIMEOUT; |
| 4169 |
|
4176 |
|
|
|
4177 |
if (!s_p_get_string(&conf->slurmd_syslog_debug, "SlurmdSyslogDebug", hashtbl)) |
| 4178 |
conf->slurmd_syslog_debug = DEFAULT_SYSLOG_DEBUG; |
| 4179 |
|
| 4180 |
|
| 4170 |
(void) s_p_get_string(&conf->srun_prolog, "SrunProlog", hashtbl); |
4181 |
(void) s_p_get_string(&conf->srun_prolog, "SrunProlog", hashtbl); |
| 4171 |
if (s_p_get_string(&temp_str, "SrunPortRange", hashtbl)) { |
4182 |
if (s_p_get_string(&temp_str, "SrunPortRange", hashtbl)) { |
| 4172 |
conf->srun_port_range = _parse_srun_ports(temp_str); |
4183 |
conf->srun_port_range = _parse_srun_ports(temp_str); |