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

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2018-08-02 - GennadiyLukhanin
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CENF All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback