Instructions for relocating the artdaq database services from one server to another within the np04 DAQ cluster.
On np04-srv-010 (the old server) run as root:
systemctl stop webconfigeditor@cern_pddaq_v3x_db.service
systemctl stop mongodbserver@cern_pddaq_v3x_db.service
systemctl disable webconfigeditor@cern_pddaq_v3x_db.service
systemctl disable mongodbserver@cern_pddaq_v3x_db.service
systemctl status mongodbserver@cern_pddaq_v3x_db.service
systemctl status webconfigeditor@cern_pddaq_v3x_db.service
Copy
SystemD configuration files from np04-srv-010 to np04-srv-009.
scp /etc/systemd/system/*cern_pddaq_v3x_db.service root@np04-srv-009:/etc/systemd/system/
On np04-srv-009 (the new server) run as root:
systemctl enable mongodbserver@cern_pddaq_v3x_db.service
systemctl enable webconfigeditor@cern_pddaq_v3x_db.service
systemctl start mongodbserver@cern_pddaq_v3x_db.service
systemctl start webconfigeditor@cern_pddaq_v3x_db.service
systemctl status mongodbserver@cern_pddaq_v3x_db.service
systemctl status webconfigeditor@cern_pddaq_v3x_db.service
Check if statuses reported as "running" and save all console outputs into the logbook.
--
GennadiyLukhanin - 2018-08-02