The ONL NPR Tutorial

NPR Tutorial >> The Remote Laboratory Interface TOC

New Window?

Session Sharing



 Alert!!!  
The session sharing feature described here is in beta testing.
Please report any problems to testbed-ops@arl.wustl.edu.
We would also like to hear about any successes.



	[[ ssharing-idea-resize.png Figure ]]

The RLI has a session sharing feature which allows a user to observe another RLI session and converse with that user through a chat window. Session sharing can be useful in two situations:

This page describes the session sharing concept, and how to share an ONL session. The subsections are:

 

The Session Sharing Concept

[[ ssharing-screens-resize.png Figure ]]

The idea behind session sharing is that you (the user) want to allow another RLI user (the observer) to see your RLI session in real-time and want to discuss what is happening in the session with another user. The figure above shows the user's windows on the left and the observer's windows on the right. Once session sharing has been started between a user (kenw) and an observer (onldemo), the observer sees all changes (configuration and monitoring) made by the user. In the figure above, the observer sees that the user has a 2-NPR configuration and that the user is charting some traffic rates in the bandwidth chart. It also shows in the Chat Received box the conversation history. Each message in the chat history box is preceded by the user's name. The observer onldemo is currently responding to the user's question (see arrow). As soon as the observer types the ENTER key, the message will move into both the user's and the observer's Chat Received box.

So, what can and can not be done in session sharing? The basic ideas are outlined below and discussed in more detail in the remainder of this page.

[[ ssharing-arch-resize.png Figure ]]

The figure above shows the ONL components involved in making session sharing possible: user RLI, observer RLI, ONL Proxy and ONL Central Daemon (with experiment database). The ONL Central Daemon is the master controller. It:

The ONL Proxy is a message gateway whose main purpose is to forward requests to the appropriate components. For example, it forwards File => Commit requests to the ONL Central Daemon; it forwards monitoring requests to the appropriate CP; and it duplicates and forwards session sharing data to the observer.

When session sharing is in progress, the ONL Proxy ensures that the user and the observer see a consistent view of a shared RLI session. Because ONL doesn't know a user is active until the user issues File => Commit, no session sharing can occur until the user has selected File => Commit.

 

How to Share an ONL Session

In brief, these are the steps involved in sharing a user's RLI session with an observer:

  1. The user adds an observer to his/her experiment
  2. The observer selects an experiment to observe
  3. The user accepts the observer
  4. Session sharing starts after the user and observer finish their acceptance protocol.

In the example below, the user will share a simple 2-NPR experiment. The user is kenw, and the observer is onldemo. The user's screen shots are shown on the left side of the page, and the observer's screen shots are shown on the right side.

 

The Observer's View

[[ ssharing-qtable-commit-resize.png Figure ]]

Shown to the left in the figure above are the user's RLI window and and the Queue Table at Port 1. On the right is the observer's version of the same Queue Table. Notice that the observer's port rate is shown in a lighter color than the user's, indicating that the field is not writeable by the observer.

Once session sharing has been established, the observer will see any configuration changes enterred by the user. A field value is considered enterred when the user has keyed in the value followed by the ENTER key or the TAB key. The only exception is the Port Rate which isn't shown in the observer's version until after a Commit.

The observer can look at configuration tables somewhat independent of the user. For example, the observer could decide to display the route table at port 1 even though the user is doing something else and not displaying that table. But any changes made by the user will be displayed in the observer's screen even if it requires a new window to appear.

 

The Chat Window

Either participant in a shared session can send a message to the other. The figure below shows an ongoing conversation between the user kenw and the observer onldemo. The chat history box (Chat Received) shows that the conversation was initiated by the user kenw. The observer onldemo is composing a new messagea. This message will be sent as soon as the observer depresses the ENTER key.

[[ ssharing-chat-resize.png Figure ]]

 Revised:  Wed, Feb 17, 2010 

  
  

NPR Tutorial >> The Remote Laboratory Interface TOC