Skip to content

Commit

Permalink
[CE-302] Update Tutorial
Browse files Browse the repository at this point in the history
Update create host picture and description of fileds

Update some tiny places to sync with latest UI

Change-Id: I94a6c323175c3c8dac92a6966595188352812f39
Signed-off-by: sally <lujjiang@cn.ibm.com>
  • Loading branch information
lujjiang committed Mar 21, 2018
1 parent 833d2c0 commit b467b37
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
Binary file modified docs/imgs/tutorial_add_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 16 additions & 4 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ By default, the dashboard will listen on port `8080` at the Master Node, you can

The first time you start Cello, there will be no hosts in the pool. There are two methods to add more hosts into the pool.

* Through the `Overview` page: Click the `+` button after the `Working Host` keyword;
* Through the `Overview` page: Click the `+` button after the `Working Hosts` keyword;
* Through the `Hosts` page: Click the `Add Host` button at the top right corner.

Then you will see a jumped-out dialog to input the setup info.
Expand All @@ -28,10 +28,16 @@ Suppose it's a Native Docker server to import as a host, input those fields

* Name: docker_host
* Daemon URL: `192.168.7.220:2375` (replace this with your docker host address)
* Capacity: 5
* Capacity (Maximum number of chains on that host): 5
* Logging Level: Default is DEBUG, you can change to `INFO`, `NOTICE`,`WARNING`,`ERROR`,`CRITICAL`
* Logging Type: Default is LOCAL
* Schedulable for cluster request: True or False. If click to set True, it will schedule a chain request to that host, useful when maintain the host
* Keep filled with cluster: True or False. If click to set True, it will autofill the host server to its capacity with chains.

After successful adding, you can find the `docker_host` shown in the Host page, with 0 chains and Cap is 5.

If you are going to create vSphere type host, you can take the steps at the [vSphere type host creation guide](./setup_worker_vsphere.md).

## Create a Chain

Now we have the free host in the pool, new chains can be create.
Expand All @@ -53,10 +59,16 @@ Then you can see it at the Active Chain page.
It will be difficult if you have a numbers of chains to create manually. Cello provides automated ways to save time.

* Use the host action dropdown menu: The Fillup button will fill the host full with chains until its at capacity, while the Clean button will clean all unused chains from the host.
* Use the Autofill checkbox: In the host configuration, you can find a `Autofill` checkbox, which will automatically watch the host and keep it full with chains to the capacity.
* Use the Autofill checkbox: In the host configuration, you can find a `Keep filled with cluster` checkbox, which will automatically watch the host and keep it full with chains to the capacity.

Try these methods as you like.

If you want to know more advanced operational skills, please continue to the [Dashboard](./dashboard_operator.md).
## Dashboard for operator

If you want to know more advanced operational skills, please continue to the [Operator Dashboard](./dashboard_operator.md).

## Dashboard for user

If you want to know more usage of chains and smart contracts, please continue to the [User Dashboard](./dashboard_user.md).

<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.

0 comments on commit b467b37

Please sign in to comment.