open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • Copy files from Android phone using ADB - Quicker than MTP

    calendar Sep 21, 2019 · 1 min read · ANDROID ADB MTP  ·
    Share on: twitter facebook linkedin copy

    When backing up photos form my Android phone i found that the phone didn't present as a mass storage device, it would only appear as a MTP\PTP device and the file copy speed was terrible. So some research led me to using the ADB command, you'll need to enable USB debugging before this will work. Find your files 1adb …


    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
  • TCPDump commands

    calendar Jul 17, 2019 · 1 min read · TCP-DUMP TCP  ·
    Share on: twitter facebook linkedin copy

    HTTP GET or POST commands on port 5000 1tcpdump -i eth0 -s 0 -A 'tcp dst port 5000 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504F5354'


    Read More
  • Exchange Autodiscover with HTTP redirect method

    calendar Jul 17, 2019 · 1 min read · HTTP AUTODISCOVER CAS SERVER-2012 SMTP  ·
    Share on: twitter facebook linkedin copy

    Server 2012 R2 Create a new Website on the CAS "autodiscover-redirect" create a virtual directory called "autodiscover" Click the virtual directory then open "Http Redirect enter the url of the exchange server e.g. "https://contoso.com/autodiscover/autodiscover.xml" (Must be HTTPS) …


    Read More
  • Useful gnocchi commmands

    calendar Jul 16, 2019 · 1 min read · GNOCCHI openstack  ·
    Share on: twitter facebook linkedin copy

    1resource update -a customerID:"customer1" 729389e687504dbf8b2c4aead14a607c --type my_consumable_resource 2 3resource show 4f42c5e60813488ea166206c5bfc10cd --type my_consumable_resource


    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
  • Configure MikroTik VPN using Radius and NPS on Windows AD

    calendar Jul 9, 2019 · 1 min read · MIKROTIK VPN RADIUS NPS WINDOWS-AD  ·
    Share on: twitter facebook linkedin copy

    Configure NPS on a Domain controller: (Based on Windows Server 2019) Install NPS Role open NPS admin console Select "RADIUS server for Dial-Up or VPN Connections" and click "Configure VPN or Dial-Up Select "VPN Connections" and click Next Click "Add" and fill in details as required …


    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
  • Openstack Rocky - Keystone - Requesting a token scoped as a different project

    calendar May 29, 2019 · 1 min read · OPENSTACK keystone  ·
    Share on: twitter facebook linkedin copy

    Because yet again I found the documentation to be wrong on the Openstack site, here is what I have FINALLY managed to determine is the correct request to get a token issued to an admin user an another project. In my case i need this to create volume backups because the backup API does not allow you to project a project …


    Read More
    • ««
    • «
    • 5
    • 6
    • 7
    • 8
    • 9
    • »
    • »»

Cory Hawkvelt photo

Cory Hawkvelt

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

Recent Posts

  • Deploying pam_ussh: A Comprehensive Guide
  • Unpacking the NVIDIA H100 Tensor Core GPU: A Deep Dive for CTOs
  • Caddy proxy for OpenStack API's
  • HP Server ACPI errors
  • vxlan: non-ECT from 10.254.8.23 with TOS=0x2
  • Install Ceph by hand Ubuntu 22.04
  • Gnocchi Convert Temperature F to C
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

Tags

LINUX 32 CEPH 24 BASH 22 OPENSTACK 13 NETWORKING 10 DOCKER 8 CONFIG 6 HP 5 HPACUCLI 5 OPENSTACK-QUEENS 5 QEMU 5 SSH 5 TROUBLESHOOTING 5 CENTOS7 4
All Tags
ACTIVE-BACKUP1 ADB1 AI1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH22 BIND1 BLUETOOTH1 CACHE1 CADDY1 CAS1 CENTOS74 CEPH24 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER8 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 FTOS1 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 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 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 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SECURITY1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH5 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 WIRESHARK1 YOUTUBE-DL2
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top