How do I update a Windows SLC Hub worker node with a new version of Altair SLC?
How do I update a Windows SLC Hub worker node with a new version of Altair SLC?
Downtime should be scheduled with the end-users. SLC Hub will be stopped and started and any existing running jobs will be terminated.
Follow the instructions in the hubdoc documentation about shutting down hub-related processes before starting, i.e.:
- All Deployment API endpoints need to be deactivated.
- Deployment Services > Deployments > Select all Deployment API endpoints > Deactivate selected.
- (Check all pages in the Deployments list and in all Namespaces.)
- All Published Libraries need to be deactivated.
- Enterprise > Manage Published Libraries > Select all Published Libraries > Deactivate selected.
- (Check all pages in the Manage Published Libraries list and in all Namespaces.)
Using a Windows CMD shell running 'as Administrator':
Optionally at this point you may choose to reboot the server to be sure to clean out any redundant processes but it is not essential.
Stop services:
hubctl service stop
Use the Task Manager to see if any processes have not been correctly terminated at this stage and stop them if necessary. Terminate any of these if you are happy to do so:
wpslibsw
wpsondmk
library-server
nomad
wpslink_httpx
procmonitor
wpsx
Install the new version.
If you are on a new major version (e.g. upgrading from 2023.x to 2024.x) then you will need to:
1. Copy your local configuration file (e.g. C:\Program Files\Altair\SLC\2023\altairslc_local.cfg) to the new installation location (e.g. C:\Program Files\Altair\SLC\2024).
2. Uninstall the old version (optional).
Use these commands to notify SLC Hub of the new version of SLC:
hubctl slcinstall list
hubctl slcinstall rm "C:\Program Files\Altair\SLC\2024"
hubctl slcinstall add "C:\Program Files\Altair\SLC\2024"
hubctl slcinstall list
Note, avoid using a trailing backslash on "C:\Program Files\Altair\SLC\2024\" but instead use simply the "C:\Program Files\Altair\SLC\2024" path.
Verify using: hubctl verify slc
Restart the services:
hubctl service start
Use this command to update the hub with worker tag information:
hubctl worker register --nogetcafromserver hub_host_name
Visit the Hub Portal to reactivate any API endpoints and published libraries.