Download CLC Genomics Server

Transcript
CHAPTER 7. JOB DISTRIBUTION
51
• Install grid licenses
• Set up a consumable resource in the grid submissions system to record the number of
available licenses
• Configure and deploy the CLC Grid Worker
• Configure the grid presets, which specify queues and other grid settings that will be applied
when users submit to the grid from CLC software.
Licensing of grid workers
Generally, a pool of CLC grid licenses are purchased and are served by the license server as
described below. One license is used for each CLC Grid Worker script launched. When the CLC
Grid Worker starts running on a node, it will attempt to get a license from the license server.
Once the job is complete, the license will be returned.
Configuring licenses as a consumable resource
Since there is a limitation on the number of licenses available, it is important that the local grid
system is configured so that the number of CLC Grid Worker scripts launched is never higher than
the maximum number of licenses installed. If the number of CLC Grid Worker scripts launched
exceeds the number of licenses available, jobs unable to find a license will fail when they are
executed.
Some grid systems support the concept of a consumable resource. Using this, you can set the
number of CLC grid licenses available. This will restrict the number of CLC jobs launched to run
on the grid at any one time to this number. Any job that is submitted while all licenses are already
in use will sit in the queue until a license becomes available. We highly recommend that CLC
grid licenses are configured as a consumable resource on the local grid submission system.
Deploy the Grid Worker
The CLC Grid Worker is a stand-alone executable that is used to perform the analyses. It
is extracted from the CLC Genomics Server installation directory and will include any plug-ins
installed on that server, as well as the built-in algorithms. The CLC Grid Worker should be
deployed to a shared file-system that is readable from all execution hosts.
To deploy the Grid Worker, please run the following command from the CLC Genomics Server
installation directory. The target directory must exist and be writable by the user running the
deploy script.
./deploy-gridworker </path/to/gridworkerdir/>
The first time you deploy the Grid Worker you will have to setup the license server connection. Use
a text editor and open the file: settings/license.properties in the Grid Worker directory.
The file will look something like this:
#License Settings