[contestms] Re: Run CMS on multiple machines.

  • From: Stefano Maggiolo <s.maggiolo@xxxxxxxxx>
  • To: contestms <contestms@xxxxxxxxxxxxx>
  • Date: Thu, 18 Feb 2016 12:23:22 +0000

Hey! So at the first level you should edit the configuration to list the
services in the machine you want them to run - the number of services don't
change a part from ResourceService that we suggest running on each machine
that is running CMS. Then you install CMS on every machine, change the
configuration so that all machines have the same, and start
cmsResourceService -a X in each.

At a second level, if you are running in a complicate environment (many
servers, ...) you most probably to write some script to automate the common
operations (synchronize the configuration, start stop each CMS instance in
all machines, ...); things like pkill might help.

Other people prefer to avoid ResourceService and run the services manually,
with screen or tmux. But if you have many workers, you probably still want
to have scripts to launch the workers.

On 18 February 2016 at 11:59, Kiên Nguyễn Tiến Trung <kc97ble@xxxxxxxxx>
wrote:

I want to run CMS on multiple servers. Could you tell me the right way to
do it?

Other related posts: