This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cluster:213 [2023/01/31 18:57] hmeij07 |
cluster:213 [2023/02/13 14:04] hmeij07 |
||
---|---|---|---|
Line 50: | Line 50: | ||
cd / | cd / | ||
vi ifcfg-eth0 # 192.168.102.x | vi ifcfg-eth0 # 192.168.102.x | ||
- | vi ifcfg-eth1 # 10.10.102.x | + | vi ifcfg-eth1 # 10.10.102.x |
vi ifcfg-eth3 # 129.133.52.x | vi ifcfg-eth3 # 129.133.52.x | ||
systemctl restart network | systemctl restart network | ||
Line 73: | Line 73: | ||
iptables -L # check! | iptables -L # check! | ||
- | # Rocky8 | + | |
- | # https:// | + | |
- | dnf config-manager --set-enabled powertools | + | |
- | dnf install epel-release | + | |
- | dnf install netcdf netcdf-devel | + | |
- | dnf install yum-utils # yumdownloader | + | |
- | dnf install ddd | + | |
- | dnf install grace | + | |
- | dnf install gnuplot | + | |
- | dnf install alpine # pico | + | |
- | yum groupinstall " | + | |
# other configs | # other configs | ||
Line 92: | Line 82: | ||
vi /etc/passwd (exx, dockeruser $HOME) | vi /etc/passwd (exx, dockeruser $HOME) | ||
- | ## edit passwd, shadow, group, hosts files ## | ||
- | ## make -orig backups and stage in / | ||
- | ## cottontail2 = greentail52 sections | ||
#exx96 | #exx96 | ||
Line 108: | Line 95: | ||
ln -s / | ln -s / | ||
+ | cat / | ||
# fstab file mounts | # fstab file mounts | ||
Line 114: | Line 102: | ||
# n100-n101 = n79 | # n100-n101 = n79 | ||
- | # postfix | ||
- | dnf install postfix | ||
- | dnf install mailx | ||
- | systemctl enable postfix | ||
- | echo " | ||
# on head node / | # on head node / | ||
Line 128: | Line 111: | ||
# check | # check | ||
chronyc sources | chronyc sources | ||
+ | |||
+ | # Rocky8 | ||
+ | # https:// | ||
+ | dnf config-manager --set-enabled powertools | ||
+ | dnf install epel-release | ||
+ | dnf install netcdf netcdf-devel | ||
+ | dnf install yum-utils # yumdownloader | ||
+ | dnf install ddd | ||
+ | dnf install grace | ||
+ | dnf install gnuplot | ||
+ | dnf install alpine # pico | ||
+ | yum groupinstall " | ||
# on head node install from epel repo | # on head node install from epel repo | ||
- | yum install slurm-openlava | + | ### yum install slurm-openlava |
# error on conflicting libs, too bad! | # error on conflicting libs, too bad! | ||
Line 173: | Line 168: | ||
# compute nodes old level 3 | # compute nodes old level 3 | ||
systemctl set-default multi-user.target | systemctl set-default multi-user.target | ||
+ | |||
+ | |||
+ | # postfix | ||
+ | dnf install postfix | ||
+ | dnf install mailx | ||
+ | systemctl enable postfix | ||
+ | echo " | ||
+ | |||
+ | yum install net-snmp-utils net-snmp-libs net-snmp net-snmp-agent-libs | ||
+ | |||
+ | # edit / | ||
+ | rocommunity public | ||
+ | dontLogTCPWrappersConnects yes | ||
+ | # enable, start, add to zenoss | ||
+ | |||
# compute nodes only | # compute nodes only | ||
Line 206: | Line 216: | ||
yum install dmtcp dmtcp-devel | yum install dmtcp dmtcp-devel | ||
- | # check status of service munge | + | |
yum clean all | yum clean all | ||
Line 215: | Line 225: | ||
# now make it an ohpc compute node | # now make it an ohpc compute node | ||
yum repolist | yum repolist | ||
- | yum install ohpc-base-compute | + | |
+ | | ||
| | ||
scp cottontail2:/ | scp cottontail2:/ | ||
yum install ohpc-slurm-client | yum install ohpc-slurm-client | ||
+ | # check status of service munge | ||
systemctl enable munge | systemctl enable munge | ||
systemctl start munge | systemctl start munge | ||
Line 232: | Line 244: | ||
scp cottontail2:/ | scp cottontail2:/ | ||
scp cottontail2:/ | scp cottontail2:/ | ||
+ | | ||
+ | # /etc/bashrc add | ||
+ | # ohpc lmod gcc mpicc | ||
+ | export PATH=/ | ||
+ | export LD_LIBRARY_PATH=/ | ||
+ | |||
| | ||
# / | # / | ||
Line 244: | Line 262: | ||
sleep 15 | sleep 15 | ||
/ | / | ||
+ | |||
+ | |||
+ | ## edit passwd, shadow, group, hosts files ## | ||
+ | ## make -orig backups and stage in / | ||
+ | ## cottontail2 = greentail52 sections | ||
+ | |||
| | ||
# slurmd ??? | # slurmd ??? | ||
libhwloc.so.15 => / | libhwloc.so.15 => / | ||
- | # add to zenoss edit /etc/snmp/snmpd.conf, enable and start | + | # crontab |
- | rocommunity public | + | |
- | dontLogTCPWrappersConnects yes | + | # ionice gaussian |
+ | 0,15,30,45 * * * * /share/apps/scripts/ | ||
+ | |||
+ | # cpu temps | ||
+ | 40 * * * * / | ||
+ | |||
+ | # file date_ctt2.sh | ||
+ | |||
+ | # ctt /etc/pdsh | ||
+ | |||
+ | # ctt:/ | ||
</ | </ |