File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,8 +236,21 @@ controller node.
236236
237237::
238238
239+ HOST_IP=10.0.0.2
240+ SERVICE_HOST=10.0.0.2
241+ MYSQL_HOST=10.0.0.2
242+ SERVICE_HOST=10.0.0.2
243+ MYSQL_HOST=10.0.0.2
244+ RABBIT_HOST=10.0.0.2
245+ GLANCE_HOSTPORT=10.0.0.2:9292
239246 PUBLIC_INTERFACE=eth1
240247
248+ ADMIN_PASSWORD=secrete
249+ MYSQL_PASSWORD=secrete
250+ RABBIT_PASSWORD=secrete
251+ SERVICE_PASSWORD=secrete
252+ SERVICE_TOKEN=secrete
253+
241254 ## Neutron options
242255 Q_USE_SECGROUP=True
243256 ENABLE_TENANT_VLANS=True
@@ -269,24 +282,37 @@ would be a public IP address range that you or your organization has
269282allocated to you, so that you could access your instances from the
270283public internet.
271284
272- The following is a snippet of the DevStack configuration on the
273- compute node.
285+ The following is the DevStack configuration on
286+ compute node 1 .
274287
275288::
276289
290+ HOST_IP=10.0.0.3
291+ SERVICE_HOST=10.0.0.2
292+ MYSQL_HOST=10.0.0.2
293+ SERVICE_HOST=10.0.0.2
294+ MYSQL_HOST=10.0.0.2
295+ RABBIT_HOST=10.0.0.2
296+ GLANCE_HOSTPORT=10.0.0.2:9292
297+ ADMIN_PASSWORD=secrete
298+ MYSQL_PASSWORD=secrete
299+ RABBIT_PASSWORD=secrete
300+ SERVICE_PASSWORD=secrete
301+ SERVICE_TOKEN=secrete
302+
277303 # Services that a compute node runs
278304 ENABLED_SERVICES=n-cpu,rabbit,q-agt
279305
280306 ## Neutron options
281- Q_USE_SECGROUP=True
282- ENABLE_TENANT_VLANS=True
283- TENANT_VLAN_RANGE=3001:4000
284307 PHYSICAL_NETWORK=default
285308 OVS_PHYSICAL_BRIDGE=br-ex
286309 PUBLIC_INTERFACE=eth1
287310 Q_USE_PROVIDER_NETWORKING=True
288311 Q_L3_ENABLED=False
289312
313+ Compute node 2's configuration will be exactly the same, except
314+ `HOST_IP ` will be `10.0.0.4 `
315+
290316When DevStack is configured to use provider networking (via
291317`Q_USE_PROVIDER_NETWORKING ` is True and `Q_L3_ENABLED ` is False) -
292318DevStack will automatically add the network interface defined in
You can’t perform that action at this time.
0 commit comments