CLOUDFOUNDRY NOTES

Da Helpedia.

Install many DEAs

bash vcap_dev_setup -D autoscale.elasticpulse.com -c /home/nubex/dea.yml


Then, log in to the machine that will be your cloud controller.

vcap/cloud_controller/config/cloud_controller.yml

Change the local_route line to be the external IP address of that host (its set to 127.0.0.1 by default) You can then restart all services on that instance. (bin/vcap restart)

Next, log into your dea hosts.

Open 'dea/config/dea.yml'

Change the local_route and nats lines to point to the cloud controller's ip Then start only the deas. 'bin/vcap start dea'

/home/nubex/cloudfoundry/vcap/dev_setup/bin/vcap_dev -n dea start

When you push an app, have it instantiate multiple instances, and they will balance across the deas you have configured. When debugging deployed apps 'vmc crashlogs <app>' is your friend.

Strumenti personali
Namespace
Varianti
Azioni
Navigazione
Strumenti