Linux Administrator and Systems Engineer with interests in Linux Internals, HPC Systems, and Systems Programming; loves Command Line and FOSS. Read more…
Setting up the Community Edition of IBM LSF (Load Sharing Facility)
Introduction I wanted to understand how LSF actually works, not just at a surface “submit job, job runs” level, but the real mechanics. Most places that use LSF don’t document it well, and when they do, it’s written assuming you already run a production cluster.
So I decided to build a small LSF Community Edition cluster at home and treat it like an EDA-style environment: master node, execution nodes, login-style submission, interactive jobs, X11, the whole thing.
·
#ibm-lsf, #linux, #cluster, #hpc
Automating NICE DCV Virtual Session Creation Using PAM
The Problem When managing multiple users on a NICE DCV server, creating virtual sessions manually for every user can become repetitive.
I wanted to automate this process so that whenever a user connects to the DCV server:
If the user already has a DCV session, they should connect to it. If the user doesn’t have a session, DCV should automatically create one. Users should always connect to their own sessions, not someone else’s. The idea was similar to using pam_mkhomedir with Samba AD, where a user’s home directory is automatically created during their first login.
Setting Up Samba as an Active Directory Domain Controller on Linux
In this guide, we walk through the process of setting up a Samba Active Directory Domain Controller. The goal is to create a fully functional AD environment with the ability to join Windows and Linux clients to the domain.
This setup mirrors how Microsoft Active Directory works, but fully powered by open‑source software.
We’ll be using Fedora Linux to configure Samba AD, but you can use any Linux
Preparing the Domain Controller System We begin by configuring Fedora 43 to act as a domain controller. The hostname must reflect the fully qualified domain name of the AD server.
·
#samba, #active-directory, #linux
SLURM as a Compilation Farm
Introduction: This guide is designed to help you effectively use the SLURM scheduler on Rocky Linux 9.5 server. The Server allows you to run computational jobs using both interactive and non-interactive modes. The goal here is to make a compilation farm, although this guide specifically focuses on compiling the Linux kernel, one should note that this may also be used to compile any other tool given that the prerequisites and dependencies are known.
·
#slurm, #linux, #hpc
Installing Nice DCV 2024.x and creating sessions on RHEL 8
Reference: Prerequisites for Linux Amazon DCV servers - Amazon DCV
Pre-requisites: Open the file /etc/gdm/custom.conf in the preferred text editor and uncomment the line so it looks like below
[daemon] WaylandEnable=false After which restart GDM using systemctl restart gdm
Run sudo systemctl get-default, if it returns multi-user.target run systemctl set-default graphical.target
Open the file /etc/X11/xorg.conf and paste the following contents:
Section "Device" Identifier "DummyDevice" Driver "dummy" Option "UseEDID" "false" VideoRam 512000 EndSection Section "Monitor" Identifier "DummyMonitor" HorizSync 5.0 - 1000.0 VertRefresh 5.0 - 200.0 Option "ReducedBlanking" EndSection Section "Screen" Identifier "DummyScreen" Device "DummyDevice" Monitor "DummyMonitor" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Virtual 4096 2160 EndSubSection EndSection Save and exit the file.