To reinstall a compute node:
1. Stop the wakari-compute process on the node:
sudo service wakari-compute stop
2. Copy your .condarc
file to the /opt/wakari
directory on your Compute node:
cp /opt/wakari/anaconda/.condarc /opt/wakari
3. Move your /opt/wakari/wakari-compute
directory to a secondary location:
mv /opt/wakari/wakari-compute /opt/wakari/wakari-compute-backup
In this example, it has moved to /opt/wakari/wakari-compute-backup
.
4. Optional:
rm -Rf /opt/wakari/anaconda
4. After backing up these directories, run the Compute bash installer again.
NOTE: The documentation links to the most recent version of AEN. If you are using a different version, follow the instructions for your actual version.
5. Copy the config file wk-compute-launcher-config.json
to the new wakari-compute
directory from your backup directories:
cp /opt/wakari/wakari-compute-backup/etc/wakari/wk-compute-launcher-config.json /opt/wakari/wakari-compute/etc/wakari
6. Copy your .condarc
to the newly created /opt/wakari/anaconda
directory from your /opt/wakari directory:
cp /opt/wakari/.condarc /opt/wakari/anaconda/
7. Start the wakari-compute service again:
sudo service wakari-compute start