Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion docs/install/templates/base-os/nfs.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ example configuration.
```bash
# Install and Start NFS server
{{ pkg_install }} nfs-utils
systemctl start nfs-server.service
systemctl start nfs-server

# Create OpenHPC public packages directory
mkdir -p /opt/ohpc/pub
Expand Down
2 changes: 1 addition & 1 deletion docs/install/templates/base-os/time.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ to serve as a local time server for the cluster, issue the following:
<!-- ohpc_comment Enable NTP services on head node -->
```bash
{{ pkg_install }} chrony
systemctl enable chronyd.service
systemctl enable chronyd
echo "local stratum 10" >> /etc/chrony.conf
echo "server ${ntp_server}" >> /etc/chrony.conf
echo "allow all" >> /etc/chrony.conf
Expand Down
1 change: 1 addition & 0 deletions docs/install/templates/customize/memlimits.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ echo '* soft memlock unlimited' >> \
/etc/security/limits.d/40-ohpc-limits.conf
echo '* hard memlock unlimited' >> \
/etc/security/limits.d/40-ohpc-limits.conf

# Update memlock settings on compute
{{ compute_echo("* soft memlock unlimited", "/etc/security/limits.d/40-ohpc-limits.conf") }}
{{ compute_echo("* hard memlock unlimited", "/etc/security/limits.d/40-ohpc-limits.conf") }}
Expand Down
1 change: 1 addition & 0 deletions docs/install/templates/customize/nhc.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ bad nodes, reducing the risk of system-induced job failures.
```bash
# Register as SLURM's health check program
echo "HealthCheckProgram=/usr/sbin/nhc" >> /etc/slurm/slurm.conf

# execute every five minutes
echo "HealthCheckInterval=300" >> /etc/slurm/slurm.conf
```
Expand Down
3 changes: 2 additions & 1 deletion docs/install/templates/network/infiniband/head-node.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ drivers to the chosen *head node*.
{{ pkg_group_install }} "InfiniBand Support"
# Load IB services
udevadm trigger --type=devices --action=add
systemctl restart rdma-load-modules@infiniband.service
systemctl restart rdma-load-modules@infiniband
```
<!-- ohpc_fi -->
<!-- ohpc_end -->
Expand Down Expand Up @@ -43,6 +43,7 @@ sed -i "s/ipoib_netmask/${ipoib_netmask}/" \
# configure NetworkManager to *not* override local /etc/resolv.conf
echo "[main]" > /etc/NetworkManager/conf.d/90-dns-none.conf
echo "dns=none" >> /etc/NetworkManager/conf.d/90-dns-none.conf

# Start up NetworkManager to initiate ib0
systemctl start NetworkManager

Expand Down
4 changes: 2 additions & 2 deletions docs/install/templates/provisioner/openchami/setup.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ containers to start.
<!-- ohpc_comment Reload Systemd daemon and start the s3 (minio) and container registry -->
```bash
systemctl daemon-reload
systemctl start minio.service
systemctl start registry.service
systemctl start minio
systemctl start registry
```
<!-- ohpc_end -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ wwctl image exec --build=false {{ baseos }} -- /bin/bash -ex <<- EOF
dnf -y install ohpc-slurm-client

# Enable services to start on boot
systemctl enable munge.service
systemctl enable slurmd.service
systemctl enable munge
systemctl enable slurmd

# Add Network Time Protocol (NTP) support
dnf -y install chrony
Expand Down
1 change: 1 addition & 0 deletions docs/install/templates/scheduler/slurm/install.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ also needs to be running on all hosts within the resource management pool.

# Use ohpc-provided file for starting SLURM configuration
cp /etc/slurm/slurm.conf.ohpc /etc/slurm/slurm.conf

# Setup default cgroups file
cp /etc/slurm/cgroup.conf.example /etc/slurm/cgroup.conf

Expand Down
Loading