Hej,
Would you mind giving a short guide how to correctly setup Home File-System on NFS?
Documentation just informs that: "If you choose Other, then no configuration for a home file-system will be done. In this case, you won’t be able to add any cluster users without further manual steps to setup a home file-system."
Cheers, Iggy
Hej,
A follow up question. After installing Qlustar with home FS on local disk, how to correctly replace it with external NFS mount without messing up ldap?
Cheers, Iggy
Hi Igyy,
please read up here:
https://docs.qlustar.com/Qlustar/13/ClusterOS/qluman-guide/Config-Classes.ht...
You first need to define the external NFS server as a new Filesystem Exports entry and then reference it in a Network Filesystem Mounts config entry.
To use a such configured mount for user home directories, you have to make the corresponding changes in the LDAP config, see
https://docs.qlustar.com/Qlustar/13/ClusterOS/qluman-guide/components/ldap.h...
If you need further assistance please contact Q-Leap for professional support.
Best,
Roland
On 3/25/25 15:14, ignas.bunikis--- via Qlustar General wrote:
Hej,
A follow up question. After installing Qlustar with home FS on local disk, how to correctly replace it with external NFS mount without messing up ldap?
Cheers, Iggy
Hej Roland,
Thank you for take time to answer!
The reason I started this thread was because I got stuck more or less at the last point you described and wondered what am I missing.
* I added NAS server in "Network settings" --> "Cluster-external hosts" * I created export in "Filesystem Exports" * I created mount entry in "Network FS mounts" * config is assigned to nodes and beoser-c * in LDAP config "Homedir Hosts" I try to enter name of the NAS server, but it does not allow it (does not save)
On compute nodes FS mounts without a problem and is rw. But the mount is not available on headnode. Do I need to mount NAS on head node in another way?
Perhaps you right the way see what I do wrong or what I miss? Could you please spare a few more minutes and help me out here? :)
Cheers, Iggy
Hi Iggy,
On 3/28/25 15:35, ignas.bunikis--- via Qlustar General wrote:
Hej Roland,
Thank you for take time to answer!
The reason I started this thread was because I got stuck more or less at the last point you described and wondered what am I missing.
- I added NAS server in "Network settings" --> "Cluster-external hosts"
- I created export in "Filesystem Exports"
- I created mount entry in "Network FS mounts"
- config is assigned to nodes and beoser-c
- in LDAP config "Homedir Hosts" I try to enter name of the NAS server, but it does not allow it (does not save)
On compute nodes FS mounts without a problem and is rw.
Good.
But the mount is not available on headnode. Do I need to mount NAS on head node in another way?
If you really need it on the head-node you need to mount it manually using /etc/fstab. If it's mounted there rw for root under the same path as on the compute nodes, you don't need to change the LDAP config "Homedir Hosts" setting (it should remian as 'beosrv-c'). Otherwise it should be the name of two or three of the compute and/or login nodes where it's also mounted rw for root.
Best,
Roland
Perhaps you right the way see what I do wrong or what I miss? Could you please spare a few more minutes and help me out here? :)
Cheers, Iggy _
Hej Roland,
Thank you for replay!
We've been running Qlustar for more than 10 years and it worked really smooth. Now it was time for a new installation on a new hardware and unfortunately I got stuck with this NFS "home" setup. I actually did what you suggested right from the start (mount via /etc/fstab) since that's how we had things running on the old installation. But then creation of new users didn't work and that's how this thread started. It's both curious and a bit frustrating since I can't wrap my head around the issue :)
I do what you suggested, I mount storage on headnode, all fine in QluMan. I create new users, works fine, I can use them on login node, no problem. Home directories visible on headnode and on compute nodes. I make a mount entry in fstab and reboot... After that the QluMan does not show users and gives error:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qluman-13/client/qt/DBData.py", line 757, in data entry = self._rows[index.row()] IndexError: list index out of range
qlumand.log on headnode gives a reason:
2025-04-01 10:28:56,747 [1273] ERROR server.admin Failed to connect to LDAP server: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qluman-13/server/admin.py", line 3837, in scan_components deletes.pop(component) KeyError: 'Ldap' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qluman-13/server/admin.py", line 3381, in connect_ldap self.ldap_man = LDAPmanage(Config.cfg_dir + "/" + CONF_FILES.LDAP, cli=False) File "/usr/lib/python3/dist-packages/qluman-13/components/ldap/manage.py", line 103, in __init__ self.check_set_ol_base_defs() File "/usr/lib/python3/dist-packages/qluman-13/components/ldap/manage.py", line 400, in check_set_ol_base_defs self.conn_ol.add(self.create_dn(ou, type="ou"), object_class=OL_REQUIRED["ObjectClasses"]["ou"]) AttributeError: 'NoneType' object has no attribute 'add'
I disable mount entry in fstab and reboot. Ldap is happy again. Back to square one, not home folders on headnode.
The question is why ldap server becomes unreachable when storage is mounted at boot?
I'm just so puzzled at the moment... :)
Cheers, Iggy
Hej again,
I guess the above puzzle can be left unresolved and the thread can be closed.
This situation made me to rethink general layout of our cluster and now I created setup with dedicated login node among other things. This solved NFS home file system issue and to my understanding is in general a better way of handling things.
One little comment. Currently, after fresh installation the qlustar-initial-config script fails due lack of space needed for apt upgrade part. Easy solution is to increasing FS size before running the script.
Cheers, Iggy
Hi Iggy,
thanks for reporting.
On 4/7/25 16:21, ignas.bunikis--- via Qlustar General wrote:
Hej again,
I guess the above puzzle can be left unresolved and the thread can be closed.
This situation made me to rethink general layout of our cluster and now I created setup with dedicated login node among other things. This solved NFS home file system issue and to my understanding is in general a better way of handling things.
Yes, it is indeed.Glad that this worked out for you this way.
One little comment. Currently, after fresh installation the qlustar-initial-config script fails due lack of space needed for apt upgrade part. Easy solution is to increasing FS size before running the script.
We'll correct this in the upcoming Qlustar 14 installer.
Best,
Roland
Cheers, Iggy