Hi

As per notes in Slurm documentation (e.g. 
https://slurm.schedmd.com/configurator.easy.html):


State Preservation
Define the location of a directory where the slurmctld daemon saves its state. 
This should be a fully qualified pathname which can be read and written to by 
the Slurm user on both the control machine and backup controller (if 
configured). The location of a directory where slurmd saves state should also 
be defined. This must be a unique directory on each compute server (local 
disk). The use of a highly reliable file system (e.g. RAID) is recommended.
StateSaveLocation: Slurmctld state save directory

SlurmdSpoolDir: Slurmd state save directory



In our experience, this works just fine with NFS mounted state directories.


Hope that helps

~~
A

________________________________
From: jupiter <[email protected]>
Sent: 29 July 2016 11:52:06
To: slurm-dev
Subject: [slurm-dev] Synchronise between ControlMachine and BackupController

Hi,

Does slurm have the mechanism to synchronise scheduler jobs and states between 
the ControlMachine and BackupController? If not and if it is admin's 
responsibility to take care about it, there could be following two options:

1. Set up a single node for mysql and slurmdb, point the variables of 
StateSaveLocation and SlurmdSpoolDir to the remote single db node. The question 
is, how can the values in StateSaveLocation and SlurmdSpoolDir be set up to a 
remote location? Or it is not possible?

2. Set the variables of StateSaveLocation and SlurmdSpoolDir to a share 
location which mount to both StateSaveLocation and SlurmdSpoolDir.

What is your recommendation?

Thank you.

Kind regards,

- j
________________________________

   [HPC Wales - www.hpcwales.co.uk] <http://www.hpcwales.co.uk>

________________________________

The contents of this email and any files transmitted with it are confidential 
and intended solely for the named addressee only.  Unless you are the named 
addressee (or authorised to receive this on their behalf) you may not copy it 
or use it, or disclose it to anyone else.  If you have received this email in 
error, please notify the sender by email or telephone.  All emails sent by High 
Performance Computing Wales have been checked using an Anti-Virus system.  We 
would advise you to run your own virus check before opening any attachments 
received as we will not in any event accept any liability whatsoever, once an 
email and/or attachment is received.

High Performance Computing Wales is a private limited company incorporated in 
Wales on 8 March 2010 as company number 07181701.

Our registered office is at Finance Office, Bangor University, Cae Derwen, 
College Road, Bangor, Gwynedd. LL57 2DG. UK.

High Performance Computing Wales is part funded by the European Regional 
Development Fund through the Welsh Government.

Reply via email to