open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • Validating SSH Certificates with a Local CA Using Python

    calendar Aug 20, 2024 · 2 min read · Ceph Bash Backups  ·
    Share on: twitter facebook linkedin copy

    This Bash script is designed to delete old RBD (RADOS Block Device) volumes in a specified pool (in this case, the backup pool) based on their 'age' which is determined by the modify_timestamp popery derived from rbd info 1 2#!/bin/bash 3 4# Set the pool name 5POOL_NAME="backup" 6 7# Get the current date in …


    Read More
  • Install Ceph by hand Ubuntu 22.04

    calendar Jun 28, 2023 · 3 min read · ceph  ·
    Share on: twitter facebook linkedin copy

    It's not pretty but sometimes it has to be done Here is the set of commands I use to install Ceph MONs, MGRs or OSDs manually This came about becuase I was trying to use cephadm but the tool was broken for Ubuntu 22.04 at the time(Wouldn't bootstrap) so I did a package install using apt install ceph which pulled Quincy …


    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
  • Notes on exporting and importing individual PG's to OSD's

    calendar Apr 5, 2022 · 1 min read · ceph  ·
    Share on: twitter facebook linkedin copy

    ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-275/ --pgid 13.480 --op list | wc -l ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-263/ --pgid 13.480 --op export --file ~/pg-13.480-ss5-osd263.old ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-263/ --type bluestore --pgid 13.480 --op import …


    Read More
  • Functional Ceph RadosGW docker container and config

    calendar May 14, 2021 · 3 min read · CEPH RADOSGW DOCKER CONFIG  ·
    Share on: twitter facebook linkedin copy

    This article provides a basic guide to deploying RadosGW in a Docker container with Keystone authentication support. RadosGW is a part of the Ceph distributed storage system and offers interfaces compatible with S3 and Swift APIs, making it versatile for various cloud storage applications. Here, we will go through …


    Read More
  • Ceph - Edit running crushmap

    calendar May 12, 2021 · 1 min read · ceph  ·
    Share on: twitter facebook linkedin copy

    Edit crushmap in a running cluster then re-inject it - Be careful! 1ceph osd getcrushmap -o crushmap 2crushtool -d crushmap -o crushmap.txt 3vim crushmap.txt <--Make your changes here 4crushtool -c crushmap.txt -o crushmap1 5ceph osd setcrushmap -i crushmap1


    Read More
  • Manually add a ceph-mon

    calendar Dec 31, 2020 · 1 min read · ceph  ·
    Share on: twitter facebook linkedin copy

    Sometimes it's necessary to rebuild the content of a Ceph monitor's local database, E.G it becomes corrupt or you somehow loose it! This process assumes the cluster is running and the remaining mons have achieved quorum, in which case it's safe to blow away the local DB of a single mon and let it re-create from the …


    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
  • 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
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

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