Set up debian based maas ha env on xenial by hand (by quqi99)

Posted quqi99

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Set up debian based maas ha env on xenial by hand (by quqi99)相关的知识,希望对你有一定的参考价值。

准备三个节点

本文将在xenial (ubuntu 16.04)使用debian包手工创建maas ha环境,先快速准备三个节点:

juju deploy ubuntu maas1 --series=xenial --config hostname=maas1 --constraints "mem=8G cores=4 root-disk=32G"
juju deploy ubuntu maas2 --series=xenial --config hostname=maas2 --constraints "mem=8G cores=4 root-disk=32G"
juju deploy ubuntu maas3 --series=xenial --config hostname=maas3 --constraints "mem=8G cores=4 root-disk=32G"

declare -A IPS=(
    [maas1]="10.5.3.0"
    [maas2]="10.5.0.62"
    [maas3]="10.5.4.25"
    [maas_vip]="10.5.0.122"
    [db_vip]="10.5.0.123"
)

三个节点上准备corosync与pacemaker

sudo apt install postgresql corosync pacemaker -y
cat <<EOF |sudo tee /etc/corosync/corosync.conf
totem 
  version: 2
  token: 3000
  token_retransmits

以上是关于Set up debian based maas ha env on xenial by hand (by quqi99)的主要内容,如果未能解决你的问题,请参考以下文章

Set up debian based maas ha env on xenial by hand (by quqi99)

set up ovn based sr-iov test env (by quqi99)

set up ovn based sr-iov test env (by quqi99)

架构How To Use HAProxy to Set Up MySQL Load Balancing

C++中set与multiset的区别。

ERROR: Failed to set up Chromium r901912! Set “PUPPETEER_SKIP_DOWNLOAD“ env variable to skip downloa