Skip to content

Instantly share code, notes, and snippets.

View congto's full-sized avatar
🥁
Focusing

Tô Thành Công congto

🥁
Focusing
View GitHub Profile
@congto
congto / haproxy_corosync_pacemaker_ubuntu.md
Created March 11, 2017 11:26 — forked from Ham5ter/haproxy_corosync_pacemaker_ubuntu.md
Set up HAProxy with Pacemaker/Corosync on Ubuntu 16.04

Set up HAProxy with Pacemaker/Corosync on Ubuntu 16.04

This Document roughly describes a HAProxy Cluster Setup on Ubuntu 16.04 based on an example Configuration with 3 Nodes

This Document is still work in Progress the Following Stuff still needs to be done:

  • Explain the crm configure steps
  • explain Miscellaneous CRM Commands for Cluster Management
  • Add all the external ressources used.
  • Add a simple HAProxy Configuration for testing purpouse
@congto
congto / cobbler_install-ubuntu_14.04.sh
Last active October 11, 2016 09:58 — forked from luisbolson/cobbler_install-ubuntu_14.04.sh
Shell Script to install Cobbler 2.6 on Ubuntu Server 14.04
#!/bin/bash
#
# Script to deploy a wrking cobbler installation in Ubuntu Server 14.10
# Author: Luis Henrique Bolson <[email protected]>
#
# Based on http://springerpe.github.io/tech/2014/09/09/Installing-Cobbler-2.6.5-on-Ubuntu-14.04-LTS.html
#
# Please run as root (don't use sudo <script>)
#
# curl -s https://raw.githubusercontent.com/luisbolson/cobbler/master/cobbler_install-ubuntu_14.04.sh | bash -s 192.168.56.101
@congto
congto / infra01_vlan_interfaces
Created September 28, 2016 15:12 — forked from shane-c/infra01_vlan_interfaces
infra01_vlan_interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# Physical interface 1
auto em1
iface em1 inet manual
bond-master bond0
bond-primary em1
@congto
congto / compute01_vlan_interfaces
Created September 28, 2016 15:12 — forked from shane-c/compute01_vlan_interfaces
compute01_vlan_interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# Physical interface 1
auto em1
iface em1 inet manual
bond-master bond0
bond-primary em1
@congto
congto / template-interfaces
Created September 28, 2016 15:11 — forked from shane-c/template-interfaces
template /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto em1
iface em1 inet static
@congto
congto / cobbler_install-ubuntu_14.04.sh
Created September 1, 2016 08:41 — forked from michaelrice/cobbler_install-ubuntu_14.04.sh
Shell Script to install Cobbler 2.6 on Ubuntu Server 14.04
#!/bin/bash
#
# Script to deploy a wrking cobbler installation in Ubuntu Server 14.10
# Author: Luis Henrique Bolson <[email protected]>
#
# Based on http://springerpe.github.io/tech/2014/09/09/Installing-Cobbler-2.6.5-on-Ubuntu-14.04-LTS.html
#
# Please run as root (don't use sudo <script>)
#
# curl -s https://raw.githubusercontent.com/luisbolson/cobbler/master/cobbler_install-ubuntu_14.04.sh | bash -s 192.168.56.101
@congto
congto / local.conf
Created August 8, 2016 04:58 — forked from celebdor/local.conf
devstack local.conf for Kuryr and MidoNet v5 (monolithic plugin)
[[local|localrc]]
OFFLINE=No
RECLONE=No
ENABLED_SERVICES=""
enable_plugin kuryr https://github.com/openstack/kuryr.git
enable_service kuryr
enable_service etcd-server
enable_service docker-engine
@congto
congto / local.conf
Created July 25, 2016 04:45 — forked from amotoki/local.conf
local.conf (minimum) for master branch
[[local|localrc]]
#OFFLINE=True
RECLONE=True
#disable_service mysql
#enable_service postgresql
#disable_service cinder c-sch c-api c-vol
#disable_service tempest
#disable_service horizon
@congto
congto / local.conf
Created June 16, 2016 05:02 — forked from amotoki/local.conf
local.conf (Mitaka) - Almost all services are enabled with Neutron
[[local|localrc]]
#OFFLINE=True
RECLONE=True
HORIZON_BRANCH=stable/mitaka
KEYSTONE_BRANCH=stable/mitaka
NOVA_BRANCH=stable/mitaka
NEUTRON_BRANCH=stable/mitaka
GLANCE_BRANCH=stable/mitaka
CINDER_BRANCH=stable/mitaka
@congto
congto / websso_federation_setup.sh
Last active January 4, 2022 19:06
setup websso environment in one shot, works with google
#!/bin/bash
fqdn=devstackctl
user=uvdc
# Install the OpenID Connect apache module
# not necessary, but will resolve any config errors when installing the module
sudo apt-get install libjansson4 libhiredis0.10 libcurl3 -y
sudo apt-get install -f -y
# TODO: figure out why v1.8.4 and 1.8.5 won't install