Host Group
From Sun Ray User Group Wiki
A host group (aka failover group or FOG for short) consists of two or more Sun Ray servers grouped together to provide Sun Ray services for a population of Sun Ray DTUs.
- The failover part of the failover group refers to the availability of service for a DTU. It does not mean that your actual desktop session (i.e. Gnome, CDE, CAM) will move to another server should one fail. In fact there is no real failover functionality in a so-called failover group, which is why the SRSS documentation uses the term Sun Ray host group (or just host group). Even so, the failover group term is in widespread use. Apparently the FOG acronym is just too catchy to resist.
- Members of a Sun Ray host group share a common group signature. The authenticity of the signature is verified by the Sun Ray group management protocol. This protocol is responsible for discovering the presence of other servers, establishing the membership of host group, tracking the connectivity between servers, hotdesking existing sessions within the group, and placing new sessions within the group.
- A server's group signature is managed by the
utgroupsigcommand
- A server's group signature is managed by the
- The Sun Ray group management protocol depends on multicast packet transmissions by default. Some switches have trouble propagating (or deliberately block) multicast traffic, so SRSS can be configured to use broadcast instead. This is done by editing
/etc/opt/SUNWut/auth.propsand setting theenableMulticastproperty tofalse. All members of the group must be configured to use the same mechanism.
- The Sun Ray group management protocol depends on multicast packet transmissions by default. Some switches have trouble propagating (or deliberately block) multicast traffic, so SRSS can be configured to use broadcast instead. This is done by editing
- Because of these real-world multicast shortcomings SRSS officially requires that all members of a host group must share at least one common subnet, so that the broadcast-based protocol is always viable. If you choose to deploy without a common subnet then you must ensure that your routers will pass multicast traffic and you will need to adjust the
MulticastTTLvalue in/etc/opt/SUNWut/auth.propsto a value that allows all members to exchange packets. The TTL must be at least one greater than the maximum number of routers between any two members of the group.
- Because of these real-world multicast shortcomings SRSS officially requires that all members of a host group must share at least one common subnet, so that the broadcast-based protocol is always viable. If you choose to deploy without a common subnet then you must ensure that your routers will pass multicast traffic and you will need to adjust the
- The current limit is 100 servers in a group, although they seldom get that large due to geographic networking limitations
- The health of the group is displayed by the
utgstatuscommand
- The health of the group is displayed by the
A host group exists independently of the Sun Ray Data Store
(abbreviated SRDS, or just DS).
However, if you choose to activate the DS
(via the utconfig command)
in order to take advantage of SRSS features that require it then you should
arrange for the DS content to be replicated across all of the
members of the group.
Since the DS holds Sun Ray policy settings, configuration records and user
preferences this group-wide replication provides consistent SRSS behaviour
and a consistent experience for the Sun Ray users.
- DS replication requires one server to act as the 'primary' and the remaining servers to act as 'secondaries'. Updates are always performed against the primary and are then replicated to the secondaries. (Update commands may be executed on a secondary, but under the hood the update is quietly redirected to the primary.)
- Data Store replication, including the assignment of primary and secondary roles, is configured by the
utreplicacommand
- Data Store replication, including the assignment of primary and secondary roles, is configured by the
- A host group can operate while the DS primary is down, but updates like creating new registrations or adding users to the DS will not work.
- If you have more than four servers in a host group, it is a best practice to have a dedicated DS primary (a machine that does not offer Sun Ray sessions) for the following reasons:
- Adding or removing secondary servers requires a services restart on the primary server; if the primary hosts no sessions then no sessions are disrupted by the restart.
- In large groups the
utdsdandutpushdDS processes may place significant short-term CPU and network load on the primary server.
- In large groups the
- Runaway processes from user applications on the primary can degrade DS replication across the entire group.
- A dedicated DS primary need not be a large machine. Availability is the most important factor.
- The easiest way to construct a dedicated DS primary is to install and configure SRSS just as you would on any other Sun Ray server, except that you do not run any
utadmcommands on this machine.
- The easiest way to construct a dedicated DS primary is to install and configure SRSS just as you would on any other Sun Ray server, except that you do not run any

