forked from pool/slurm
Accepting request 731004 from home:eeich:branches:network:cluster
- Edit sample configuration to deprecate "ControlMachine", "ControlAddr", "BackupController" and "BackupAddr" in favor "SlurmctldHost". OBS-URL: https://build.opensuse.org/request/show/731004 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=112
This commit is contained in:
parent
9c7abff085
commit
e3e7bce7dc
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 11 10:55:25 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Edit sample configuration to deprecate "ControlMachine",
|
||||||
|
"ControlAddr", "BackupController" and "BackupAddr" in favor
|
||||||
|
"SlurmctldHost".
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 17 14:20:35 UTC 2019 - Egbert Eich <eich@suse.com>
|
Sat Aug 17 14:20:35 UTC 2019 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
@ -541,6 +541,11 @@ sed -i 's#\(StateSaveLocation=\).*#\1%_localstatedir/lib/slurm#' %{buildroot}/%
|
|||||||
sed -i 's#^\(SlurmdPidFile=\).*$#\1%{_localstatedir}/run/slurm/slurmd.pid#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
sed -i 's#^\(SlurmdPidFile=\).*$#\1%{_localstatedir}/run/slurm/slurmd.pid#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
||||||
sed -i 's#^\(SlurmctldPidFile=\).*$#\1%{_localstatedir}/run/slurm/slurmctld.pid#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
sed -i 's#^\(SlurmctldPidFile=\).*$#\1%{_localstatedir}/run/slurm/slurmctld.pid#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
||||||
sed -i 's#^\(SlurmdSpoolDir=\)/.*#\1%{_localstatedir}/spool/slurm#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
sed -i 's#^\(SlurmdSpoolDir=\)/.*#\1%{_localstatedir}/spool/slurm#' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
||||||
|
sed -i -e '/^ControlMachine=/i# Ordered List of Control Nodes' \
|
||||||
|
-e 's#ControlMachine=\(.*\)$#SlurmctldHost=\1(10.0.10.20)#' \
|
||||||
|
-e 's#BackupController=.*#SlurmctldHost=linux1(10.0.10.21)#' \
|
||||||
|
-e '/.*ControlAddr=.*/d' \
|
||||||
|
-e '/.*BackupAddr=.*/d' %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
|
||||||
cat >>%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf <<EOF
|
cat >>%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf <<EOF
|
||||||
# SUSE default configuration
|
# SUSE default configuration
|
||||||
PropagateResourceLimitsExcept=MEMLOCK
|
PropagateResourceLimitsExcept=MEMLOCK
|
||||||
|
Loading…
Reference in New Issue
Block a user