Re: Questions about Scaling Cloud Foundry document


Sam Dai
 

I have another question, in diego.xml, I saw cell has two jobs "cell_z1" and "cell_z2", what is the difference between them? in which scenario I need use cell_z2?

- instances: 1
name: cell_z1
networks:
- name: diego1
properties:
diego:
rep:
zone: z1
metron_agent:
zone: z1
resource_pool: cell_z1
- instances: 0
name: cell_z2
networks:
- name: diego2
properties:
diego:
rep:
zone: z2
metron_agent:
zone: z2
resource_pool: cell_z2


The CF version is V227, Diego version is v.0.1445.0. the following is the result of command "bosh vms"
------------------------------------+---------+---------------+--------------+
| Job/index | State | Resource Pool | IPs |
+------------------------------------+---------+---------------+--------------+
| api_z1/0 | running | large_z1 | 10.244.0.138 |
| consul_z1/0 | running | small_z1 | 10.244.0.54 |
| doppler_z1/0 | running | medium_z1 | 10.244.0.146 |
| etcd_z1/0 | running | medium_z1 | 10.244.0.42 |
| ha_proxy_z1/0 | running | router_z1 | 10.244.0.34 |
| hm9000_z1/0 | running | medium_z1 | 10.244.0.142 |
| loggregator_trafficcontroller_z1/0 | running | small_z1 | 10.244.0.150 |
| nats_z1/0 | running | medium_z1 | 10.244.0.6 |
| postgres_z1/0 | running | medium_z1 | 10.244.0.30 |
| router_z1/0 | running | router_z1 | 10.244.0.22 |
| runner_z1/0 | running | runner_z1 | 10.244.0.26 |
| uaa_z1/0 | running | medium_z1 | 10.244.0.130 |
+------------------------------------+---------+---------------+--------------+

VMs total: 13
Deployment `cf-warden-diego'

Director task 39

Task 39 done

+--------------------+---------+------------------+---------------+
| Job/index | State | Resource Pool | IPs |
+--------------------+---------+------------------+---------------+
| access_z1/0 | running | access_z1 | 10.244.16.6 |
| brain_z1/0 | running | brain_z1 | 10.244.16.134 |
| cc_bridge_z1/0 | running | cc_bridge_z1 | 10.244.16.150 |
| cell_z1/0 | running | cell_z1 | 10.244.16.142 |
| database_z1/0 | running | database_z1 | 10.244.16.130 |
| route_emitter_z1/0 | running | route_emitter_z1 | 10.244.16.154

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.