open-menu closeme
Home
Archives
Links icon
LinkedIn Twitter
About
English Gibberish
github linkedin
  • Network monitoring tools

    calendar Oct 21, 2020 · 1 min read · linux networking  ·
    Share on: twitter facebook linkedin copy

    bmon Nethogs Glances Warning dependency heavy


    Read More
  • Moutning a CephFS share using ceph-fuse

    calendar May 16, 2020 · 1 min read · linux ceph  ·
    Share on: twitter facebook linkedin copy

    I always forget how to mount the subfolder of a CephFS filesystem sudo ceph-fuse -m 192.168.2.9:6789 -r /subfolder /folder/on/my/machine Note: The proceeding / after the -r is important Some great info here on restricting access to specific folders and more notes on mounting …


    Read More
  • Notes on using nmap

    calendar Apr 29, 2020 · 1 min read · linux networking  ·
    Share on: twitter facebook linkedin copy

    Nmap Scan subnet for PTR's When you need to scan an entire subnet for 'research purposes' and check for any associated PTR's we can use Nmap   nmap -R -sL 103.112.200.0/22 > results.txt


    Read More
  • EasyRSA - Make a certificate and copy to ansible staging dir

    calendar Feb 27, 2020 · 1 min read · linux pki  ·
    Share on: twitter facebook linkedin copy

    I use this script on my CA server to create a certificate for each new server we provision. This allows our internal PKI to function. This script creates a certificate then copies it to the Ansible server where is can be deployed to the destination host Obviously you'll need to take the necessary precautions around key …


    Read More
  • Ubuntu interfaces file examples

    calendar Feb 27, 2020 · 1 min read · linux networking  ·
    Share on: twitter facebook linkedin copy

    Example 1 - Includes some static routes and manually specified IP's auto lo iface lo inet static address 103.90.59.9/32 auto ens3 iface ens3 inet static address 172.2.1.17 network 172.2.1.0 netmask 255.255.254.0 up route add -net 172.2.0.0 netmask 255.255.0.0 gw 172.2.1.1 up route add -net 172.2.0.0 netmask 255.255.0.0 …


    Read More
  • MYSQL Backup to S3 script

    calendar Sep 18, 2019 · 1 min read · linux mysql  ·
    Share on: twitter facebook linkedin copy

    Script #!/bin/bash # Set the enviroment variable so read function knows to seperate on ",". export IFS="," NOW=$(date +"%Y_%m_%d_%H_%M") DATABASES_CONFIG_FILE="/home/bfnadmin/databases.csv" S3_ENDPOINT="https://my-s3-storage.com" S3_BUCKET="s3://sql-backups" TEMP_BACKUP_DIR="backups" while read HOST USERNAME PASSWORD …


    Read More
  • Enable fast-diff on an entire Ceph pool and rebuild the object-map

    calendar Jul 13, 2019 · 1 min read · linux ceph  ·
    Share on: twitter facebook linkedin copy

    This script enables the requisite features on all RBD images in a pool to allow you to run rbd du and have it return a result quickly as opposed to having to calculate the size very time rbd ls -p backup1 | while read line; do echo "$line" rbd feature enable backup1/$line object-map exclusive-lock rbd object-map …


    Read More
  • Create Bluestore OSD backed by SSD

    calendar Jun 29, 2019 · 1 min read · linux ceph  ·
    Share on: twitter facebook linkedin copy

    Dont take my word for it on the WAL sizing - Check http://docs.ceph.com/docs/mimic/rados/configuration/bluestore-config-ref/ This script will create a spare 20G Logical volume to use as the WAL for a second spinner later if you need it export SSD=sdc export SPINNER=sda vgcreate ceph-ssd-0 /dev/$SSD vgcreate ceph-hdd-0 …


    Read More
  • KVM Qemu Openstack - Manage a live migration

    calendar Jun 2, 2019 · 1 min read · linux openstack kvm virtualisation  ·
    Share on: twitter facebook linkedin copy

    Live migrations arent hard to do, but getting some real insights into them isnt super simple virsh qemu-monitor-command {VMNAME} --pretty '{"execute":"migrate_cancel"}' Allow Virsh more downtime(If it cant keepup with RAM utilization) virsh migrate-setmaxdowntime VMNAME 2500  Check migration status virsh domjobinfo …


    Read More
  • Bonding in active-backup using linux bridges on Ubuntu 18

    calendar May 24, 2019 · 1 min read · ACTIVE-BACKUP LINUX UBUNTU UBUNTU-18  ·
    Share on: twitter facebook linkedin copy

    Because this was WAAYY more difficult to find any decent doco on that I had ever expected, here is what worked for me I deleted the netplan config file at /etc/netplan/01-netcfg.yaml 1rm /etc/netplan/01-netcfg.yaml Ensure that 'bonding' appears in /etc/modules (I's not here by default) 1echo bonding >> …


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

Cory Hawkvelt photo

Cory Hawkvelt

Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Run yourube-dl in parallel
  • Mellanox NIC's on Linux
  • A cheap and easy webserver
  • Add a specific floating IP to a project
  • Notes on using Hugo
  • Functional Ceph RadosGW docker container and config
  • Ceph - Edit running crushmap
  • Linux VLAN interfaces

Tags

LINUX 24 CEPH 22 BASH 11 OPENSTACK 11 NETWORKING 8 CONFIG 6 DOCKER 6 OPENSTACK-QUEENS 5 QEMU 5 TROUBLESHOOTING 5 CENTOS7 4 MYSQL 4 SSH 4 UBUNTU 4
All Tags
ACTIVE-BACKUP1 ADB1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH11 BIND1 BLUETOOTH1 CAS1 CENTOS74 CEPH22 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER6 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 GNOCCHI2 HAPROXY2 HARDWARE2 HORIZON1 HP2 HP-ILO1 HPACUCLI3 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX24 LOGO1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING8 NEUTRON1 NOVA1 NOVNC1 NPS1 OPENNEBULA1 OPENSTACK11 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH4 SVG1 SWAP1 SYSCOMMANDS1 TCP1 TCP-DUMP1 TCPDUMP1 TROUBLESHOOTING5 UBUNTU4 UBUNTU-182 UBUNTU-201 UBUNTU-GNOME1 UBUNTU171 UEFI1 VAGRANT2 VIRTUAL-NETWORK1 VIRTUALISATION1 VLAN1 VM2 VPN1 VXLAN1 WINDOWS1 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL1
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top