From: Sebastien Buisson Date: Fri, 11 Mar 2022 16:16:53 +0000 (+0100) Subject: LUDOC-504 nodemap: servers must be in a trusted+admin group X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F46801%2F3;p=doc%2Fmanual.git LUDOC-504 nodemap: servers must be in a trusted+admin group Make it clear that Lustre requires a "TrustedSystems" nodemap covering all servers, with both admin and trusted properties set. Signed-off-by: Sebastien Buisson Change-Id: I364557a5dc35abe597ae53658f1839c900863fbf Reviewed-on: https://review.whamcloud.com/46801 Tested-by: jenkins Reviewed-by: Andreas Dilger --- diff --git a/LustreNodemap.xml b/LustreNodemap.xml index 72ec50d..8f0d08c 100644 --- a/LustreNodemap.xml +++ b/LustreNodemap.xml @@ -104,6 +104,30 @@
+ Defining a Servers Specific Group + + For proper operations, the Lustre file system + requires to have a privileged group that + covers all Lustre server nodes. So the very first step when working with + nodemaps is to create such a group with both properties + admin and trusted set. It is + recommended to give this group an explicit label such as “TrustedSystems” + or some identifier that makes the association clear. + + Let's consider a deployment where the server nodes are in the NID + range 192.168.0.[1-10]@tcp. Create the policy group, + add the NID range to that group, and set the properties accordingly using + the lctl command on the MGS: + + mgs# lctl nodemap_add TrustedSystems +mgs# lctl nodemap_add_range --name TrustedSystems --range 192.168.0.[1-10]@tcp +mgs# lctl nodemap_modify --name TrustedSystems --property admin --value 1 +mgs# lctl nodemap_modify --name TrustedSystems --property trusted --value 1 + + +
+ +
Describing and Deploying a Sample Mapping Deploy nodemap by first considering which users need to be @@ -240,6 +264,13 @@ drwxr-xr-x 3 root root 4096 Jul 23 09:02 .. to user nobody, which interferes with most administrative actions. + For proper operations, the Lustre file system + requires a group that covers all Lustre + server nodes, with both properties admin and + trusted set. It is recommended to give this group an + explicit label such as “TrustedSystems” or some identifier that makes the + association clear. +
Managing the Properties @@ -344,9 +375,9 @@ mgs# lctl nodemap_modify --name BirdAdminSite --prope order to perform maintenance or to perform administrative tasks. - MDS systems must be in a policy - group with both these properties set to 1. It is recommended to put the - MDS in a policy group labeled “TrustedSystems” or some identifier that + Lustre server nodes must be in a + policy group with both these properties set to 1. It is recommended to + use a policy group labeled “TrustedSystems” or some identifier that makes the association clear.