NEURON
Operating Manual

 
 




Synapsi: Automatic Software Updating
NetSeal Technologies
HUT: Software Project Tik-76.115


Document change history

Version Editor Date Comment
0.1 A. Vainio 21.1.2001 First draft of the document
0.2 A. Vainio 5.2.2001 Small corrections - pictures, error messages and index added
0.3 M. Mäntylä 7.2.2001 Chapter 2 fixed
1.0 M. Mäntylä, J. Anttila 12.02.2001 Reviewed and accepted
1.1 A. Vainio 12.03.2001 Operation instructions of Neuron Client added (Ch. 3.2), 
error message section updated (Ch. 6.)
1.2 A. Vainio 15.03.2001 Minor additions and corrections to chapters 3.2 and 6.2
2.0 J. Anttila, M. Mäntylä 19.03.2001 Reviewed and accepted
2.1 A. Vainio 30.03.2001 Outlook fixed according to course feedback in phase T4.
3.0 Juho Anttila, Mika Mäntylä 23.04.2001 Reviewed and accepted as a final version


TABLE OF CONTENTS


1. INTRODUCTION
1.1 Target Audience
1.2 Compatibility and System Requirements
1.3 Purpose of Use
1.4 Overview of This Document
1.5 Bug Reporting

2. INSTALLATION AND USING OF THE SOFTWARE

2.1 Neuron Server
    2.1.1 Installation
    2.1.2 Using the Software

2.2 Neuron Client
    2.2.1 Installation
    2.2.2 Using the Software

3. HOW TO USE NEURON SOFTWARE

3.1 Neuron Server
     3.1.1 General
     3.1.2 Needed Material
     3.1.3 Preliminary Actions
     3.1.4 Notifications and Warnings
     3.1.5 Functions
    3.1.5.1 Changing a Client's Group
    3.1.5.2 Group Management Functions
    3.1.5.3 Package Management Functions
    3.1.5.4 Setting General Configuration
    3.1.5.5 Using On-line Help

3.2 Neuron Client
     3.2.1 General
     3.2.2 Needed Material
     3.2.3 Preliminary Actions
     3.2.4 Notifications and Warnings
     3.2.5 Functions
    3.2.5.1 Setting the Parameters of the Neuron Client
    3.2.5.2 Client Dialog Windows

4. USER'S REFERENCE (Neuron Server)

5. KNOWN BUGS
5.1 Neuron Server
5.2 Neuron Client

6. ERROR MESSAGES
6.1 Neuron Server
6.2 Neuron Client

7. VOCABULARY

8. INDEX


1. INTRODUCTION


This document contains operating instructions for Neuron server and Neuron client. The manual is organized in such a fashion that each chapter contains two main paragraphs - the first one handles Neuron server and the second part contains information about Neuron client. The first chapter "INTRODUCTION" is a exception - it is not divided but it contains information for both server and client users. Chapter 4 "USER'S REFERENCE" contains only instructions concerning Neuron server.

1.1 Target Audience

This document is intended for the users of Neuron server and Neuron client applications.

The users of Neuron server must be familiar with the RoamMate server, because Neuron server will be an integral part of the RoamMate system - the user of Neuron server is expected to have the skills of the usage of a RoamMate server.

The usage of Neuron client does not require professional skills from its user. Normal computer usage skills are enough to be able to use Neuron client.

1.2 Compatibility and System Requirements

In this chapter the minimum hardware and software requirements for Neuron server and Neuron client are listed.

System requirements of Neuron server:
Hardware requirements

Software requirements System requirements of Neuron client:
Hardware requirements Software requirements

1.3 Purpose of Use

This document describes how to use Neuron server and Neuron client. The purpose of these applications is to enable automatic software updating in Neuron client machines. Neuron software is used as an integral part of NetSeal Technologies' RoamMate software.

Using Neuron server the operator can e.g.

Using Neuron client a user can e.g.

1.4 Overview of This Document

The document is organized in the following fashion:

1.5 Bug Reporting

