Skip to content

Instantly share code, notes, and snippets.

View gk1's full-sized avatar

Greg Kennedy gk1

View GitHub Profile
Windows Registry Editor Version 5.00
; Bind VirtIO Block PCI device to viostor at boot (both ControlSets)
[HKEY_LOCAL_MACHINE\TEMP\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1af4&dev_1001]
"Service"="viostor"
"ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"
[HKEY_LOCAL_MACHINE\TEMP\ControlSet003\Control\CriticalDeviceDatabase\pci#ven_1af4&dev_1001]
"Service"="viostor"
@gk1
gk1 / couchclone.sh
Created September 3, 2024 15:55 — forked from ruhnet/couchclone.sh
Create (if necessary) and replicate all databases from a couchdb server to another one
#!/bin/sh
#
# Janos Kasza (@janoskk)
# Modified by Ruel Tmeizeh @ruhnet
#
# Creates (if necessary) and replicates all databases from a couchdb server to another one
#
if [ -z "$2" ]; then
cat <<EOF
@gk1
gk1 / sup-commands.md
Created September 3, 2024 15:55 — forked from ruhnet/sup-commands.md
All Kazoo 4.2.x sup-commands
@gk1
gk1 / 2600Hz_Kazoo.md
Created August 23, 2024 01:04 — forked from ruhnet/2600Hz_Kazoo.md
2600Hz Kazoo 4.3 Notes

RuhNet: 2600Hz Kazoo Notes

Cluster Topology Possibilities

Any service can be separated and run on its own server. Commonly used config:

  • Kazoo Servers: HAProxy, RabbitMQ, Kamailio SIP Proxy, Kazoo eCall Manager, Kazoo Applications, (Monster UI)
  • Freeswitch Servers: HAProxy, Freeswitch
  • Bigcouch Database Servers: Bigcouch or CouchDB (I use CouchDB v3.0)
@gk1
gk1 / KazooCentos7DigitalOcean.md
Created August 23, 2024 01:04 — forked from ruhnet/KazooCentos7DigitalOcean.md
Kazoo Centos 7 Cluster on Digital Ocean

Kazoo Cluster on CentOS 7 ON DIGITALOCEAN

This file provided by "fink" in #2600hz on Freenode

Prerequisites

Set Hostname

Ensure the hostname is set appropriately. Modify as required and reboot, if needed.

Environment Variables

allow-transfer {
# allow ALL of the following addresses! Miss some and transfer will fail.
108.61.224.67; 116.203.6.3; 107.191.99.111; 185.22.172.112; 103.6.87.125; 192.184.93.99; 119.252.20.56; 31.220.30.73; 185.34.136.178; 185.136.176.247; 45.77.29.133; 116.203.0.64; 167.88.161.228; 199.195.249.208; 104.244.78.122; 2001:19f0:6400:8642::3; 2a01:4f8:1c0c:8115::3; 2604:180:2:4cf::3; 2a00:1838:20:2::cd5e:68e9; 2403:2500:4000::f3e; 2604:180:1:92a::3; 2401:1400:1:1201::1:7853:1a5; 2a04:bdc7:100:1b::3; 2a00:dcc7:d3ff:88b2::1; 2a06:fdc0:fade:2f7::1; 2001:19f0:7001:381::3; 2a01:4f8:1c0c:8122::3; 2605:6400:20:d5e::3; 2605:6400:10:65::3; 2605:6400:30:fd6e::3;
};
@gk1
gk1 / delete.sh
Created March 12, 2020 00:28 — forked from RLovelett/delete.sh
Delete ZFS snapshots from dataset one-liner
zfs list -r -H -t snapshot -o name stream/lxc/stash | xargs -n1 zfs destroy
[zone]
name = "sfo"
amqp_uri = "amqp://guest:guest@x.x.x.x:5672"
[zone]
name = "nyc"
amqp_uri = "amqp://guest:guest@x.x.x.x:5672"
[bigcouch]
compact_automatically = true
@gk1
gk1 / README.md
Created December 7, 2017 19:23 — forked from hofmannsven/README.md
My simply Git Cheatsheet
{
"_id": "73167015a1d9577bdb426d930e16f8e0",
"_rev": "4-190fc2973b594f00eb12d2ef36a47937",
"flow": {
"data": {
"id": "e4712420a755b364be79d5351ca29cdf"
},
"module": "play",
"children": {
"_": {