DEV, TST, and PRD instances on IonManThere are three different workflow instances on IonMan:
- PRD - Production, the default instance.
- DEV - Development, only used by developers
- TST - Testing, used to validate changes made to the DEV instance
When you connect to IonMan, you will see "[PRD]" at the end of your prompt. This means that the tools you are using will be the production versions. It also means that the $JOBS environment variable evaluates to /data/PRD/jobs
Submitting Jobs to the various instancesEach instance has it's own file share available for job submission:
- \\ionman.chem.indiana.edu\jobs (production)
- \\ionman.chem.indiana.edu\DEVjobs (development)
- \\ionman.chem.indiana.edu\TSTjobs (testing)
You may also access these directories from UNIX:
- /data/PRD/jobs
- /data/TST/jobs
- /data/DEV/jobs
Switching your current instanceIf you would rather be using the DEV tools, you can switch instances using the "*switch*" command. The syntax is unusual, but simple:
. switch DEV
You really do need that "." with a space afterwards in the beginning. This tells your shell to import that script into your current environment, rather than running it inside of a subshell.
Migrating code between instancesIf you are a developer, you may be called to migrate code from DEV to TST, and eventually TST to PRD. Doing so is pretty easy. This migrates the current DEV code to TST:
sudo rsync -vac --delete /data/DEV/bin/ /data/TST/bin/
sudo chmod -R 755 /data/TST/bin
When run, it will give you a list of what files were removed, and which were added or changed.
|