If any malfunctions are noticed in the Neuron software, please contact by email the customer interface of Synapsi team.
Customer interface contact information:
Marko Rantee 
E-mail: mrantee@cc.hut.fi

2. INSTALLATION AND USING OF THE SOFTWARE


When starting the installation of Neuron server you should check that the prerequisites of the software are fulfilled. The minimum hardware and software requirements are listed in chapter 1.2 Compatibility and System Requirements

2.1 Neuron Server

2.1.1 Installation

Currently there is no installation system. The only way to install the system at the moment is to copy the file Neuroni.jar to some folder in target machine. To uninstall simply remove the file Neuroni.jar and its associate file Neuroni.ser.

2.1.2 Using the Software

The user should carefully study the chapter 3.1 How to use Neuron server and understand how to operate the Neuron Server.

To start the application go to the folder, in which Neuron server is installed (i.e the location of Neuroni.jar file). In the command line type:

java -jar Neuroni.jar

A special notice should be made when starting up Neuron server for the first time: an error message is shown telling that saved data could not be loaded from the disk. This is caused by the fact that there does not exist a data file when starting up the server for the first time and thus this error message can be forgot.

2.2 Neuron Client

2.2.1 Installation

The Neuron-client will be totally integrated to RoamMate client. Look for RoamMate client installation manual to get information on the installation. Information about RoamMate product can be reached through following URL: www.roammate.com

2.2.2 Using the Software

The user should be aware of the different client settings and the effect of those settings. This information can obtained from chapter 3.2 How to use Neuron client

3. HOW TO USE NEURON SOFTWARE


Neuron is a client-server system that provides an automatic software updating service - that is Neuron server provides software packages that are offered to Neuron client machines when they arrive to server's area. If the client doesn't have the latest version of the software package, server asks whether the client wants an update version - the client can respond yes or no. If the client already has the latest version, Neuron server does not offer it to the client.

In the following chapters the functions of Neuron server and Neuron client are handled in detail. In order to use Neuron software, please refer to installing instructions in chapter two.

3.1 Neuron Server

3.1.1 General

In Neuron automatic software updating system the server machine is responsible for maintaining different software packages (different versions) and offering them to Neuron clients when clients have arrived to server's area.

With the server software the clients can be managed by organizing them into groups. The idea of grouping is to form sets of clients that have similar software requirements - e.g. there might be different groups for different operating systems (Windows NT, Linux, etc.). For each group it can be defined what version of a software package is used. According to this information the server machine knows which software package version it offers to a particular client machine. New groups can be created and old groups removed when needed. The software package version of the group can be changed - e.g. when a new update package is brought to the Neuron system.

The system contains also a special group - Default group. All the new clients that enter the system are at first members of the Default group. The operator of the Neuron server can then move this client to another group if he finds it necessary. The used software package version can be defined also to the Default group.

Each client belongs exactly to one group and each group must have a unique name.

Bringing new software package versions to system is easy - this operation is handled in detail in the following sections.

Neuron server is managed using a graphical user interface so the operations are done with mouse and familiar GUI components - windows, menus, buttons, etc.

In chapter 3.1.5 Functions each function of the Neuron server is explained and instructed. Please see also chapter 3.1.4 Notifications and Warnings for information about the limitations and special notifications about the server usage.

3.1.2 Needed Material

When the Neuron server is installed as described in section 2.1 Neuron Server Installation, you can start up the system. The Neuron server does not require any passwords. First time when using Neuron server it is recommended to have this manual (NEURON - Operating manual) available.

3.1.3 Preliminary Actions

When starting up the Neuron server, there should be an instance of RoamMate server running on the same machine - this is because Neuron server uses some services from the RoamMate server.

No other preliminary actions are needed.

A special notice should be made when starting up Neuron server for the first time: an error message is shown telling that saved data could not be loaded from the disk. This is caused by the fact that there does not exist a data file when starting up the server for the first time and thus this error message can be forgot.

3.1.4 Notifications and Warnings

