HOSTGROUP(5)

πŸ’– HOSTGROUP β€” host group entry file format πŸ’–

okay bestie, so this is HOSTGROUP(5) from the Grid Engine File Formats manual, and honestly? it's giving "organize your hosts or perish" and we're obsessed πŸ’…


✨ NAME ✨

hostgroup β€” the host group entry file format. that's it, that's the vibe πŸŽ€


🌸 DESCRIPTION 🌸

so a host group entry does exactly what it says on the tin: it merges host names into groups. each host group entry file defines one group. one file, one group, main character energy only πŸ‘‘

and here's the cute part β€” inside a group definition file you can also reference other groups. those referenced groups are called subgroups, and you reference one by putting the @ sign as the first character of the name. periodt.

want to see what's already configured? you can peep the list of currently-configured host group entries with the qconf(1) -shgrpl option. then to see what's inside each of those listed host group entries, use the -shgrp switch. the output follows the hostgroup format description (aka this very page, we love a self-referential queen πŸ’–).

and if you wanna create new host group entries or modify existing ones, that's the -ahgrp, -mhgrp, -dhgrp and -?attr options on qconf(1). slay.

⚠️ note bestie: Grid Engine lets you use backslashes (\) to escape newline characters. the backslash and the newline get replaced with a space character before any interpretation happens. so don't be weird about it.

πŸ¦‹ FORMAT πŸ¦‹

a host group entry contains the following parameters:

πŸŽ€ group_name πŸŽ€

the group_name defines the host group name. host group names have to begin with an @ character β€” this is exactly as explained for hostgroup_name in sge_types(5). no @, no entry, sorry babe 😭

πŸ’œ hostlist πŸ’œ

the names of all hosts and host groups (see host_identifier in sge_types(5)) that are members of the group. only whitespace is allowed as a list separator β€” no commas, no vibes-based delimiters, just spaces fr fr. the default value for this parameter is NONE.

πŸ“Œ note again bestie: if the first character of the host_identifier is an @ sign, the name is used to reference a hostgroup(5) which gets taken as a subgroup of this group. it's giving nesting, it's giving hierarchy, we stan 🧚

🌈 EXAMPLE 🌈

this is a typical host group entry, and honestly it ate:

group_name @bigMachines

hostlist @solaris64 @solaris32 fangorn balrog

so this entry defines a new host group called @bigMachines. inside this host group you've got the host fangorn, the host balrog, and all the members of the host groups @solaris64 and @solaris32. iconic. no cap. πŸ’…


⭐ SEE ALSO ⭐

(iykyk, go read them, they're lowkey essential 🫢)


see sge_intro(1) for a full statement of rights and permissions. legal girlies, this one's for you πŸ’–


and that's the whole page bestie!! this was SGE 8.1.3pre, dated $Date: 2011-05-22 12:20:04 $ β€” yes she's vintage, yes she still serves πŸ’…βœ¨πŸŒΈ bye mwah 🫢