Skip to content

Instantly share code, notes, and snippets.

View jdelaporte's full-sized avatar

Joanna Delaporte jdelaporte

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@jdelaporte
jdelaporte / ping_sweep.yml
Created February 23, 2022 16:10
ICMP Ping sweep with Ansible
---
##################
# changed_when is used here to highlight the ips
# that return greater than X percent packet_loss
# where the X is passed from the GUI
##################
- set_fact:
ping_fail_threshold: '{{ ui_ping_fail_threshold | default(33,True) }}'
ping_count: '{{ ui_ping_packet_count | default(3, True) }}' # ping packets/ attempts per ping ip
ping_start: '{{ ui_ping_start | default(0, True) }}'
  • What do Etcd, Consul, and Zookeeper do?
    • Service Registration:
      • Host, port number, and sometimes authentication credentials, protocols, versions numbers, and/or environment details.
    • Service Discovery:
      • Ability for client application to query the central registry to learn of service location.
    • Consistent and durable general-purpose K/V store across distributed system.
      • Some solutions support this better than others.
      • Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state.
  • Centralized locking can be based on this K/V store.
@jdelaporte
jdelaporte / keybase.md
Created February 4, 2020 01:22
Keybase

Keybase proof

I hereby claim:

  • I am jdelaporte on github.
  • I am jdelaporte (https://keybase.io/jdelaporte) on keybase.
  • I have a public key ASA_6iG3OcOIcj6N8dMFRHtDiIGRdCSmCivZEQMc5rRosQo

To claim this, I am signing this object: