Skip to content

Instantly share code, notes, and snippets.

@OguzPastirmaci
Last active May 22, 2020 06:24
Show Gist options
  • Save OguzPastirmaci/674e3988603e5495b1b7158f7f80d618 to your computer and use it in GitHub Desktop.
Save OguzPastirmaci/674e3988603e5495b1b7158f7f80d618 to your computer and use it in GitHub Desktop.
#-------------------------------------------------
# SGE default configuration file
#-------------------------------------------------
# Use always fully qualified pathnames, please
# Path to a log file. If the file already exists, the log output
# will be appended.
# If empty, a log file will be created in <SGE_ROOT>/<SGE_CELL>/common
# The file needs to be writable by the admin user
LOG_FILE=""
# enable / disable Systemd startup scripts
USE_SYSTEMD="true"
# SGE_ROOT Path, this is basic information
#(mandatory for qmaster and execd installation)
SGE_ROOT="/nfs/sge"
# SGE_QMASTER_PORT is used by qmaster for communication
# Please enter the port in this way: 1300
# Please do not this: 1300/tcp
#(mandatory for qmaster installation)
SGE_QMASTER_PORT=6444
# SGE_EXECD_PORT is used by execd for communication
# Please enter the port in this way: 1300
# Please do not this: 1300/tcp
#(mandatory for qmaster installation)
SGE_EXECD_PORT=6445
# SGE_ENABLE_SMF
# if set to false SMF will not control SGE services
SGE_ENABLE_SMF="false"
# SGE_CLUSTER_NAME
# Name of this cluster (used by SMF as an service instance name)
SGE_CLUSTER_NAME="univa"
# SGE_JMX_PORT is used by qmasters JMX MBean server
# mandatory if install_qmaster -jmx -auto <cfgfile>
# range: 1024-65500
SGE_JMX_PORT="Please enter port"
# SGE_JMX_SSL is used by qmasters JMX MBean server
# if SGE_JMX_SSL=true, the mbean server connection uses
# SSL authentication
SGE_JMX_SSL="false"
# SGE_JMX_SSL_CLIENT is used by qmasters JMX MBean server
# if SGE_JMX_SSL_CLIENT=true, the mbean server connection uses
# SSL authentication of the client in addition
SGE_JMX_SSL_CLIENT="false"
# SGE_JMX_SSL_KEYSTORE is used by qmasters JMX MBean server
# if SGE_JMX_SSL=true the server keystore found here is used
# e.g. /var/sgeCA/port<sge_qmaster_port>/<sge_cell>/private/keystore
SGE_JMX_SSL_KEYSTORE="Please enter absolute path of server keystore file"
# SGE_JMX_SSL_KEYSTORE_PW is used by qmasters JMX MBean server
# password for the SGE_JMX_SSL_KEYSTORE file
SGE_JMX_SSL_KEYSTORE_PW="Please enter the server keystore password"
# SGE_JVM_LIB_PATH is used by qmasters jvm thread
# path to libjvm.so
# if value is missing or set to "none" JMX thread will not be installed
# when the value is empty or path does not exit on the system, Grid Engine
# will try to find a correct value, if it cannot do so, value is set to
# "jvmlib_missing" and JMX thread will be configured but will fail to start
SGE_JVM_LIB_PATH="Please enter absolute path of libjvm.so"
# SGE_ADDITIONAL_JVM_ARGS is used by qmasters jvm thread
# jvm specific arguments as -verbose:jni etc.
# optional, can be empty
SGE_ADDITIONAL_JVM_ARGS="-Xmx256m"
# CELL_NAME, will be a dir in SGE_ROOT, contains the common dir
# Please enter only the name of the cell. No path, please
#(mandatory for qmaster and execd installation)
CELL_NAME="default"
# ADMIN_USER, if you want to use a different admin user than the owner,
# of SGE_ROOT, you have to enter the user name, here
# If this is left blank, on UNIX/Linux, the owner of the SGE_ROOT dir
# will be used as admin user. On native Windows (win-x86), the user that
# starts the installer will be used as admin user.
ADMIN_USER="opc"
# The ADMIN_PASSWORD is needed on win-x86 to install the UGE Starter Service
# properly. The UGE Starter Service is used to start the execution daemon
# at system boot time, thus, the ADMIN_PASSWORD is needed only if
# ADD_TO_RC is set to true.
ADMIN_PASSWORD=""
# The dir, where qmaster spools this parts, which are not spooled by DB
#(mandatory for qmaster installation)
QMASTER_SPOOL_DIR=$SGE_ROOT/$CELL_NAME/spool/qmaster
# The dir, where the execd spools (active jobs)
# This entry is needed, even if your are going to use
# berkeley db spooling. Only cluster configuration and jobs will
# be spooled in the database. The execution daemon still needs a spool
# directory
#(mandatory for qmaster installation)
EXECD_SPOOL_DIR=$SGE_ROOT/$CELL_NAME/spool
# For monitoring and accounting of jobs, every job will get
# unique GID. So you have to enter a free GID Range, which
# is assigned to each job running on a machine.
# If you want to run 100 Jobs at the same time on one host you
# have to enter a GID-Range like that: 16000-16100
#(mandatory for qmaster installation)
GID_RANGE="20000-20100"
# If SGE is compiled with -spool-dynamic, you have to enter here, which
# spooling method should be used. (classic or berkeleydb)
#(mandatory for qmaster installation)
SPOOLING_METHOD="classic"
# Name of the Server, where the Spooling DB is running on
# if spooling methode is berkeleydb, it must be "none", when
# using no spooling server and it must contain the servername
# if a server should be used. In case of "classic" spooling,
# can be left out
DB_SPOOLING_SERVER="none"
# The dir, where the DB spools
# If berkeley db spooling is used, it must contain the path to
# the spooling db. Please enter the full path. (eg. /tmp/data/spooldb)
# Remember, this directory must be local on the qmaster host or on the
# Berkeley DB Server host. No NFS mount, please
DB_SPOOLING_DIR="spooldb"
# The connection parameters used to connect to the Postgres database
# if postgres spooling is used.
# Space separated list of key=value pairs, e.g.
# host=mydbhost dbname=ugespooling user=ugeadmin
PG_SPOOLING_ARGS="none"
# This parameter set the number of parallel installation processes.
# The prevent a system overload, or exeeding the number of open file
# descriptors the user can limit the number of parallel install processes.
# eg. set PAR_EXECD_INST_COUNT="20", maximum 20 parallel execd are installed.
PAR_EXECD_INST_COUNT="20"
# A List of Host which should become admin hosts
# If you do not enter any host here, you have to add all of your hosts
# by hand, after the installation. The autoinstallation works without
# any entry
ADMIN_HOST_LIST=""
# A List of Host which should become submit hosts
# If you do not enter any host here, you have to add all of your hosts
# by hand, after the installation. The autoinstallation works without
# any entry
SUBMIT_HOST_LIST=""
# A List of Host which should become exec hosts
# If you do not enter any host here, you have to add all of your hosts
# by hand, after the installation. The autoinstallation works without
# any entry
# (mandatory for execution host installation)
EXEC_HOST_LIST=""
# The dir, where the execd spools (local configuration)
# If you want configure your execution daemons to spool in
# a local directory, you have to enter this directory here.
# If you do not want to configure a local execution host spool directory
# please leave this empty
EXECD_SPOOL_DIR_LOCAL="/nvme/sge/spool"
# If true, the domainnames will be ignored, during the hostname resolving
# if false, the fully qualified domain name will be used for name resolving
HOSTNAME_RESOLVING="true"
# Shell, which should be used for remote installation (rsh/ssh)
# This is only supported, if your hosts and rshd/sshd is configured,
# not to ask for a password, or promting any message.
SHELL_NAME="ssh"
# This remote copy command is used for csp installation.
# The script needs the remote copy command for distributing
# the csp certificates. Using ssl the command scp has to be entered,
# using the not so secure rsh the command rcp has to be entered.
# Both need a passwordless ssh/rsh connection to the hosts, which
# should be connected to. (mandatory for csp installation mode)
COPY_COMMAND="scp"
# Enter your default domain, if you are using /etc/hosts or NIS configuration
DEFAULT_DOMAIN="none"
# If a job stops, fails, finish, you can send a mail to this adress
ADMIN_MAIL="none"
# If true, the rc scripts (sgemaster, sgeexecd, sgebdb) will be added,
# to start automatically during boottime
ADD_TO_RC="false"
#If this is "true" the file permissions of executables will be set to 755
#and of ordenary file to 644.
SET_FILE_PERMS="true"
# This option is not implemented, yet.
# When a exechost should be uninstalled, the running jobs will be rescheduled
RESCHEDULE_JOBS="wait"
# Enter a one of the three distributed scheduler tuning configuration sets
# (1=normal, 2=high, 3=max)
SCHEDD_CONF="1"
# The name of the shadow host. This host must have read/write permission
# to the qmaster spool directory
# If you want to setup a shadow host, you must enter the servername
# (mandatory for shadowhost installation)
SHADOW_HOST=""
# Remove this execution hosts in automatic mode
# (mandatory for unistallation of execution hosts)
EXEC_HOST_LIST_RM=""
# This option is used for startup script removing.
# If true, all rc startup scripts will be removed during
# automatic deinstallation. If false, the scripts won't
# be touched.
# (mandatory for unistallation of execution/qmaster hosts)
REMOVE_RC="false"
# This is a Windows specific part of the auto installation template
# If you going to install windows executions hosts, you have to enable the
# windows support. To do this, please set the WINDOWS_SUPPORT variable
# to "true". ("false" is disabled)
# (mandatory for qmaster installation, by default WINDOWS_SUPPORT is
# disabled)
WINDOWS_SUPPORT="false"
# Enabling the WINDOWS_SUPPORT, recommends the following parameter.
# The WIN_ADMIN_NAME will be added to the list of SGE managers.
# Without adding the WIN_ADMIN_NAME the execution host installation
# won't install correctly.
# WIN_ADMIN_NAME is set to "Administrator" which is default on most
# Windows systems. In some cases the WIN_ADMIN_NAME can be prefixed with
# the windows domain name (eg. DOMAIN+Administrator)
# (mandatory for qmaster installation, if windows hosts should be installed)
WIN_ADMIN_NAME="Administrator"
# If the WIN_ADMIN_PASSWORD is set, the UGE Starter Service will be installed
# using the full Administrator credentials.
# Setting this parameter makes sense only in conjunction with WIN_ADMIN_NAME.
WIN_ADMIN_PASSWORD=""
# SGE_ROOT Path on the Windows hosts in DOS or UNC notation
WIN_SGE_ROOT="Please enter path"
# local spool directory of the Windows execution host in DOS or UNC notation
WIN_EXECD_SPOOL_DIR_LOCAL="Please enter path"
# The /var/sgeCA path on UNIX in UNIX notation
UNIX_SGECA_DIR="Please enter path"
# The /var/sgeCA path on Windows in DOS or UNC notation
WIN_SGECA_DIR="Please enter path"
# The users home directory on Windows in UNIX notation
UNIX_HOME_DIR="Please enter path"
# The users home directory on Windows in DOS or UNC notation
WIN_HOME_DIR="Please enter path"
# The local temporary directory on UNIX for all users in UNIX notation
UNIX_TMP_DIR="/nvme/tmp"
# The local temporary directory on Windows for all users in DOS or UNC notation
WIN_TMP_DIR="Please enter path"
# This section is used for csp installation mode.
# CSP_RECREATE recreates the certs on each installtion, if true.
# In case of false, the certs will be created, if not existing.
# Existing certs won't be overwritten. (mandatory for csp install)
CSP_RECREATE="true"
# The created certs won't be copied, if this option is set to false
# If true, the script tries to copy the generated certs. This
# requires passwordless ssh/rsh access for user root to the
# execution hosts
CSP_COPY_CERTS="false"
# csp information, your country code (only 2 characters)
# (mandatory for csp install)
CSP_COUNTRY_CODE="DE"
# your state (mandatory for csp install)
CSP_STATE="Germany"
# your location, eg. the building (mandatory for csp install)
CSP_LOCATION="Building"
# your arganisation (mandatory for csp install)
CSP_ORGA="Organisation"
# your organisation unit (mandatory for csp install)
CSP_ORGA_UNIT="Organisation_unit"
# your email (mandatory for csp install)
CSP_MAIL_ADDRESS="[email protected]"
# Defines the number of initially created read-only threads in qmaster
# 0 disables the read-only thread completely. Value has to be in range [0; 64]
# Recommended is 2. Values >0 allows to adjust number of threads during runtime.
SGE_READER_THREADS="2"
# ---------------------------------------------------------
#
# Please be aware that changes to the settings below may result in a qmaster that is not
# working correctly. In order to get a fully working qmaster changes to the configuration
# may be necessary after the installation (e.g. via Config-API).
#
# ---------------------------------------------------------
# Start qmaster during installation.
# Some actions (e.g. adding hosts) cannot be performed if the qmaster is
# not started.
START_QMASTER="true"
# Start execution daemon during installation.
# If set to false, no default queue will be added.
START_EXECD="true"
# Copy common files from the util directory to the directory to
# <SGE_ROOT>/<SGE_CELL>/common
COPY_COMMON_FILES="true"
# If CREATE_SETTINGS_FILE is set to false, no settings.sh/.csh will
# be created during installation.
CREATE_SETTINGS_FILE="true"
# Path to a file that will be used as bootstrap file.
# The file will be copied to <SGE_ROOT>/<SGE_CELL>/common/bootstrap.
# If empty, a default bootstrap file will be created.
BOOTSTRAP_FILE=""
# If ADD_DEFAULTS is set to true, a default configuration will
# be set during install and the installed qmaster is fully working.
# If it is set to false, only a minimal necessary configuration will be
# set.
ADD_DEFAULTS="true"
# Path to a configuration file for the qmaster, similiar to
# a configuration file provided for qconf -Mconf.
# If empty, a default configuration will be set.
QMASTER_CONFIG_FILE=""
# Path to a configuration file for the scheduler.
# If empty, a default configuration will be set according to the SCHEDD_CONF setting.
SCHEDD_CONFIG_FILE=""
# Path to a directory with complex entries to be added during qmaster
# installation. If empty and ADD_DEFAULTS is set to false,
# only a minimal set of complex attributes will be added.
CENTRY_DIR=""
# Path to a folder containing parallel environment entries (PEs) that will
# be added during qmaster installation.
# If empty and ADD_DEFAULTS is set to false, no PEs will be added.
PE_DIR=""
# Path to a folder containing usersets that will be added during qmaster
# installation.
# If empty and ADD_DEFAULTS is set to false, no usersets will be added.
USERSETS_DIR=""
# Path to the license file that will be specified as license file
# for the UGE installation.
#LIC_SRC_PATH="$SGE_ROOT/util/resources/licenses/uge-48core-4gpu.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment