At workplace it is Openstack based environment and kind of liked it. So wanted to test setting up the same at home lab.
Had followed steps given in https://docs.openstack.org – Content mostly from openstack.org – This is just a compilation on steps followed by me. Minor changes may be observed as I had installed on Debian 9.6.
1. AMD-Threadripper 1950x (16/32) with 64G RAM – hostname – aserver, compute node1
2. Dell PowerEdge 430 (6/12) with 32G RAM – hostname – iserver, compute node2
3. ACER NITRO 5 Laptop with (4/8) with 16G RAM – hostname – contoller, controller
Finalized to deploy on Debian 9.6.
1. On all systems install Debian 9.6 with GNOME Desktop
2. Updated /etc/hosts
a. Commented out host entry with 127.0.1.1
b. Added host entries for other two nodes on each node. Typically added the following on all nodes
10.0.0.3 aserver 10.0.0.14 iserver 10.0.0.18 controller
Note : Mac-Binding done on home router – DHCP server settings
3. Edited /etc/security/limits.conf (Not sure if systemd respects the configurations here)
Added * hard nofile 65535 an * soft nofile 65535 entries
Editied /etc/systemd/system.conf and /etc/systemd/user.conf
Uncomment NOFILE entry and add 65535 to it
4. Ensure that you are able ping each other device(s) using hostname.
5. Had enabled sshd on all nodes during installation.
6. Used synaptic to configure repositories – remove CDROM source, add contrib and non free respositories.
7. Installed firmware-linux on all nodes – a must on one node (aserver – it had NVIDIA GP108M card).
8. On the laptop, it had i915 and Nvidia GeoForce 1050Ti. Looks like there is a need to install bumblebee package – Tried once, but resulted in black screen after login success so re-installed debian.
9. As suggested reconfigured debconf and set it to non-interactive mode with ignore no questions below level high.
Had tried in interactive mode and found there were questions prompted for selections and I had not understood quite a few of them. So until getting hold of the same, decided to go this way.
Command used : dpkg-reconfigure debconf
10. When new apt sources were added had come across the following error (of course even when logging in as root user)
The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user ‘_apt’
One quick remedy which worked for me was to remove /etc/apt/trusted.gpg and then perform apt update
root@aserver:/home/sandeep# apt update Hit:1 http://security.debian.org/debian-security stretch/updates InRelease Ign:2 http://ftp.jp.debian.org/debian stretch InRelease Hit:4 http://ftp.jp.debian.org/debian stretch-updates InRelease Hit:5 http://ftp.jp.debian.org/debian stretch Release Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease root@aserver:/home/sandeep#