Skip to content

Instantly share code, notes, and snippets.

View lfurrea's full-sized avatar

Luis Urrea lfurrea

  • Simple Communication Services
  • USA
View GitHub Profile
@lfurrea
lfurrea / corosync.conf
Created October 4, 2012 23:39
Corosync config file (secondary node)
# Please read the openais.conf.5 manual page
totem {
version: 2
# How long before declaring a token lost (ms)
token: 3000
# How many token retransmits before forming a new configuration
token_retransmits_before_loss_const: 10
@lfurrea
lfurrea / corosync.conf
Created October 4, 2012 23:36
Corosync config file
# Please read the openais.conf.5 manual page
totem {
version: 2
# How long before declaring a token lost (ms)
token: 3000
# How many token retransmits before forming a new configuration
token_retransmits_before_loss_const: 10
@lfurrea
lfurrea / crm_mon
Created September 28, 2012 17:57
Monitoring Cluster Resources: crm_mon output
============
Last updated: Thu Oct 4 20:38:16 2012
Stack: openais
Current DC: ubuntu-v20z - partition with quorum
Version: 1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd
2 Nodes configured, 2 expected votes
1 Resources configured.
============
Online: [ ubuntu-v20z freeswitch-dev ]
@lfurrea
lfurrea / crm_mon
Created September 28, 2012 14:38
Monitor Cluster Resources
============
Last updated: Fri Sep 28 10:59:28 2012
Stack: Heartbeat
Current DC: freeswitch-dev (a2a664c3-94b4-4b06-b664-c2aeebb23bba) - partition with quorum
Version: 1.0.9-74392a28b7f31d7ddc86689598bd23114f58978b
2 Nodes configured, 1 expected votes
1 Resources configured.
============
Online: [ freeswitch-dev ubuntu-v20z ]
@lfurrea
lfurrea / FSSofia
Created September 27, 2012 18:43
Pacemaker LSB resource
#!/bin/sh
#
# Description: Starting / stopping FreeSWITCH Sofia SIP profiles
# and send a 'sofia recover' after all profiles are started
#
# Author: Leon de Rooij <leon@scarlet-internet.nl>
# License: BSD
# Copyright: (C) 2010 Leon de Rooij
FS_CLI_PROG='/usr/local/freeswitch/bin/fs_cli'