Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Mentor: Hung
Hung created the user and password as following:
username: admin or root
password: openhpctraining2024
Hung has already done the following part and it is same and you don't have to do it again, because the VM you are going to use is a clone from the already configured one.
ssh root@172.18.238.22 -- this is the gateway
change enp192 and emp224 to static ip's 192.168.50.2 and 172.18.238.28 and gateway 192.158.50.254 and 172.18.239.254 respectively.
ssh root@192.168.50.2
yum update
yum goup install "development tools"
disable firewalld
disable selinux
poweroff
First ssh into the gateway
ssh root@172.18.238.22
now, from the gateway ssh into the server
ssh root@192.168.50.2
dnf install https://github.com/hpcng/warewulf/releases/download/v4.4.0/warewulf-4.4.0-1.git_afcdb21.el8.x86_64.rpm
sudo wwctl container import docker://ghcr.io/hpcng/warewulf-rockylinux:8 rocky-8
poweroff
Hung removed the gateway (172.18.238.22) at this point and was needed that for the installation for the package etc. Now the server is isolated.
ifconfig
(will show enp192 as UP and enp224 as DOWN)
open /etc/warewulf/warewulf.conf
change ip address to 192.168.50.2, network to 192.168.50.0 and range from 192.168.50.50 to 192.168.50.99
wwctl configure -a
systemctl enable --now warefulfd
systemctl enable --now dhcpd
wwctl container list (to verify)
sudo wwctl profile set --yes --container rocky-8 "default"
sudo wwctl profile set --yes --netdev eth0 --netmask 255.255.255.0 --gateway 192.168.50.2 "default"
sudo wwctl profile list -a (to verify)
wwctl node add node1.biohpc.swmed.edu --ipaddr 192.168.50.55 [for this ip address, choose a value in the range 50 to 99, different from 55, 60, 65- the three of us used those] --gateway 192.168.50.2 --hwaddr 00:50:56:a9:2d:43 --discoverable True
now ssh root@192.168.50.55 should be able login to client
check the hostname:
hostname
will show node1.biohpc.swmed.edu
ping from server to verify
cat /etc/fstab has nfs listed
[[/etc/warewulf/warewulf.conf has nfs, ldap info]]