A simple script to update your ssh config file. I’ve been reading about Bash scripting lately and finally thought of something useful. Below is a simple script that automates the addition of new hosts to your ssh config file. All you need to do is copy the script, save it as yourcommand.sh, set the execute bit with chmod +x yourcommand.sh, and place that file inside of the bin folder in your home directory (which you may have to create).
*** Updated September 12, 2020
Quick Tip: Running Proxmox VE 5.4 and want to wake your cluster nodes through the web interface? You can now set a WOL MAC address for all nodes using the pvenode command. On each node in your environment, issue the following command from the terminal:
pvenode config set –wakeonlan XX:XX:XX:XX:XX:XX
Replace the XX’s with the MAC address of the NIC that will be accepting WOL packets for that node.
Port Forwarding for Headless Machines. In my quest to find a DropBox like solution for local file sync between my machines, I found and fell in love with Syncthing. It is an excellent piece of software that gives you total control over how your data is synced and has proven itself to be extremely reliable. I will cover my Syncthing setup in another post but for context here; I maintain one master node running on a headless CentOS 7 virtual machine (VM) on my server and all of my other machines sync to it.
Operating on a single node, 99% of the time. My lab setup includes a two node Proxmox VE 5 cluster. Only one machine is powered on 24x7 and the only real use I get out of the cluster is combined management under the web interface and the ability to observe corosync traffic between the nodes for educational purposes. My second machine is used for intermittent testing of Windows Server and GPU passthrough.
Hello World, and welcome to my blog My name is James and this is my website. There are many like it, but this one is mine. Over the years I’ve kept track of my homelab projects and kept notes about tech problems I’ve solved (and attempted to solve). This blog will be a place for me to share this information, in the hopes that it will help someone in a similar situation and to serve as a quick reference for me in the future.