Upgrade Accelerator
There are two types of updates for Accelerator, patches and new versions. Patches replace specific files in an installation and save an archive of the changed files so you can revert. A new release is a complete set of files, usually installed in a directory that is a sibling of your current version.
- Install new software
- Notify users that Accelerator will be shutdown
- At an idle time, shut down the Accelerator server with
ncmgr stop
- Change startup files (
.vovrc
) to refer to the new software installation - Start the server, running the new version, with
ncmgr start
- Notify users that Accelerator is available again
- you have a very busy installation, and Accelerator is never idle
- you have jobs running and you do not want to lose them
- you want to keep the order of jobs in the queue. In such cases you can use
one of the following methods.
- Switch vovserver and vovtaskers separately,
using
ncmgr stop -freeze
. - Start a new Accelerator queue on new version, sending new jobs to it, shutting down the current Accelerator queue after all jobs have been retired.
- Switch vovserver and vovtaskers separately,
using
ncmgr stop -freeze
method.- From a shell with your current Altair Accelerator version, stop
vovserver with
ncmgr stop -freeze
. This instructs vovtaskers with jobs to wait for a new vovserver and reconnect to it. - vovtaskers with no jobs should exit right away, and ones with jobs will enter the SUSP state. Their names will change to indicate they are stopping (and to permit new vovtaskers to start with the regular names).
- From a shell with the new Altair Accelerator version, start the
vovserver using
ncmgr start
. - Check on the browser UI Admin page that vovserver is running the expected version.
- Create a new queue, running the new server software
- Direct
nc run
to send new jobs to the new queue - After some time, all jobs in the old queue have completed
- The old queue may be now be shut down
Overlapping Queues
Please read these steps to the end and understand them before doing the procedure. This procedure is preliminary, and may need to be adapted to your Accelerator configuration.