copy eWAN

Called from an external node (not the eWANserver). Call:
. deployeWANcopysource -f eWANgraphicalpart -n eWANservernode -u usertouse
On the same folder you must have the two files.


files:

  1. deployeWANcopysource
  2. deployeWANcopysource2
preconditions:
  1. the specified eWAN source file must be in the correct format (.tar.bz2) and in the same folder.
  2. the second part of the script must be in the same folder
data:
no configuration data is used.
The first part takes the data from argv (file user and node) and it makes copies of all the needed files (code, DBconfiguration and second part) to the objective node and executes the script second part. The second part starts in the eWAN server node, it unpacks the source and puts it in the correct folder. It also prepares the environment (permisions, ssh-key) and it configures the DB.



sansol 2006-06-09