Difference between revisions of "How to setup ejfat nodes"

From epsciwiki
Jump to navigation Jump to search
Line 13: Line 13:
 
##  sudo mount /daqfs
 
##  sudo mount /daqfs
 
# To change one's home directory to /daqfs/home/myUserName:
 
# To change one's home directory to /daqfs/home/myUserName:
##Edit the /etc/passwd file to include a line something like:<pre>myUserName:x:2101:1208:John Doe,,,:/daqfs/home/myUserName:/bin/bash</pre>where 2101 is user id and 1208 is epsci group
+
##Edit the /etc/passwd file to include a line something like:<pre>myUserName:x:2101:1208:John Doe,,,:/daqfs/home/myUserName:/bin/bash</pre>where 2101 is user id and 1208 is epsci group. Hint: set your user id on the ejfat nodes to be the same as it is on the computer center machines or there will be an issue when you access files served by computer center like /daqfs/home or /group/...
 
</font>
 
</font>

Revision as of 21:19, 30 November 2022

  1. Install BOOST with:
    sudo apt-get install lib boost-all-dev
  2. Install ZMQ with:
    sudo apt install libzmq3-dev
  3. For ERSAP install protobuf:
    sudo apt install libprotobuf-dev protobuf-compiler
  4. For pip (python installer for python) install:
    sudo apt install pip
  5. For increased UDP buffer sizes:
    1. For the long term write the following lines into the sysctl.conf file:
      net.core.rmem_max=25000000
      net.core.wmem_max=25000000
    2. To make it immediately effective, execute:
      sudo sysctl -w net.core.rmem_max=25000000
      sudo sysctl -w net.core.wmem_max=25000000
  6. To mount /daqfs:
    1. sudo mkdir /daqfs
    2. edit /etc/fstab to include the line:
      dubhe:/raid/daqfs          nfs     rw,bg           0       0
    3. sudo apt-get install nfs-common
    4. sudo mount /daqfs
  7. To change one's home directory to /daqfs/home/myUserName:
    1. Edit the /etc/passwd file to include a line something like:
      myUserName:x:2101:1208:John Doe,,,:/daqfs/home/myUserName:/bin/bash
      where 2101 is user id and 1208 is epsci group. Hint: set your user id on the ejfat nodes to be the same as it is on the computer center machines or there will be an issue when you access files served by computer center like /daqfs/home or /group/...