...
shut-down
Code Block language bash title shutdown ecflow_client --shutdown
suspend all suites
Code Block language bash title suspend CL="ecflow_client --port 3142 --host machineX" for s in $($CL --suites); do $CL --suspend /$s; done
- wait for active/submitted tasks to complete
halt the server:
Code Block language bash title halt ecflow_client --halt
Use --migrate to dump state and structure to a file:
Code Block language bash title migrate ecflow_client --migrate > all_suites.def
- terminate server *or* leave server running but start new server on different machine to avoid port number clash.
- remove checkpt and backup checkpt files, to prevent new server from loading them
...
module load latest release
Code Block title Load latest ecflow > module load ecflow/5new > module load python3
start
serverserver
Code Block ecflow_start.sh
load the migration file:
Code Block language bash title Load ecflow_client --load=all_suites.def
set server running:
Code Block language bash title restart ecflow_client --restart
resume suspended suites:
Code Block language bash title Resume CL="ecflow_client --port 3142 --host machineX" for s in $($CL --suites); do $CL --resume=/$s; done
If you are using earlier versions, then :
...
However the client/server/GUI between ecflow 4.x.x and ecflow 5.X.Y are not compatible.
...