Additional Instructions


Add a new User on the UI

On LCFGng server:

1- In folder   /var/obj/conf/server/source/git-current   create the following two configuration files for the local users

  • Users-local-cfg.h 
  • UsersNoHome-local-cfg.h

2- Include them in the UI profile (in folder  /var/obj/conf/server/source ): 

        /* Local Users */

    #include "git-current/Users-local-cfg.h"

    #include "git-current/UsersNoHome-local-cfg.h"

3- Define the new user (e.g. johndoe) in file Users-local-cfg.h    

    +auth.userhome_johndoe      /home/johndoe

    +auth.usergroup_johndoe     users

    +auth.useruid_johndoe       <uid>

    auth.userpwd_johndoe   <password>

    generate the encrypted password with git-cryptpasswd

 

4- Update the profile of the UI: 

 

       /usr/sbin/mkxprof -v <UI name>

 

5- On the UI, check that the new account has been created by lcfgng

 

    less /etc/passwd |grep <account name>

 

6- To avoid that at each root the user's home directory is recreated, in file UsersNoHome-local-cfg.h set:

 

         auth.usernotcreatehome_johndoe   true

 

7- Update the profile of the UI: 

 

        /usr/sbin/mkxprof -v <UI name>

 

Add a new Worker Node

On LCFGng server:

  • modify /etc/dhcpd.conf so that the new WN can get an IP address from the DHCP server
  • check that the DHCP deamon is active, otherwise restart it 
  • in folder  /var/obj/conf/server/source/git-current  modify file redhat7.3-cfg.h adding the line

    network.hentry_<WN Name>   ...

  • register in your DNS the logical name of the new WN and verify that the reverse lookup is active
  • create  a new profile file  for the new node: /var/obj/conf/server/source/<WN name> 
  • create the new profile: /usr/sbin/mkxprof -v <WN name>
  • check that the nfs deamon is active, otherwise restart it 
  • start the new node installation in the WN machine

On CE node:

  • as indicated the Site Installation Guide, in the section 8  "Post-Installation Tasks", in the case of PBS configuration (8.1.2), apply  steps 5. - 6. -7.

On new WN node:

  • as indicated the Site Installation Guide, follow instructions in section 8.3 (Worker Nodes). In the case of PBS configuration, apply  step 8.3.3 (Configure ssh)