[lustre-discuss] lustre-discuss Digest, Vol 139, Issue 39

Ravi Konila ravibhatk at gmail.com
Sun Oct 29 07:43:21 PDT 2017


Hi

I have successfully configured LDAP client on MGS server and it is working fine. Do I need to configure all Lustre servers as LDAP clients?
Since I have 2 MGS/MDS and 2 OSSs.


Regards
Ravi Konila


From: Yasir Israr 
Sent: Saturday, October 21, 2017 10:33 PM
To: Ravi Bhat 
Cc: Lustre Discuss 
Subject: Re: [lustre-discuss] lustre-discuss Digest, Vol 139, Issue 39

https://www.certdepot.net/rhel7-configure-system-use-existing-ldap-directory-service-user-group-information/ 

Best follow above link as it too tell u about NFS setup for home directory with ldap client.



Thanks & Regards 
Yasir Israr

On 21-Oct-2017, at 10:10 PM, Ravi Bhat <ravibhatk at gmail.com> wrote:


  Hi Yasir 
  Could you please tell me how do I setup LDAP client. I have installed openldap-client on lustre server, next what to do?


  Regards,
  Konila Ravi Bhat

  On 21-Oct-2017 10:07 pm, "Yasir Israr" <yasir at orionsolutions.co.in> wrote:

    U need to make ldap client on Lustre MDS & OSS that’s it. Make sure iptable must be disable or iptable allow ldap connectivity. 

    Set selinux disable too.. 


    Thanks & Regards 
    Yasir Israr

    On 21-Oct-2017, at 9:51 PM, Ravi Bhat <ravibhatk at gmail.com> wrote:


      Hi 
      Now, I have bright cluster manager in my headnode, which has LDAP server. How do I configure my lustre servers to use that LDAP server?


      Regards,
      Konila Ravi Bhat

      On 21-Oct-2017 8:24 am, "Yasir Israr" <yasir at orionsolutions.co.in> wrote:

        For lustre user management it’s mandatory to have same UID / GID else you couldn’t able to sync directory properly.
        You can setup NIS Server on ur master node for easy sync of user. NIS setup is easy too.


        Thanks & Regards
        Yasir Israr

        > On 21-Oct-2017, at 6:46 AM, lustre-discuss-request at lists.lustre.org wrote:
        >
        > Send lustre-discuss mailing list submissions to
        >    lustre-discuss at lists.lustre.org
        >
        > To subscribe or unsubscribe via the World Wide Web, visit
        >    http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
        > or, via email, send a message with subject or body 'help' to
        >    lustre-discuss-request at lists.lustre.org
        >
        > You can reach the person managing the list at
        >    lustre-discuss-owner at lists.lustre.org
        >
        > When replying, please edit your Subject line so it is more specific
        > than "Re: Contents of lustre-discuss digest..."
        >
        >
        > Today's Topics:
        >
        >   1. Re: Linux users are not able to access lustre folders
        >      (Dilger, Andreas)
        >
        >
        > ----------------------------------------------------------------------
        >
        > Message: 1
        > Date: Fri, 20 Oct 2017 22:47:01 +0000
        > From: "Dilger, Andreas" <andreas.dilger at intel.com>
        > To: Ravi Bhat <ravibhatk at gmail.com>
        > Cc: "Mohr Jr, Richard Frank (Rick Mohr)" <rmohr at utk.edu>, Lustre
        >    Discuss <lustre-discuss at lists.lustre.org>
        > Subject: Re: [lustre-discuss] Linux users are not able to access
        >    lustre folders
        > Message-ID: <563528B1-1C94-4374-A427-9617F42A0934 at intel.com>
        > Content-Type: text/plain; charset="utf-8"
        >
        >> On Oct 20, 2017, at 09:37, Ravi Bhat <ravibhatk at gmail.com> wrote:
        >>
        >> Hi Rick
        >> Thanks, I have created user (luser6) in client as well as in lustre servers. But I get the same error as
        >> No directory /home/luser6
        >> Logging in with home="/".
        >>
        >> But now I can cd /home/luser6 manually and create files or folders.
        >
        > Note that the "luser6" needs to have the same numeric UID/GID as on the clients.
        > Copying /etc/passwd to the MDS is the easiest way to do this (it isn't needed on the OSS nodes).  You probably do NOT want to copy /etc/shadow to the MDS, to prevent regular users from logging in there.
        >
        > You can check that this is configured correctly by running on the MDS (as root):
        >
        >  /usr/sbin/l_getidentity -d {uid}
        >
        > to verify that "uid" is accessible from /etc/passwd (or NIS/LDAP/AD/whatever).
        >
        > Cheers, Andreas
        >
        >> Regards,
        >> Konila Ravi Bhat
        >>
        >>> On 20-Oct-2017 8:31 pm, "Mohr Jr, Richard Frank (Rick Mohr)" <rmohr at utk.edu> wrote:
        >>>
        >>> On Oct 20, 2017, at 10:50 AM, Ravi Konila <ravibhatk at gmail.com> wrote:
        >>>
        >>> Can you please guide me how do I do it, I mean install NIS on servers and clients?
        >>> Is it mandatory to setup NIS?
        >>>
        >>
        >> NIS is not mandatory.  You just need a way to ensure that user accounts are visible to the lustre servers.  You could also use LDAP or even just /etc/passwd.   You?ll probably just want to choose whatever mechanism is used on your other systems.
        >>
        >> For the purposes of testing, you could always just create the luser1 locally on each lustre server to see if things start to work.
        >>
        >> --
        >> Rick Mohr
        >> Senior HPC System Administrator
        >> National Institute for Computational Sciences
        >> http://www.nics.tennessee.edu
        >>
        >>
        >> _______________________________________________
        >> lustre-discuss mailing list
        >> lustre-discuss at lists.lustre.org
        >> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
        >
        > Cheers, Andreas
        > --
        > Andreas Dilger
        > Lustre Principal Architect
        > Intel Corporation
        >
        >
        >
        >
        >
        >
        >
        >
        > ------------------------------
        >
        > Subject: Digest Footer
        >
        > _______________________________________________
        > lustre-discuss mailing list
        > lustre-discuss at lists.lustre.org
        > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
        >
        >
        > ------------------------------
        >
        > End of lustre-discuss Digest, Vol 139, Issue 39
        > ***********************************************

        _______________________________________________
        lustre-discuss mailing list
        lustre-discuss at lists.lustre.org
        http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20171029/1480f5c9/attachment.html>


More information about the lustre-discuss mailing list