-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts_multihost
134 lines (117 loc) · 4.26 KB
/
hosts_multihost
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Hosts
# ip is from 10.224.251.240 - 10.224.251.251
# 10.224.251.251 is mysql vip
controller1 ansible_ssh_host=10.224.251.241 ansible_connection=ssh ansible_ssh_user=root
controller2 ansible_ssh_host=10.224.251.242 ansible_connection=ssh ansible_ssh_user=root
controller3 ansible_ssh_host=10.224.251.243 ansible_connection=ssh ansible_ssh_user=root
compute1 ansible_ssh_host=10.224.251.244 ansible_connection=ssh ansible_ssh_user=root
compute2 ansible_ssh_host=10.224.251.245 ansible_connection=ssh ansible_ssh_user=root
compute3 ansible_ssh_host=10.224.251.246 ansible_connection=ssh ansible_ssh_user=root
#swift1 ansible_ssh_host=10.224.251.247 ansible_connection=ssh ansible_ssh_user=root
#swift2 ansible_ssh_host=10.224.251.248 ansible_connection=ssh ansible_ssh_user=root
#swift3 ansible_ssh_host=10.224.251.249 ansible_connection=ssh ansible_ssh_user=root
haproxy ansible_ssh_host=10.224.251.250 ansible_connection=ssh ansible_ssh_user=root
[all:vars]
####################
# Common
####################
# Domain Name
domainname = qa.webex.com
# DNS Name
dnsname1 = 10.224.30.4
dnsname2 = 8.8.8.8
# NTP
ntp_server = 10.224.251.1
####################
# MySQL
####################
db_root_password = 123work
mysql_vip = 10.224.251.250
mysql_vip_port = 3306
management_network = 10.224.251.%
############
# RabbitMQ #
############
rabbitmq_vip = 10.224.251.250
rabbitmq_vip_port = 5672
rabbit_ha_queues = True
rabbitmq_user = rabbituser
rabbitmq_password = rabbitpassword
############
# Keystone #
############
keystone_mysql_password = keystonepassword
keystone_admin_token = admin_token
keystone_admin_password = admin
keystone_admin_email = limao@cisco.com
keystone_admin_url_vip = 10.224.251.250
keystone_admin_url_port = 35357
keystone_admin_url_protocol = http
keystone_service_url_vip = 10.224.251.250
keystone_service_url_port = 5000
keystone_service_url_protocol = http
############
# Glance #
############
glance_mysql_password = glancepassword
glance_admin_password = glance_service_password
glance_admin_email = limao@cisco.com
glance_service_url_vip = 10.224.251.250
glance_service_url_port = 9292
glance_service_url_protocol = http
glance_registry_url_vip = 10.224.251.250
glance_registry_url_port = 9191
glance_registry_url_protocol = http
############
# Nova #
############
nova_mysql_password = novapassword
nova_admin_password = nova_service_password
nova_admin_email = limao@cisco.com
nova_service_url_vip = 10.224.251.250
nova_service_url_port = 8774
nova_service_url_protocol = http
nova_vnc_vip = 10.224.251.250
nova_vnc_port = 6080
nova_vnc_protocol = http
nova_metadata_ip = 10.224.251.250
nova_metadata_port = 8775
# Modify this to kvm in phy
virt_type = qemu
############
# Neutron #
############
neutron_mysql_password = neutronpassword
neutron_admin_password = neutron_service_password
neutron_admin_email = limao@cisco.com
neutron_service_url_vip = 10.224.251.250
neutron_service_url_port = 9696
neutron_service_url_protocol = http
type_drivers = vlan
tenant_network_types = vlan
network_vlan_ranges = physnet1:237:247
mechanism_drivers = openvswitch
enable_security_group = True
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
l2_population = False
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
use_namespaces = True
metadata_proxy_shared_secret = sharedkey
############
# Horizon #
############
horizon_vip = 10.224.251.250
horizon_vport = 80
ALLOWED_HOSTS = ['10.224.251.250']
[controller]
controller1
controller2
controller3
[network]
controller1
controller2
controller3
[compute]
compute1
compute2
compute3