SGE_SHADOWD(8)

πŸ‘‘ SGE_SHADOWD(8) β€” like, the Grid Engine shadow master daemon bestie ✨

okay so welcome to sge_shadowd(8), part of the Grid Engine Administrative Commands family. she's the backup bestie that keeps your cluster alive when the main character (aka the master daemon) ghosts everyone. 🫢


🌸 NAME 🌸

sge_shadowd β€” the Grid Engine shadow master daemon πŸ’…


✨ SYNOPSIS ✨

sge_shadowd

πŸ’– DESCRIPTION πŸ’–

So sge_shadowd is a "light weight" process, and bestie, you run it on the so-called shadow master hosts in a Grid Engine cluster. What does she do? She watches for the current Grid Engine master daemon, sge_qmaster(8), to fail β€” and when it does, she starts up a brand new sge_qmaster(8) on the host where the sge_shadowd is running. main character energy fr fr πŸ‘‘

And no cap: if you've got multiple shadow daemons active in the cluster, they run a protocol between themselves which makes sure that only one of them will start up a new master daemon. no drama, no double-master chaos, they sorted it. 😌

Now, the hosts that are suitable as shadow master hosts must have shared root read/write access to the directory $SGE_ROOT/$SGE_CELL/common, and also to the master daemon spool directory (which by default is $SGE_ROOT/$SGE_CELL/spool/qmaster). πŸ”‘

Also the names of the shadow master hosts need to be contained in the file $SGE_ROOT/$xQS_NAME_Sxx_CELL/common/shadow_masters. yes, literally that path, character for character, don't come for me. πŸ“


🚫 RESTRICTIONS 🚫

sge_shadowd may only be started by root. that's it, that's the rule. no root, no shadow daemon, periodt. πŸ’€

🌈 ENVIRONMENT VARIABLES 🌈

  • SGE_ROOT β€” specifies the location of the Grid Engine standard configuration files. πŸ“
  • SGE_CELL β€” if set, specifies the default Grid Engine cell. To address a Grid Engine cell, sge_shadowd uses (in order of precedence):
    1. The name of the cell specified in the environment variable SGE_CELL, if it is set.
    2. The name of the default cell, i.e. default.
  • SGE_DEBUG_LEVEL β€” if set, specifies that debug information should be written to stderr. And on top of that, the level of detail in which debug information is generated is defined. so you can go from "a little tea" to "full forensic investigation" πŸ•΅οΈβ™€οΈ
  • SGE_QMASTER_PORT β€” if set, specifies the TCP port on which sge_qmaster(8) is expected to listen for communication requests. Most installations will use a services map entry for the service sge_qmaster instead to define that port. classic. πŸ™ƒ
  • SGE_DELAY_TIME β€” this variable controls the time for which sge_shadowd pauses if a takeover bid fails. This value is used only when there are multiple sge_shadowd instances and they are contending to be the master. The default is 600 seconds. so basically the "okay let me sit down and chill" timer βœ‹
  • SGE_CHECK_INTERVAL β€” this variable controls the interval between sge_shadowd checks of the heartbeat file (60 seconds by default). checking the pulse, bestie πŸ’“
  • SGE_GET_ACTIVE_INTERVAL β€” this variable controls the interval between attempts by a sge_shadowd instance to take over when the heartbeat file has not changed. The default is 240 seconds. she's persistent, she's patient, she's gonna try again 🫑

πŸ“‚ FILES πŸ“‚

  • <sge_root>/<cell>/common β€” Default configuration directory
  • <sge_root>/<cell>/common/shadow_masters β€” Shadow master hostname file.
  • <sge_root>/<cell>/spool/qmaster β€” Default master daemon spool directory
  • <sge_root>/<cell>/spool/qmaster/heartbeat β€” The heartbeat file.

πŸ‘€ SEE ALSO πŸ‘€

sge_intro(1), sge_conf(5), sge_qmaster(8)


See sge_intro(1) for a full statement of rights and permissions.


and that's the whole page, bestie β€” this one's from SGE 8.1.3pre, dated 2007-11-08. she's vintage, she's reliable, she's giving classic Grid Engine πŸ’–βœ¨πŸŽ€