switched from preconfigured replication topology to simple multinode install

This commit is contained in:
Ben Mildren 2020-07-10 16:03:04 +01:00
parent b541784bb3
commit a96200809b
2 changed files with 4 additions and 4 deletions

View file

@ -12,4 +12,4 @@
- name: "{{ role_name }} | config | setup replication topology"
shell:
cmd: "dbdeployer deploy multiple {{ install_version }} --base-port {{ mysql_base_port }}"
creates: "{{ dbdeployer_sandbox_home_dir }}/rsandbox_{{ install_version|replace('.','_') }}"
creates: "{{ dbdeployer_sandbox_home_dir }}/multi_msb_{{ install_version|replace('.','_') }}"

View file

@ -1,14 +1,14 @@
---
- name: "{{ role_name }} | verify | confirm primary is running and get the port"
shell: "{{ dbdeployer_sandbox_home_dir }}/rsandbox_{{ install_version|replace('.','_') }}/m -BNe'select @@port'"
shell: "{{ dbdeployer_sandbox_home_dir }}/multi_msb_{{ install_version|replace('.','_') }}/m -BNe'select @@port'"
register: primary_port
- name: "{{ role_name }} | verify | confirm replica1 is running and get the port"
shell: "{{ dbdeployer_sandbox_home_dir }}/rsandbox_{{ install_version|replace('.','_') }}/s1 -BNe'select @@port'"
shell: "{{ dbdeployer_sandbox_home_dir }}/multi_msb_{{ install_version|replace('.','_') }}/s1 -BNe'select @@port'"
register: replica1_port
- name: "{{ role_name }} | verify | confirm replica2 is running and get the port"
shell: "{{ dbdeployer_sandbox_home_dir }}/rsandbox_{{ install_version|replace('.','_') }}/s2 -BNe'select @@port'"
shell: "{{ dbdeployer_sandbox_home_dir }}/multi_msb_{{ install_version|replace('.','_') }}/s2 -BNe'select @@port'"
register: replica2_port
- name: "{{ role_name }} | verify | confirm primary is running on expected port"