forked from cloudfoundry/docs-bosh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploying.html.md.erb
57 lines (41 loc) · 2.39 KB
/
deploying.html.md.erb
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
---
title: Deploy
---
Once referenced stemcells and releases are uploaded to the Director and the deployment manifest is complete, Director can successfull make a deployment. The CLI has a single command to create and update a deployment: [`bosh deploy` command](cli-v2.html#deploy). From the perspective of the Director same steps are taken to create or update a deployment.
To create a Zookeeper deployment from `zookeeper.yml` deployment manifest run the deploy command:
<pre class="terminal">
$ bosh -e vbox -d zookeeper deploy zookeeper.yml
Using environment '192.168.56.6' as '?'
Task 1133
08:41:15 | Preparing deployment: Preparing deployment (00:00:00)
08:41:15 | Preparing package compilation: Finding packages to compile (00:00:00)
08:41:15 | Creating missing vms: zookeeper/6b7a51c4-1aeb-4cea-a2da-fdac3044bdee (1) (00:00:10)
08:41:25 | Updating instance zookeeper: zookeeper/3f9980b4-d02f-4754-bb53-0d1458e447ac (0) (canary) (00:00:27)
08:41:52 | Updating instance zookeeper: zookeeper/b8b577e7-d745-4d06-b2b7-c7cdeb46c78f (4) (canary) (00:00:25)
08:42:17 | Updating instance zookeeper: zookeeper/5a901538-be10-4d53-a3e9-3e23d3e3a07a (3) (00:00:25)
08:42:42 | Updating instance zookeeper: zookeeper/c5a3f7e6-4311-43ac-8500-a2337ca3e8a7 (2) (00:00:26)
08:43:08 | Updating instance zookeeper: zookeeper/6b7a51c4-1aeb-4cea-a2da-fdac3044bdee (1) (00:00:39)
Started Mon Jul 24 08:41:15 UTC 2017
Finished Mon Jul 24 08:43:47 UTC 2017
Duration 00:02:32
Task 1133 done
Succeeded
</pre>
After the deploy command completes with either success or failure you can run a command to list VMs created for this deployment:
<pre class="terminal">
$ bosh -e vbox -d zookeeper instances
Using environment '192.168.56.6' as '?'
Deployment 'zookeeper'
Instance Process State AZ IPs
smoke-tests/42e003c1-1c05-453e-a946-c2e77935cff0 - z1 -
zookeeper/3f9980b4-d02f-4754-bb53-0d1458e447ac running z2 10.244.0.2
zookeeper/5a901538-be10-4d53-a3e9-3e23d3e3a07a - z1 10.244.0.3
zookeeper/6b7a51c4-1aeb-4cea-a2da-fdac3044bdee running z3 10.244.0.6
zookeeper/b8b577e7-d745-4d06-b2b7-c7cdeb46c78f running z2 10.244.0.4
zookeeper/c5a3f7e6-4311-43ac-8500-a2337ca3e8a7 - z1 10.244.0.5
6 instances
Succeeded
</pre>
---
[Back to Table of Contents](index.html#basic-deploy)
Previous: [Upload Releases](uploading-releases.html)