Difference between revisions of "How to setup ejfat nodes"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
# For ERSAP install protobuf:<pre>sudo apt install libprotobuf-dev protobuf-compiler</pre> | # For ERSAP install protobuf:<pre>sudo apt install libprotobuf-dev protobuf-compiler</pre> | ||
# For pip (python installer for python) install:<pre>sudo apt install pip</pre> | # For pip (python installer for python) install:<pre>sudo apt install pip</pre> | ||
− | # For prometheus installation and exporter start up:<pre>sudo apt install prometheus</pre><pre>sudo apt install prometheus-node-exporter</pre><pre>sudo | + | # For prometheus installation and exporter start up:<pre>sudo apt install prometheus</pre><pre>sudo apt install prometheus-node-exporter</pre><pre>sudo systemctl start prometheus-node-exporter</pre><pre>sudo systemctl enable prometheus-node-exporter</pre> |
# For increased UDP buffer sizes: | # For increased UDP buffer sizes: | ||
##For the long term write the following lines into the sysctl.conf file:<pre>net.core.rmem_max=25000000</pre><pre>net.core.wmem_max=25000000</pre> | ##For the long term write the following lines into the sysctl.conf file:<pre>net.core.rmem_max=25000000</pre><pre>net.core.wmem_max=25000000</pre> |
Revision as of 23:23, 1 December 2022
- Install BOOST with:
sudo apt-get install lib boost-all-dev
- Install ZMQ with:
sudo apt install libzmq3-dev
- For ERSAP install protobuf:
sudo apt install libprotobuf-dev protobuf-compiler
- For pip (python installer for python) install:
sudo apt install pip
- For prometheus installation and exporter start up:
sudo apt install prometheus
sudo apt install prometheus-node-exporter
sudo systemctl start prometheus-node-exporter
sudo systemctl enable prometheus-node-exporter
- For increased UDP buffer sizes:
- For the long term write the following lines into the sysctl.conf file:
net.core.rmem_max=25000000
net.core.wmem_max=25000000
- To make it immediately effective, execute:
sudo sysctl -w net.core.rmem_max=25000000
sudo sysctl -w net.core.wmem_max=25000000
- For the long term write the following lines into the sysctl.conf file:
- To mount /daqfs:
- sudo mkdir /daqfs
- edit /etc/fstab to include the line:
dubhe:/raid/daqfs nfs rw,bg 0 0
- sudo apt-get install nfs-common
- sudo mount /daqfs
- To change one's home directory to /daqfs/home/myUserName:
- 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 and group ids 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/...
- Edit the /etc/passwd file to include a line something like: