Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This script copies the environment of a node into a local folder
The environment is defined by the file_list.json file.

file namepath
datadev.ko/usr/local/sbin/
kcuSim
/usr/local/sbin/
kcuStatus/usr/local/sbin/
kcu.service
/usr/lib/systemd/system/
tdetsim.service/usr/lib/systemd/system
sysctl.conf
/etc/

The files are stored in directories that are sorted by the node type. In each node type directory there is a directory with the drp name.
The script is run by using clush from drp-neh-ctl002:

clush --mode sudo w drp_srcf_cmp0[01-30] "$PATH_SCRIPTS/node_backup.sh"
 

...