Versions Compared

Key

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

...

Copy the files in a local folder accessible from each node. 
The idea is that we run node_clone from a node where we can use clush and then we run node_copy on the nodes that need to be copied.

How to run

On a machine with clush, run: 

node_clone.sh drp_srcf_cmp001 drp_srcf_cmp002

It requires as parameters the from and to node address:

node_copy.sh:

This script copies the files in the file_list.json file from and to the local folder. 
It is run "remotely" directly on the selected nodes.
The script proceeds in creating local folders in the same directory the script is run (BACKUP_TEMP and DEFAULTS_TEMP).

...

This script must be run in a node with clush installed, like drp-neh-ctl002. Since the FEE and SRCF are reachable by ssh, it is possible to run this script from neh to srcf systems and viceversa.
It requires as parameters the from and to node address:node_clone drp_srcf_cmp001 drp_srcf_cmp002.

The script stops if these addresses are not provided.

...