Skip to content

Commit b183ced

Browse files
committed
Ephemeral worker doc
1 parent 3f74ac4 commit b183ced

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/Running CMS.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ After LogService is running, you can start ResourceService on each machine invol
9898

9999
The flag ``-a`` informs ResourceService that it has to start all other services, and we have omitted again the shard number since, even if ResourceService is replicated, there must be only one of it in each machine. If you have a funny network configuration that confuses CMS, just give explicitly the shard number. In any case, ResourceService will ask you the contest to load, and will start all the other services. You should start see logs flowing in the LogService terminal.
100100

101+
When maintaining a static list of services becomes too difficult, you can use ephemeral services.
102+
After configuring them in :file:`cms.conf`, you can start them by invoking the service directly without specifying a shard number, as it will be automatically assigned by the service itself.
103+
For example to start a Worker:
104+
105+
.. sourcecode:: bash
106+
107+
cmsWorker
108+
101109
Note that it is your duty to keep CMS's configuration synchronized among the machines.
102110

103111
You should now be able to start exploring the admin interface, by default at http://localhost:8889/. The interface is accessible with an admin account, which you need to create first using the AddAdmin command, for example:

0 commit comments

Comments
 (0)