-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRC1RH8
40 lines (35 loc) · 1.31 KB
/
RC1RH8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ENV_name="RC1RH8"
# Location on a Redis node where you'll put content of the SHARED folder.
SHARED_mount_point="/root/SHARED"
# Put IP of your DNS server here
nameserver="192.168.69.2"
# Update with desired redis cluster parameters.
redis_cluster_fqdn="rc1.example.com"
redis_cluster_admin="[email protected]"
redis_cluster_password="redis"
# hostname prefix for your redis nodes
hostname_prefix="rc1-rh8-node"
# IP address prefix. If set to "192.168.69.10", nodes will be "192.168.69.101, 192.168.69.102, ..."
ip_prefix="192.168.69.10"
# Keep first_node_ip, replace/add records for the rest of nodes in a cluster.
#NODES = [
# { :hostname => hostname_prefix+"1", :ip => first_node_ip },
# { :hostname => hostname_prefix+"2", :ip => "192.168.69.102" },
# { :hostname => hostname_prefix+"3", :ip => "192.168.69.103" },
#]
node_count=3
for i in $(seq 1 $node_count); do
node_names+=("${hostname_prefix}${i}")
node_ips+=("${ip_prefix}${i}")
done
## Override nodes definition:
#node_ips=("192.168.69.101" "192.168.69.102" "192.168.69.103")
#node_names=("rc1-rh8-node1" "rc1-rh8-node2" "rc1-rh8-node3")
# Vagrant section
# Vagrant network type https://developer.hashicorp.com/vagrant/docs/networking
network_type="public_network"
#network_type="private_network"
# VM RAm/CPU
ram_size=6144
cpu_count=4
# vagrant section end.