摘要
Background The control system of the China ADS front-end demo linac(CAFe)facility has been built based on a software tool entitled the“Experimental Physics and Industrial Control System”(EPICS).In the EPICS system,the online acquisitions,storage and historical data queries are completed in the Archiver Appliance system.For the construction,upgrading,operation and maintenance of the CAFe facility,it is necessary to use a convenient and reliable archiver system.To reconstruct the CAFe accelerator from a research facility to an experimental facility,some functions of the control system have been reformed to improve the reliability of the facility operation.Purpose This paper presents a new deployment of the Archiver Appliance.The Archiver engine is deployed in a Kubernetes(K8S)cluster as a container.The horizontal pod scaling(HPA)strategy was formulated to implement the automatic expansion and contraction of the application.Methods The Docker containers of the Archiver Appliance have been built and run in the pods of the K8S clusters,which can implement automatic expansion and contraction of the application.The combination scheme with the Prometheus,Dashboard and Grafana schemes has been used to jointly build a monitoring system for the cluster and the pods inside the cluster.Results Currently,the Archiver Appliance system with K8S clusters is under commissioning at the CAFe facility.This deployment method fulfills the requirements of the CAFe experimental facility for portability,high availability and disaster tolerance of archive server software.