open-menu closeme
Home
Archives
Links icon
LinkedIn Twitter
About
English
github linkedin
  • Functional Ceph RadosGW docker container and config

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

    This is just a basic example of getting RadosGW to run in docker with Keystone auth support. It runs S3 and Swift API's out of the box, so you can use tools like s3cmd or 'openstack container list' using the below configs. Command to run inside docker container 1radosgw -d -f --cluster ceph --name client.rgw.mon-1.rgw0 …


    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
  • Ceph Nautilus - Required devices (block and data) not present for bluestore

    calendar May 10, 2019 · 2 min read · CEPH CEPH-NAUTILUS TROUBLESHOOTING  ·
    Share on: twitter facebook linkedin copy

    When using the new ceph-volume scan and activate commands on ceph Nautilus after an upgrade from Luminous I was getting the following message 1root@ceph2 ~]# ceph-volume simple activate --all 2--> activating OSD specified in /etc/ceph/osd/37-11af5440-dadf-40e3-8924-2bbad3ee5b58.json 3Running command: /bin/ln -snf …


    Read More
  • Ceph scrubbing performance

    calendar Feb 16, 2019 · 2 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    Original article here Ceph’s default IO priority and class for behind the scene disk operations should be considered required vs best efforts. For those of us who actually utilize our storage for services that require performance will quickly find that deep scrub grinds even the most powerful systems to a halt. Below …


    Read More
  • List pools and their crush rule

    calendar Feb 12, 2019 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    1ceph osd pool ls | while read line; do echo $line && ceph osd pool get $line crush_rule; done


    Read More
  • Openstack Queens\Rocky - Glance: Create an image from an existing RBD volume

    calendar Apr 26, 2018 · 2 min read · OPENSTACK-QUEENS ROCKY-GLANCE CEPH QEMU  ·
    Share on: twitter facebook linkedin copy

    Seems like something that should be simple! Step1 – Create the empty image 1glance image-create --container-format=bare --disk-format=raw --min-ram 2048 --name="Windows Server test" 1+------------------+--------------------------------------+ 2| Property | Value | …


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

Cory Hawkvelt photo

Cory Hawkvelt

Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • RabbitMQ in HA
  • MemcacheD connection limits inside Docker
  • Use grep to view a file without comments
  • Use grep to view a file without comments
  • Scrub all local disks
  • Use grep to view a file without comments
  • tcpdump HTTP traffic
  • List all local linux disks

Tags

LINUX 31 CEPH 22 BASH 19 OPENSTACK 11 NETWORKING 10 DOCKER 7 CONFIG 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 BASH19 BIND1 BLUETOOTH1 CAS1 CENTOS74 CEPH22 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER7 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 GIT1 GNOCCHI2 HAPROXY2 HARDWARE2 HORIZON1 HP2 HP-ILO1 HPACUCLI3 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX31 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 OPENNEBULA1 OPENSTACK11 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH4 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 VXLAN1 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL1
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top