open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • Gnocchi Convert Temperature F to C

    calendar Jun 5, 2023 · 1 min read · gnocchi  ·
    Share on: twitter facebook linkedin copy

    When using Gnocchi, if you have data thats stored in antiquated Farenheit format and need to convert into something modern day humans can use you can use Gnocchi's built in ability to perform 'operations' https://gnocchi.osci.io/rest.html#math-operations Assuming the formula to convert is TempC=(TempF-32)/1.8 then …


    Read More
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

    calendar May 19, 2023 · 4 min read · hp hpacucli  ·
    Share on: twitter facebook linkedin copy

    1#!/bin/bash 2################################################################################## 3# This script is used for synchronizing the RBDs (Rados Block Devices) between a 4# production Ceph cluster and a backup Ceph cluster. It checks whether the images exist in 5# the remote pool and creates them if not. It …


    Read More
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

    calendar May 19, 2023 · 1 min read · hp hpacucli  ·
    Share on: twitter facebook linkedin copy

    1echo "deb http://downloads.linux.hpe.com/SDR/repo/mcp stretch/current non-free" > /etc/apt/sources.list.d/hp-mcp.list 2 3wget -q -O - http://downloads.linux.hpe.com/SDR/hpPublicKey1024.pub | apt-key add - 4wget -q -O - http://downloads.linux.hpe.com/SDR/hpPublicKey2048.pub | apt-key add - 5wget -q -O - …


    Read More
  • A neat script to backup Ceph volumes form one cluster to another

    calendar May 8, 2023 · 5 min read · ceph bash  ·
    Share on: twitter facebook linkedin copy

    This script is a work in progress, fell free to reach out to me if you have any improvements. The idea is to leverage Ceph's snap differential export feature and Copy-On-Write snapshots\layers to allow for quick and easy snaps and exports of running VM volumes from one cluster to another. The obvious disclaimer about …


    Read More
  • Migrate from Gitlab to Gitea

    calendar Apr 13, 2023 · 2 min read  ·
    Share on: twitter facebook linkedin copy

    I had a requirement to move all of our code repos from multiple Gitlab projects to a self hosted Gitea instance I wrote the following script that uses the Gitlab API to pull a list of repos for a given 'Group', clones them all into a matching local folder then connects to the Gitea servers, creates the Repo(It just …


    Read More
  • Monitor Write cache

    calendar Feb 8, 2023 · 1 min read · cache  ·
    Share on: twitter facebook linkedin copy

    Linux Sync Buffer Progress Monitoring (E.G. For Copy To USB) On my Linux system (Linux Mint), if I copy a huge file to an USB stick, then I always type “sync” in a shell command line to make sure all buffers are flushed to the USB stick before I eject the USB stick. This writing of the buffers can take quite a while …


    Read More
  • RabbitMQ in HA

    calendar Feb 3, 2023 · 1 min read · rabbitmq  ·
    Share on: twitter facebook linkedin copy

    A quick reminder to myself, this is how you configure RabbitMQ to mirror all queue's to all nodes 1rabbitmqctl set_policy HA '^(.*)' '{"ha-mode": "all"}'


    Read More
  • MemcacheD connection limits inside Docker

    calendar Oct 10, 2022 · 1 min read · memcached docker  ·
    Share on: twitter facebook linkedin copy

    1 - Set ulimit flag when running docker container docker run -it --ulimit nofile=4096 memcached 2 - Start memcached with the conn-limit flag which ideally is inherited from 'ulimit -n' 3 - Check your config per screnshot Example memcahed start script 1#!/bin/sh 2# Memcached will run as a process under the memcache …


    Read More
  • IPtables - SSH in only

    calendar Sep 6, 2022 · 1 min read · iptables linux  ·
    Share on: twitter facebook linkedin copy

    I came a cross this neat little script to lock down IPtables to allow ONLY SSH in, block everything else 1#!/bin/bash 2# Flushing all rules 3iptables -F 4iptables -X 5# Setting default filter policy 6iptables -P INPUT DROP 7iptables -P OUTPUT ACCEPT 8iptables -P FORWARD DROP 9# Allow unlimited traffic on loopback …


    Read More
  • OpenSSL quick commands

    calendar Aug 26, 2022 · 1 min read · ssl linux  ·
    Share on: twitter facebook linkedin copy

    Get info about a web server cert openssl s_client -showcerts -connect registry.nexgen-poc.lan:5010 </dev/null Validate a crt against a CA crt openssl verify -CAfile rootCA.crt registry.nexgen-poc.lan.crt Thanks @Deep for spotting the error!


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • 4
    • 5
    • »
    • »»

Cory Hawkvelt photo

Cory Hawkvelt

CTO @ Nexgen Cloud | Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Converting Cisco AirAP3802i to Mobility Express Mode
  • Mastering SSH Certificates: A Comprehensive Guide
  • My First Dabbling with LoRa
  • Deploying pam_ussh: A Comprehensive Guide
  • Validating SSH Certificates with a Local CA Using Python
  • Unpacking the NVIDIA H100 Tensor Core GPU: A Deep Dive for CTOs
  • Caddy proxy for OpenStack API's
  • HP Server ACPI errors

Categories

ARDUINO 1 LORA 1

Tags

LINUX 32 CEPH 25 BASH 23 OPENSTACK 13 NETWORKING 11 DOCKER 8 CONFIG 6 SSH 6 HP 5 HPACUCLI 5 OPENSTACK-QUEENS 5 QEMU 5 TROUBLESHOOTING 5 CENTOS7 4
All Tags
ACTIVE-BACKUP1 ADB1 AI1 AIRAP1 ANDROID1 ANSIBLE2 APT1 ARDUINO1 AUTHENTICATION1 AUTODISCOVER1 BACKUP1 BACKUPS1 BASH23 BIND1 BLUETOOTH1 CACHE1 CADDY1 CAS1 CENTOS74 CEPH25 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 CISCO1 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL1 DELL-S600-ON1 DELLMD3060JBOD1 DEVOPS1 DHCP1 DISK-MGMT1 DNS1 DOCKER8 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 FTOS1 GATEWAY1 GIT1 GNOCCHI3 GO1 GPU1 H1001 HAPROXY2 HARDWARE2 HORIZON1 HP5 HP-ILO1 HPACUCLI5 HPC1 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX32 LOGO1 LORA1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING11 NEUTRON1 NOVA1 NOVNC1 NPS1 NVIDIA2 OPENNEBULA1 OPENSTACK13 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PAM1 PCI1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RANGE-TEST1 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SECURITY2 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH6 SSL1 SVG1 SWAP1 SYSCOMMANDS1 TCP1 TCP-DUMP1 TCPDUMP1 TROUBLESHOOTING5 UBUNTU4 UBUNTU-182 UBUNTU-201 UBUNTU-GNOME1 UBUNTU171 UEFI1 VAGRANT2 VIRTUAL-NETWORK1 VIRTUALISATION1 VLAN1 VM2 VPN1 VXLAN2 WINDOWS2 WINDOWS-AD1 WIRELESS1 WIRESHARK1 YOUTUBE-DL2
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top