Infrastructure configuration

Note: If you have changed the configuration or changed the operating status of any component involved in this document while LiCO is running, the following command must be executed to restart LiCO:

 

Cluster configuration

The following part of the infrastructure configuration in the /etc/lico/lico.ini should be modified:

 

Storage configuration

To adhere to the shared directory configurations in this document, the following part of the storage configuration in the /etc/lico/lico.ini should be modified:

 

Scheduler configuration

The following part of the scheduler configuration in the /etc/lico/lico.ini should be modified:

 

Shared folders configuration

To make new users accessible to one or more custom shared directory, do the following: Step 1. Create one or more shared folder, change the permission

 

Step 2. Modify the share directories configuration in the /etc/lico/lico.ini:

 

Note: You need to run the following command for the changes to take effect

 

Login configuration

The following part of the login configuration in the /etc/lico/lico.ini.d/user.ini should be modified:

 

Accounting configuration

If you need to use the billing function. The following part of the billing configuration in the /etc/lico/lico.ini.d/accounting.ini should be modified. Through this configuration, you can set the time and content format of the exported report according to your time zone and your needs.

 

Job configuration

For the efficiency of job updating, the job does not update resource information in real time when it is running. So parameter JOB_SYNC_TRES_ON_RUNNING in the configuration file /etc/lico/lico.ini.d/job.ini defaults to false. It is recommended that users who use LSF scheduler modify /etc/lico/lico.ini.d/job.ini as below:

 

Due to the delay in slurm statistic date collection, billing data of memory will be lost if the memory usage of the job is not obtained immediately after job is completed. To get memory at the best effort, the following part of the job configuration in the /etc/lico/lico.ini.d/job.ini should be modified:

 

Database configuration

If you database server is not the same as the LiCO management node. Change the instructions in the following configuration file to the ip address of your database server.

  1. /etc/lico/lico.ini

     
  2. /etc/lico/icinga-mond.ini

     

    Note: You need to run the following command for the changes to take effect

     

Confluent configuration

If your confluent server is not the same as the LiCO management node. Change the instructions in the following configuration file to the ip address and port of your confluent server

  1. /etc/lico/lico.ini.d/cluster.ini

     
  2. /etc/lico/confluent-proxy.ini

     

    Note: You need to run the following command for the changes to take effect

     

OneAPI configuration

Note: This function is unavailable if Intel oneAPI is not installed.

If you have installed intel oneAPI and want to use intel oneAPI by LiCO. The following part of the oneapi configuration in the /etc/lico/lico.ini.d/oneapi.ini should be modified

 

AI Studio configuration

If you need the function of publishing your aistudio model to docker, you must prepare a letrain docker image on a docker registry. The following part of the aistudio configuration in the /etc/lico/lico.ini.d/aistudio.ini should be modified:

 

Monitor configuration

LiCO supports the unmonitored version, if you need to use the unmonitored version. The following part of the monitor configuration in the /etc/lico/lico.ini.d/monitor.ini should be modified:

 

EAR configuration

LiCO supports to configure EAR through LiCO. If you want to use this function, the following part of the EAR configuration in the /etc/lico/lico.ini.d/ear.ini should be modified:

 

Publish configuration

In the publish operation, the /tmp directory is used by default to cache temporary files. If you want to change it,the following part of the Publish configuration in the /etc/lico/lico.ini.d/publish.ini should be modified:

 

When you need to publish docker. you need to edit the /etc/containers/storage.conf file. modify the mountopt = "nodev,metacopy=on" to mountopt = "nodev,metacopy=off".

Container configuration

If you want to use lico web to build images. the following part of the container configuration in the /etc/lico/lico.ini.d/container.ini should be modified:

 

Cloudtools configuration

If you want to control the time when jupyter is automatically closed. the following part of the devtools configuration in the /etc/lico/lico.ini.d/cloudtools.ini should be modified:

 

If you want to add automatic labeling function in CVAT, you need to add nuclio server address in /etc/lico/lico.ini.d/cloudtools.ini configuration file (If you don't have Nuclio or auto annotation model installed, Please refer to https://openvinotoolkit.github.io/cvat/docs/administration/advanced/installation_automatic_annotation/):

 

Notice configuration

Attention: The configuration in this section is needed only when lico-wechat-agent module is installed for the cluster. You can obtain and from https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html

The following part of the wechat-agent configuration in the /etc/lico/wechat-agent.ini should be modified:

 

Note: You need to run the following command for the changes to take effect

 

FileManager configuration

For the file management system, we have enabled 20 workers by default. If you have high concurrency requirements, please change the number of workers in the /usr/lib/systemd/system/lico-file-manager.service file according to your requirements.

Note: Please refer to https://docs.gunicorn.org/en/stable/settings.html#workers for details.

 

You need to run the following command for the changes to take effect: