Here is a tutorial to setup EF Portal with Gridware Cluster Scheduler.
Overview
The Gridware Cluster Scheduler (GCS) is a robust job management and resource allocation system, built upon the open-source Open Cluster Scheduler (OCS) available on GitHub. OCS has its roots in the Univa Open Core Grid Engine, which was itself derived from the open-source Sun Grid Engine project. More details you can check clicking here.
Installing OCS
Here are the steps to setup OCS.
This script was tested with the Linux distributions below:
- Ubuntu 24.04
- Rocky 9
Important:
- Check your /etc/hosts and ensure that your server HOSTNAME is not pointed to localhost IPs (127.0.0.1 or ::1). It needs to solve to another IPs (a valid ipv4 address).
- Execute the script:
curl -s https://gist.githubusercontent.com/dgruber/c880728f4002bfd6a0d360c7f6a27de1/raw/install_ocs_905.sh | sh
Notes:
- If the installer finishes with a clear terminal and you can not execute any command, like “qhost”, the script failed due wrong hostname resolution. Please double check your server’s hostname resolution and try again.
- You can get more info about the script with the creator clicking here.
Integrating EF Portal with OCS/gcs
When you have OCS or GCS installed, you can edit $EF_ROOT/conf/plugins/interactive/interactive.efconf and find the parameters:
- INTERACTIVE_DEFAULT_LINUX_JOBMANAGER
- INTERACTIVE_DEFAULT_WINDOWS_JOBMANAGER
Set “sge” parameter where you need the scheduler working.
You can override this behaviour on per-EnginFrame service basis by using –jobmanager option of interactive.submit session starter script.