Table of Contents

Darwin Management

Node Management

New nodes can be added with Luna by cloning any existing node and then adjusting their IP and MAC addresses.

Nodes can also be managed through groups and inherit group parameters unless they are overridden manually.

After any hardware reconfiguration, refresh the hardware inventory to avoid stale health alerts:

alertx hardware reset -H node01.cluster,node02.cluster,node03.cluster,node04.cluster,node05.cluster,node06.cluster,node07.cluster,node08.cluster,node09.cluster,node10.cluster,node11.cluster,node12.cluster,node13.cluster,node14.cluster

Exports are managed by trinityX playbooks, but they can still be adjusted manually in /etc/exports.d/trinity.exports when necessary.

BMC

Passwords for the head-node and compute-node BMCs are stored in secrets.txt. To change a BMC password manually, run:

/opt/IPMICFG-Linux.x86_64 -user setpswd 2 <PASSWORD>

Slurm

Most Slurm configuration lives in /etc/slurm, mainly in the following files:

UNIX users are synchronized with Slurm Quality of Service (QoS) accounting every minute via:

Grafana

Darwin's Grafana has two custom mechanisms worth knowing about:

CryoSPARC

CryoSPARC lanes are stored in the following directories:

After changing a lane, re-apply it from the corresponding directory. Example:

cd /trinity/structbio_home/cryosparcuser/lanes/intbio
/trinity/structbio_home/cryosparcuser/cryosparc_master/bin/cryosparcm cluster connect

Installation of Packages on Compute Nodes

1. Enter the image:

lchroot compute-image

2. Install necessary packages:

dnf install -y nano

3. Exit the image:

exit

4. Pack the image:

luna osimage pack compute-image

5. Reboot the compute/storage nodes:

luna control power reset \
    node01,node02,node03,node04,node05,node06,node07,node08,node09,node10,node11,node12,node13,node14

6. Backup the image after the new configuration is tested successfully:

luna osimage remove full-compute-image-bak
luna osimage clone -o compute-image full-compute-image-bak

Five main images are maintained:

Hot changes can be applied in bulk with:

pdsh -w node[01-14] "dnf install -y nano"

Custom Spack Packages

Spack can manage custom executables. The example below creates a simple hello-world package:

Insert the hash into the generated version line, for example version('1.0.0', sha256='<HASH>').

Backups

To unpack a backup archive:

tar -xzpf darwin_assets_bak1.tar.gz

To decrypt archived files (the password is in secrets.txt):

for f in darwin_assets/*.tar.gz.gpg; do
    gpg --batch \
        --passphrase-file ~/.darwin_backup_password \
        --decrypt \
        "$f" > "${f%.gpg}"
done