Browse code

docs: Add IPs to provider net node configurations

Also remove variable definitions from compute node localrc that is only
applicable on the control node.

Change-Id: I37b00611ff08d8973f21af7db340d287b1deb4af

Sean M. Collins authored on 2015/10/10 01:54:32
Showing 1 changed files
... ...
@@ -236,8 +236,21 @@ controller node.
236 236
 
237 237
 ::
238 238
 
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
239 246
         PUBLIC_INTERFACE=eth1
240 247
 
248
+        ADMIN_PASSWORD=secrete
249
+        MYSQL_PASSWORD=secrete
250
+        RABBIT_PASSWORD=secrete
251
+        SERVICE_PASSWORD=secrete
252
+        SERVICE_TOKEN=secrete
253
+
241 254
         ## Neutron options
242 255
         Q_USE_SECGROUP=True
243 256
         ENABLE_TENANT_VLANS=True
... ...
@@ -269,24 +282,37 @@ would be a public IP address range that you or your organization has
269 269
 allocated to you, so that you could access your instances from the
270 270
 public internet.
271 271
 
272
-The following is a snippet of the DevStack configuration on the
273
-compute node.
272
+The following is the DevStack configuration on 
273
+compute node 1.
274 274
 
275 275
 ::
276 276
 
277
+        HOST_IP=10.0.0.3
278
+        SERVICE_HOST=10.0.0.2
279
+        MYSQL_HOST=10.0.0.2
280
+        SERVICE_HOST=10.0.0.2
281
+        MYSQL_HOST=10.0.0.2
282
+        RABBIT_HOST=10.0.0.2
283
+        GLANCE_HOSTPORT=10.0.0.2:9292
284
+        ADMIN_PASSWORD=secrete
285
+        MYSQL_PASSWORD=secrete
286
+        RABBIT_PASSWORD=secrete
287
+        SERVICE_PASSWORD=secrete
288
+        SERVICE_TOKEN=secrete
289
+
277 290
         # Services that a compute node runs
278 291
         ENABLED_SERVICES=n-cpu,rabbit,q-agt
279 292
 
280 293
         ## Neutron options
281
-        Q_USE_SECGROUP=True
282
-        ENABLE_TENANT_VLANS=True
283
-        TENANT_VLAN_RANGE=3001:4000
284 294
         PHYSICAL_NETWORK=default
285 295
         OVS_PHYSICAL_BRIDGE=br-ex
286 296
         PUBLIC_INTERFACE=eth1
287 297
         Q_USE_PROVIDER_NETWORKING=True
288 298
         Q_L3_ENABLED=False
289 299
 
300
+Compute node 2's configuration will be exactly the same, except
301
+`HOST_IP` will be `10.0.0.4`
302
+
290 303
 When DevStack is configured to use provider networking (via
291 304
 `Q_USE_PROVIDER_NETWORKING` is True and `Q_L3_ENABLED` is False) -
292 305
 DevStack will automatically add the network interface defined in