-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from picodata/166-fix_role_naming
Fix incorrect role names when using tabs and spaces in the genin file
- Loading branch information
Showing
29 changed files
with
1,845 additions
and
1,319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
# List of replicasets as an array | ||
topology: | ||
- name: router | ||
# How many masters we want, by default equal 1 | ||
replicasets_count: 1 | ||
# Array of roles for this instance | ||
roles: | ||
- router | ||
- failover-coordinator | ||
- name: storage | ||
# How many masters we want, by default equal 1 | ||
replicasets_count: 2 | ||
# Number of replicas in replicaset, default 0 | ||
replication_factor: 2 | ||
# Array of roles for this instance | ||
roles: | ||
- storage | ||
# List of regions, datacenters, and servers | ||
hosts: | ||
- name: datacenter-1 | ||
# Config with arbitrary key-values pairs | ||
config: | ||
# Specify http port to start counting from | ||
http_port: 8081 | ||
# Specify binary port to start counting from | ||
binary_port: 3031 | ||
# List of regions, datacenters, and servers | ||
hosts: | ||
- name: server-1 | ||
# Config with arbitrary key-values pairs | ||
config: | ||
# Specify http port to start counting from | ||
http_port: 8081 | ||
# Specify binary port to start counting from | ||
binary_port: 3031 | ||
# Host or instance address (maybe IP or URI) | ||
address: 192.168.16.11 | ||
- name: server-2 | ||
# Config with arbitrary key-values pairs | ||
config: | ||
# Specify http port to start counting from | ||
http_port: 8081 | ||
# Specify binary port to start counting from | ||
binary_port: 3031 | ||
# Host or instance address (maybe IP or URI) | ||
address: 192.168.16.12 | ||
# Failover management options | ||
failover: | ||
# Failover mode (stateful, eventual, disabled) | ||
mode: stateful | ||
# What is serve failover (stateboard, stateful) | ||
state_provider: stateboard | ||
# Params for chosen in state_provider failover type | ||
stateboard_params: | ||
# Uri on which the stateboard will be available | ||
uri: "192.168.16.11:4401" | ||
# Stateboard password | ||
password: password | ||
# Vars similar to those configured in the cartridge inventory | ||
vars: | ||
# Username under which the ansible will connect to the servers | ||
ansible_user: ansible | ||
# Ansible user password | ||
ansible_password: ansible | ||
# Application name | ||
cartridge_app_name: myapp | ||
# Cookie for connecting to the administrative console of the instances | ||
cartridge_cluster_cookie: myapp-cookie | ||
# Path to the application package | ||
cartridge_package_path: /tmp/myapp.rpm | ||
# Indicates if vshard must be bootstrapped on the cluster | ||
cartridge_bootstrap_vshard: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.