Difference between revisions of "User:Lum Pfohl/LSL Goodies/HI-WA Occupancy Counter System/Relay Servers"
m (added a space (testedit)) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{| width="100%" | {| width="100%" | ||
|- | |- | ||
|valign="top"| | |valign="top"| | ||
Line 71: | Line 71: | ||
===Configuration/Setup=== | ===Configuration/Setup=== | ||
:The Master Server (1 prim object). Note the 16 copies of the Email Script. When more than one is placed into the prim, SL automatically appends the number on the end. The Email Script can determine this number and decide if it's #0, #1, #2, etc., and respond to calls from the Relay Server Script. | :The Master Server (1 prim object, shown as the top object in the picture). Note the 16 copies of the Email Script. When more than one is placed into the prim, SL automatically appends the number on the end. The Email Script can determine this number and decide if it's #0, #1, #2, etc., and respond to calls from the Relay Server Script. | ||
:Also note that this server contains a copy of the HI/WA HUD 1.05. Currently the Relay Server is distributing the updated HUD. Future versions will offload that to the HUD Dispenser located nearby. The second image shows the Relay Server Cluster and its proximity to the HUD Dispenser. | :Also note that this server contains a copy of the HI/WA HUD 1.05. Currently the Relay Server is distributing the updated HUD. Future versions will offload that to the HUD Dispenser located nearby. The second image shows the Relay Server Cluster and its proximity to the HUD Dispenser. | ||
Line 78: | Line 78: | ||
:The Slave Server is configured in the same way. | :The Slave Server is configured in the same way. | ||
:When the Master Server script is reset, it causes the nearby servers to reset as well. Each server will announce its server key, which must be programmed into the Endpoint Devices. Once a day, around midnight Eastern Time (-4/5 UTC), the Master Server automatically resets itself. In doing so, it also resets the nearby Slave Servers. The Relay Servers will receive new information within 10 or 15 seconds from the Collection Server, thus minimizing the disruption in service. | |||
</div></div> | </div></div> | ||
[[User:Lum Pfohl|Lum Pfohl]] | [[User:Lum Pfohl|Lum Pfohl]] 19:49, 2 September 2008 (PDT) | ||
|valign="top" width="200 px"| | |valign="top" width="200 px"| | ||
{{Lum's Quick Links}} | {{Lum's Quick Links}} | ||
|} | |} |
Latest revision as of 19:45, 2 September 2008
Relay ServersThe primary purpose of the Relay Servers is to service all of the Endpoint Devices that request occupancy information. Endpoint Devices do not talk to the Collection Server because in doing so, may cause undue load upon it. The Relay Servers keep relatively fresh information which it obtains from the Collection Server and it redistributes that information. The Relay Servers can also determine which version a particular Endpoint Device trying to connect. It can offer notification to the Endpoint Device that an updated version is available, and can deliver the replacement device to the Agent that owns the outdated device. Communications
Object-Name:HI/WA HUD 1.05 Region: SLVEC (230400, 229888) Local-Position: (99, 109, 25) QUERY ALL EXT~3f24eea9-7a59-09a8-fb59-c51c39bf065e~HUD01.05~Lum Pfohl~5c357419-2ddd-4206-adee-e9567a90d169
QUERY ALL EXT~3f24eea9-7a59-09a8-fb59-c51c39bf065e~HUD01.05~Lum Pfohl~5c357419-2ddd-4206-adee-e9567a90d169
Object-Name: Lum's OI/HI Relay 1 Region: SLVEC (230400, 229888) Local-Position: (98, 107, 25) Update
Object-Name: Lum's OI/HI Relay 1 Region: SLVEC (230400, 229888) Local-Position: (98, 107, 25) 0, 9~0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0!0~0, 0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0, 0~0, 0~0, 23~2, 11~4, 0, 0, 11~0, 0~0, 0~0, 1~0, 0~0, 12~0, 8~0, 9~1, 1~0, 2~0, 2~0, 12~0, 0~0, 11~1, 0~0, 0~0, 0~0, 10~0, 2~0, 0~0, 0~0, 3~0, 4~0, 12~0, 12~0, 11~1, 0~0, 2~0, 2~0, 13~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 0~0, 1~0, 0~0, 0~0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0!0, 10~0, 0, 0, 3~0, 13~0, 0, 29~0, 0, 0, 7~0, 5~0, 0, 0, 9~0, 1~0, 3~0, 8~0, 3~0, 0, 2~0, 42~1, 0, 0, 0, 0, 0, 0, 0, 0
Relay Server Cluster
Trans-Version Service
The current method "QUERY ALL EXT" will return all information in the form <OI CSV LIST> ! <HI CSV LIST> ! <WA CSV LIST> as shown above. Updates Required?REQT-3.06, 3.07 and 3.08 are satisfied by the HUD providing the HUD Version Info, and the Owner Key in the request to the Relay Servers. If a Relay Server determines that an upgrade is required, it will send back an "Update" message, alerting the HUD Owner that an update is available. If the Owner Key is available (it need not be), then the Relay Server can send an updated version via the llGiveInventory( ) function. The Code
Configuration/Setup
Lum Pfohl 19:49, 2 September 2008 (PDT) |
|