Header Shadow Image

Archive for the 'NIX Posts' Category

VIRSH: Virtualizing a Physical Rocky 8 Linux Machine

Let’s just jump right in into virtualizing a KVM based Physical Server using various KVM tools such as Virsh, Cockpit etc.  Will also introduce a twist by configuring bonding at the end, not the beginning, to document a retrofit to an existing environment. Begin by identifying how the various network interfaces that will make up […]

502 Bad Gateway The server returned an invalid or incomplete response.

Running into this error? 502 Bad Gateway The server returned an invalid or incomplete response. This error only popped up when keepalived was started.  Otherwise just with HAproxy, a timeout was seen. It appeared as if it was a keepalived config error.  In this case, it was due to a faulty HAproxy configuration: [root@jenkins01 jenkins]# diff […]

DHCPD and DHCLIENT: Routes and gateway disappear or go missing or get removed

On one of the Linux hosts, the routes were correctly populated: # route -n Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0   […]

ILO: Integrated Lights Out: Accessing Server Management and Console

HP ILO X is the Hewlett Packard server management Integrated Lights Out software running independently from the main circutry of the host itself.  It allows remote management including power on/off, status checks, console etc.  This post goes over how to access the iLO interface when newer browsers such as Chrome, FireFox and Edge don't support […]

ipa-client-install missing reverse records

For each reverse zone, when manually created, such as: DNS Zone: 0.168.192.in-addr.arpa. or DNS Zone: 0.0.10.in-addr.arpa. for example, in order for FreeIPA to create reverse records, the option: Dynamic Update must be set to True in the reverse zone Settings tab.  If not enabled, messages such as these will be seen when installing clients using ipa-client-install: Hostname […]

DD-WRT: Network Performance Tuning

It became apparent that with the growing push for more content on web pages and general media content, my router began to perform rather inadequately.  Inadequately to the point where it was rebooting spontaneously.  Below is what the situation looked like.  Below is an example of high SIRQ's inundating the environment:  Mem: 116784K used, 396932K free, […]

Patroni and ETCD: Upgrade from PostgreSQL 10 to PostgreSQL 14

Patroni and ETCD: Upgrade from PostgreSQL 10 to PostgreSQL 14 Begin by installing PostgreSQL 14.  In this case we're installing all PostgreSQL 14 packages. yum install postgresql14* Check version after installation: [root@psql04 ~]# /usr/pgsql-14/bin/psql –version psql (PostgreSQL) 14.5 [root@psql04 ~]# [root@psql04 ~]# grep -Ei bin_dir /etc/patroni.yml     bin_dir: /usr/pgsql-14/bin [root@psql04 ~]#

Internal Database Error encountered: Could not connect to LDAP server host idmipa01.nix.mds.xyz port 636 Error netscape.ldap.LDAPException: Authentication failed (48)

Restore VM's from snapshot.  Yes, this is a new attempt at restoring some FreeIPA hosts that have been, ahem, neglected slightly to the point where things expired and don't work.  A few unexpected reboots and FS corruption didn't help the matter either.  Regardless, the recovery will in many ways show off the restoration capabilities of.FreeIPA which […]

vmware: no healthy upstream

After a hard reset, a greeting of: no healthy upstream pops up from the vSphere Client.  Login as root and issue: service-control –start vmware-vpxd to see if there's any  additional information in regards to this error.  You may  or may not receive more info.  Check the time and NTP settings. There's a good chance time […]

NTPD: Setting up an NTP server on DD-WRT or OpenWRT

Recent power outages and ISP outages left my network without a proper internal NTP server which was, coincidently, installed on an ESXi host.  Having to revert to an external NTP server for the time being, a recent outage with my ISP highlighted the fact that even that isn't enough.  The ISP outage () made it […]

  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License