Migrating Workspaces - padogrid/padogrid GitHub Wiki

Upgrading PadoGrid ◀️ :link: PadoGrid Pods ▶️


If you encounter workspace compatibility issues between PadoGrid releases then follow the steps shown in this section to migrate your workspaces to the newer PadoGrid release.

Migration Sequence

Task: Migrate the existing myrwe RWE to a new PadoGrid release.

:exclamation: Before you begin, make sure to stop all of the running processes in the RWE that you will be migrating. This can be achieved by running stop_rwe or kill_rwe.

  1. Install a new release of PadoGrid by running install_padogrid
install_padogrid
  1. Duplicate myrwe
switch_rwe myrwe
cd ..
cp -rf myrwe myrwe-dupe
  1. Create a new RWE with the new PadoGrid release.
/new_padogrid_path/bin_sh/create_rwe -rwe myrwe-new
  1. Create matching workspaces in the new RWE.
switch_rwe myrwe-new
create_workspace -name myws1
create_workspace -name myws2
create_workspace -name myws3
  1. Copy the new RWE contents to the duplicated RWE.
switch_rwe myrwe-new
cd ..
cp -r myrwe-new/. myrwe-dupe/
  1. Test the duplicated RWE.
switch_rwe myrwe-dupe
switch_workspace myws1
switch_workspace myws2
switch_workspace myws3
  1. Upon successful tests, remove the existing RWE and the new RWE.
switch_rwe myrwe
cd ..
rm -rf myrwe
rm -rf myrwe-new
  1. Rename the duplicate RWE to the deleted RWE name
mv myrwe-dupe myrwe
switch_rwe myrwe

Upgrading PadoGrid ◀️ :link: PadoGrid Pods ▶️