Skip to content

Instantly share code, notes, and snippets.

@paulhamby
paulhamby / gist:8919259
Created February 10, 2014 16:33
CRM status
Before powering down node:
root@node-113:~# crm status
Last updated: Mon Feb 10 15:51:41 2014
Last change: Sat Feb 8 04:02:42 2014 via cibadmin on node-115
Stack: openais
Current DC: node-113 - partition with quorum
Version: 1.1.8-f722cf1
3 Nodes configured, 3 expected votes
@paulhamby
paulhamby / gist:6673233
Created September 23, 2013 16:34
Log entries and tcpflow output
Tcpflow output:
root@netmgr11:/home/paulh# tcpflow host 10.6.120.38 -c
tcpflow[2412]: listening on venet0
010.005.050.064.53417-010.006.120.038.05000: POST /v2.0/tokens HTTP/1.1
Host: 10.6.120.38:5000
User-Agent: Go 1.1 package http
Content-Length: 102
Accept: application/json
Content-Type: application/json