The Neuron server is handled via a graphical user interface. The GUI is implemented in such a way that it informs the user when the user tries to carry out an illegal operation. Such situations might be e.g. when a user tries to remove a group that still contains clients or when a software package version is tried to be removed while it is still used by some group.

Special care should be taken when tuning the general configuration of the Neuron Server. General Configuration contains the number of the concurrent client machines that may be served simultaneously. If the number is set to zero, then the server won't be able to serve any clients and there is no benefit from the automatic updating system at all. See the General Management for more details.

General limitations of the system are the following:

3.1.5 Functions

In this chapter all the functions of Neuron server are explained. The functions are organized in the following way: But at first the main window of Neuron server GUI is introduced (Figure 1.).

Neuron server main window


Figure 1. The main window of Neuron Server.

The Neuron server main window consists of two lists: on the left part of the window a list of groups and the versions they use is presented; on the right part of the window information of clients belonging to the active group (group that is highlighted in the group list) are listed.

The group list also contains the unique group name and group's software package version. If some client in this group does not have this version, server offers an update package when the client arrives to the server's area. The main idea here is that all the clients in a group should have the software version specified to the group.

Client list contains the following information about each client: Clients IP address (unique), information whether the client is currently on-line (on server's area) and the current software version on the client. The information in the client list can not be changed from the server - only the automatic software update procedures carried out by the server and client change the version information of a certain client.

Server's GUI contains also many other windows, but these are handled in the following chapters when specific tasks are explained.

3.1.5.1 Changing a Client's Group

3.1.5.1.1 Basics

As described earlier, clients with similar software requirements are organized into client groups. Each client belongs to exactly one group - it has to belong to some group.

It is possible to change a client's group. This is carried out in the main window of the Server main window by simply using a drag'n drop operation. At first the wanted client is chosen from the client list and then this client is dragged with the primary mouse button held down to the wanted group.

3.1.5.1.2 Associated Material

See also Group Management Functions in the following chapter.

3.1.5.2 Group Management Functions

3.1.5.2.1 Basics

Group Management Functions contain three different operations: These operations are needed in order to keep the clients well organized if e.g. there are many used operating system platforms among the clients. Adding a new group might be needed for example if all system's clients were using Windows NT platform and now a new client machine with Linux operating system would become a member of the system - it is assumed that Linux uses a different software package than Windows NT clients. If this only Linux client left the system, it would be probably wanted that its group was removed - therefore client's removing is also presented among the group management functions.

Group information contains the unique name of the group and groups' software package version. When for example a new software package version is brought to the system, it is necessary to change the group's software package version if this new version is wanted to be taken to use.

Group Management Functions are mainly carried out in the Group Management window (Figure 2.) - this window can be accessed via Management menu of the main window.

Group Management window


Figure 2. Group Management window of Neuron Server.

In the window a list of groups is presented and buttons to add and remove groups and edit group information. The window is exited by pressing exit button.

A new group can be added to the system by pressing Add button - this opens a new window, in which the information for the new group can be entered. The name for the group is written into the group field and a proper software version is selected from the drop-down menu. There is no limit for the length of a group's name. It is also possible to create a new group without specifying a software version. A new group creation is accepting by pressing OK - Cancel button cancels the operations and no new group is created. If a group with an already taken name is tried to be created, the system gives an error message - in this situation a new group name must be given. When a group is successfully created, it appears into the group list of Group Management window and main window.

Removing a group is carried out by selecting the wanted group from the group list and then pressing Remove button. If there are still clients in the group, the system gives an error message - a group containing clients can't be removed. The Default group may not be removed either.

Editing a groups information is carried out by selecting a group from the group list and then pressing Edit button. This opens a window similar to Add Group window. In the window the name and software version of the group can be changed. The changes are accepted by pressing OK or discarded by pressing Cancel.

Editing a group can be also carried out in the main window of Neuron server - this is done by activating (clicking) the wanted group in the group list and pressing thereafter "Current Group Management" button. The Edit Group window appears and the information can be changed as described earlier.

3.1.5.2.2 Associated Material

See also Changing a Client's Group earlier in this chapter.

3.1.5.3 Package Management Functions

3.1.5.3.1 Basics

Package Management Functions contain two different operations: Software package management is needed in order to be able to offer Neuron Clients software packages that are updated automatically when the client machine arrives to the server's area. If there are no software packages added to the system, then no packages can be offered to the clients either.

Software package management is carried out through Package Management window (Figure 3.) that can be accessed via Management menu in the Neuron server's main window.

Package Management window


Figure 3. Package Management window of Neuron Server.

The window contains a list of the packages currently in the system and buttons for adding and removing packages and exiting from this window.

Adding a new software package version to the system is done using the "Add" button in the Package Management window. By pressing "Add" button a new window - Add Package - appears through which a new packet can be added. Before being able to add a new package, the corresponding file (update package) must be accessible from the machine running Neuron server. In the Add Package window this file can be given to the "File" field by typing its absolute path or by using "Browse" button and finding the wanted file through a file browser.

The chosen file for a new software package can be accepted by pressing "OK" button in the Add Package window or the operation can be cancelled by pressing "Cancel" button. The system will check whether the chosen new package file is legal - if it is illegal, the system will give an error message to the user. Otherwise the package is accepted and a new package appears to the package list of the Package Management window.

Removing an old software package version from the system is also done in the Package Management window. The operation is carried out by choosing the wanted software package from the package list and then pressing "Remove" button. If the chosen software package is still used by some group an error message is given to the user - a package still used by some group may not be removed from the system.

3.1.5.3.2 Associated Material

See also Group Management section in this chapter for how to set a group's software package.

3.1.5.4 Setting General Configuration

3.1.5.4.1 Basics

The operator of the Neuron server must decide, how many concurrent software package updating can be carried out using this server (i.e. how many clients can be server concurrently). The decision must be made based on the server machine's capabilities. The number of concurrent clients can be set using the General Management window (Figure 4.) of the Neuron server GUI. This window can be accessed via Management menu of the Neuron server's main window.

General Management window


Figure 4. The General Management window of Neuron Server.

Changing this value is straightforward - set the wanted value to the field given in the General Management window and accept or discard the change using "OK" or "Cancel" buttons, respectively. The default value for this setting is 20.

3.1.5.5 Using On-line Help

3.1.5.5.1 Basics

Neuron server GUI contains also a short on-line help section to help the user in problem situations. This on-line help is short and is intended to function as a reference manual to Neuron server's usage. In order to get more extensive information about Neuron server, please refer to this Operating manual.

The on-line manual can be accessed via help menu from the Neuron server's main window.

3.2 Neuron Client

3.2.1 General

Neuron Client is an integral part of RoamMate Client software and takes care of receiving automatic software updates from the Neuron Server. Even though the software updating is carried out automatically, a couple of options are left for the client user to set e.g. the default action when the server offers a new software package version.

There is no actual user interface to Neuron Client while most of its functionality executes itself according to the parameters given by the user. There do exist, however, a couple dialog windows and these windows are described in this manual. Also the meaning of the parameters that the user may change are discussed.

3.2.2 Needed Material

When the Neuron server is installed as described in section 2.2 Neuron Client Installation, you can start up the system. First time when using Neuron server it is recommended to have this manual (NEURON - Operating manual) available.

3.2.3 Preliminary Actions

As told earlier, Neuron Client is totally integrated to RoamMate Client and thus it can be only executed with an instance of RoamMate Client software in the same machine.

No other special actions are needed when using Neuron Client.

3.2.4 Notifications and Warnings

The parameters concerning the default action when Neuron Server offers new software package updates should be set with care. These parameters are a very important part of client softwares functionality.

It should be also noticed that with certain parameter settings the machine may boot itself when automatically updating machine's software.

The usage of these parameters is described in the following section.

3.2.5 Functions

3.2.5.1 Setting the Parameters of the Neuron Client

3.2.5.1.1 Basics

There are two checkboxes integrated to the RoamMate Client's GUI that are used to set the default action of the Client software when Neuron Server offers a new software update package. With these checkboxes one of the following approaches can be taken when a software package is offered: With the first of the checkboxes it can be chosen, whether to accept software updates or not. If the checkbox is checked, client accepts new software packages from Neuron Server. When unchecked, all software updates are declined.

With the other checkbox it can be chosen, whether to ask a confirmation for the update or not. If the checkbox is checked, a confirmation window is not shown when Neuron Server offers a software package and the client carries out software updating automatically every time a new update is offered. If the checkbox is not checked, a confirmation window is always shown when an update package is offered. If the first checkbox is not checked, it is not possible to activate the other checkbox (it is in inactive state).

3.2.5.1.2 Additional Information

See the following chapter - it describes the windows (and their usage) discussed above.

3.2.5.2 Client Dialog Windows

3.2.5.2.1 Basics

There are three different dialog windows in Neuron Client system. These windows are shown if both of the parameter checkboxes described above are checked.

The first window (Figure 5.) is shown, when Neuron Server offers a software update package to Client machine. The user may select Yes to accept updating or No to decline the update offer. If Yes is selected a status bar is shown to give feedback to the user about how much of the package is currently downloaded.

Do You Want to Update window


Figure 5. Update offer window of Neuron Client.

The second window (Figure 6.) is shown during the downloading of the software package. It displays a progress bar indicating the download status. It also has Cancel button through which user can abort the download and the software update.

Picture of Status bar window


Figure 6. Status bar window of Neuron Client.

The third window informs the user about the status of software update. It can either indicate whether the update was success or a failure.

The possible error conditions are listed in section 6.2 - Neuron Client Error Messages.

3.2.5.2.2 Additional Information

Check the details of setting the parameters affecting the dialog windows shown by Neuron Client. These instructions are described in section 3.2.5.1 Setting the Parameters of the Neuron Client

4. USER'S REFERENCE (Neuron Server)


In this chapter the functionality of Neuron server is gathered in a tight form so the user may check quickly how to carry out a certain task. More specific instructions for these tasks can be found in the previous chapter How to Use Neuron Software.

Neuron client is not handled here while its usage contains only pressing "Yes", "No" or "Cancel" buttons.

GROUP MANAGEMENT FUNCTIONS
Adding a New Group
How: From Management menu choose Group Management and from Group Management window press "Add" button. Insert a name and choose the wanted software package for the group. Press "OK". A new group appears to group list in the main window and in the Group Management window.
NOTE: The length of the group name is not limited. The name of the group should be unique - it may not be already taken. System will generate an error message if such an operation is tried.
Removing a Group
How: From Management menu choose Group Management and from Group Management window choose the group to be removed from group list and press "Remove" button. The removed group is no longer shown neither in the group list of the main nor the Group Management window.
NOTE: A group containing any clients may not be removed. System will generate an error message if such an operation is tried. The Default group may not be removed.
Editing Group's Information
How: From Management menu choose Group Management and from Group Management window choose the group to be edited from the group list and press "Edit" button. In the opening window the name of the group and its software package version can be changed. Group Editing window can also be opened by double clicking a group in the group list of the main window.
NOTE: Same restrictions apply as in the Adding of a New Group.
Changing a Client's Group
How: In the main window choose the wanted client and drag the client with the primary mouse button held down to the wanted destination group.
NOTE:
PACKAGE MANAGEMENT FUNCTIONS
Adding a New Package
How: From Management menu choose Package Management and from Package Management window press "Add" button. Type the path to the new software package or use "Browse" button to find the wanted file. Press "OK" to accept the addition. A new package appears to the package list.
NOTE: The name of the added package is automatically created.
Removing a Package
How: From Management menu choose Package Management and from Package Management window choose the wanted package from the package list and press "Remove". Confirm the removal.
NOTE: A software package may not be removed if it is still used by some group. System will generate an error message if such an operation is tried.
GENERAL MANAGEMENT FUNCTIONS
Changing the Number of Concurrent Clients
How: From Management menu choose General Management. In the General Management window type the wanted number of concurrent clients to the input field.
NOTE:

5. KNOWN BUGS


5.1 Neuron Server

There are no known bugs in Neuron Server.

5.2 Neuron Client

There are no known bugs in Neuron Client.

6. ERROR MESSAGES


6.1 Neuron Server

In this chapter the possible error messages of Neuron Server are listed. Also the explanations of these error messages and the situation when the particular error message can be shown are given. Error messages are organized in the alphabetical order.
Can't remove default group.
Operation: Removing of a group

The Default group is tried to be removed. The default group may not be removed.
Could not load saved data from the disk.
Operation: Starting up Neuron Server

An error has occurred when Neuron Server has been started up and the data maintained by the server could not be loaded from the disk. The error is caused by e.g. the following reasons: file cannot be found or the file is corrupted.
NOTE! When starting up the server the first time, the data file does not exist and thus this error message is shown. There is no need to get worried.
Group has clients.
Operation: Removing of a group

A group containing clients is tried to be removed. Group containing clients may not be removed. Move clients to some other group and Redo removing.
Illegal group name.
Operation: Adding a new group

A group with an already taken name is tried to be created. Groups must have a unique name. Changing the name of the new group to an unused name will solve this problem.
Illegal group name.
Operation: Editing a group's information

Groups name is tried to be changed to another name that is already taken - groups must have a unique name. Change the new name of the group into a name that is not used already.
Illegal package.
Operation: Unspecified

The software has made an illegal operation. When this error message is received, the Customer interface of Synapsi team should be contacted.
Illegal parameters.
Operation: Unspecified

The software has made an illegal operation. When this error message is received, the Customer interface of Synapsi team should be contacted.
Package already exists in system.
Operation: Adding a new software package version

An already added package is tried to be added another time. Same package may be added to the system only once.
Package still in use.
Operation: Removing a software package version

A software package version still used by some group is tried to be removed. A package still used by some group may not be removed. To be able to remove such a package, you must specify a new software package version to all groups that still use the package that is wanted to removed.
Unspecified internal error.
Operation: Unspecified

The software has made an illegal operation. When this error message is received, the Customer interface of Synapsi team should be contacted.

6.2 Neuron Client

In this chapter the possible error messages of Neuron Client are listed. Also the explanations of these error messages and the situation when the particular error message can be shown are given.
RoamMate update has failed.
Operation: After software updating

The update of client's software was not succesful and thus the downloaded software update package is not functional. If updating fails multiple times, please contact the Customer interface of Synapsi team.

7. VOCABULARY


JRE Java Runtime Environment
RoamMate A product of NetSeal Technologies. Neuron client-server system is an integral part of RoamMate.

8. INDEX


Adding a New Group Ch 3.1.5.2, Ch 4.1
Adding a New Software Package Ch 3.1.5.3, Ch 4.1
Bug Reporting Ch 1.5
Changing a Client's Group Ch 3.1.5.1, Ch 4.1
Editing a Group's Information Ch 3.1.5.2, Ch 4.1
Error Messages, Neuron Client Ch 6.2
Error Messages, Neuron Server Ch 6.1
General Management Ch 3.1.5.4, Ch 4.1
Group Naming Ch 3.1.1, Ch 3.1.4, Ch 3.1.5.2
Installation Instructions, Neuron client Ch 2.2
Installation Instructions, Neuron server Ch 2.1
Known Bugs, Neuron Client Ch 5.2
Known Bugs, Neuron Server Ch 5.1
Number of Concurrent Clients Ch 3.1.4, Ch 3.1.5.4, Ch 4.1
Removing a Group Ch 3.1.5.2, Ch 4.1
Removing a Software Package Ch 3.1.5.3, Ch 4.1
System Requirements (Server and Client) Ch 1.2
Vocabulary Ch 7