HP XC System Software Administration Guide Version 3.2

NodeName=n[1-5] Procs=2 RealMemory=1994
NodeName=n[6-8] Procs=2 RealMemory=4032
NodeName=n9 Procs=2 RealMemory=2008
NOTE: If node the value for the RealMemory characteristic of n9 were 4032 in the
example, the portion of the file would be changed to the following:
NodeName=n[1-5] Procs=2 RealMemory=1994
NodeName=n[6-9] Procs=2 RealMemory=4032
The order of NodeNames arguments listed in this file is important because SLURM uses
this to determine the contiguity of the nodes.
b. Locate the line that begins with PartitionName=. Add the node name of the new
node to the list of nodes.
PartitionName=lsf RootOnly=YES Shared=FORCE Nodes=n[1-9]
c. Save the file and exit the editor.
6. Ensure that SLURM is running by issuing the following command:
# service slurm status
slurmd (pid PID) is running...
where PID is the process identifier.
If SLURM is not running, start it with the following command:
# service slurm start
7. Execute the following command to reconfigure SLURM:
# scontrol reconfigure
8. Verify the configuration with the following command:
# sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
lsf up infinite 9 idle n[1-9]
NOTE: If SLURM is not started on the new node, the sinfo command output shows it as
down. Restart SLURM in that instance.
15.10 Removing SLURM
The HP XC system installation process offers a choice of two different types of LSF. The default
choice, LSF-HPC with SLURM, requires that SLURM is installed and configured. The other choice
is standard LSF, which does not require nor interact with SLURM. If you choose standard LSF,
SLURM is not configured.
If SLURM has been installed and configured but is not required, use the following procedures
to deactivate it:
1. Log in as superuser (root) on the head node.
2. Shut down SLURM:
# scontrol shutdown
3. Run the configuration scripts to remove SLURM from the head node:
# /opt/hptc/slurm/etc/gconfig.d/slurm_gconfig.pl gunconfigure
# /opt/hptc/slurm/etc/nconfig.d/slurm_nconfig.pl nunconfigure
4. Update the golden image. See Chapter 11 (page 139) for more information.
5. Propagate the new golden image to all nodes. See Chapter 11 (page 139) for more information.
15.10 Removing SLURM 187