Welcome to web Pages of Vicky Shiv

Resume Experience Projects Courses Thesis Download
Thesis Screens Download/install JavaDoc Publication

DIS Installation Guide

In this Appendix, we describe how to install and run the DIS name server and client (LIS) software. Both name server and client installations need Java Development Kit (JDK) version 1.2.

  1. Software Installation
  2. Here are the steps to install the DIS name server and make available to clients:

    STEP 1 Download the zip file "dis.zip" and unzip the "dis.zip" file in the desired destination directory ("D:\myfolder" for example).

    STEP 2 After unzipping to the "myfolder" it will create the following directory structure:

    D:\myfolder
                    \dis
                                \config         
                                        \lis
                                                      try.ini                                        
                                                      Copy.sys
                                        \name
                                                        try.ini
                    dis.jar

     

  3. Running LIS Online
  4. Before you can run LIS you must have a user account on the name server and you must know the static IP and port where the name server is running. Here are following steps to install and run the LIS:

    STEP 1 Open the try.ini file in the "lis" directory and enter the IP and the port number of the LIS server, name server and your user id in the format given below:

    Format

    {

    ip = "<IP address of the LIS server or "localhost" if you wish to grab the IP from the system>";

    port = "<the port where the LIS server is running>";

    admin = "< IP name server>:<portname server>";

    user = "<user login id>";

    };

    Actual File

    {

    ip = "localhost";

    port = "2222";

    admin = "122.3.4.2:1111";

    user = "vicky";

    };

    STEP 2 Start the RMI registry for the LIS server at the desired port ("2222" for example) by executing the following command:

    start rmiregistry 2222

    STEP 3 Run the following command to start the LIS.

    Format (all one line)

    java –classpath <jar file path name> lis.viewpackage.Gui <zip folder path name or nothing if the installation is on "C:" Drive>

    Actual command (all one line and use slashes as shown)

    java -classpath d:\myfolder\dis\dis.jar lis.viewpackage.Gui D:/myfolder/dis/

  5. Running LIS Offline
  6. STEP 1 Run the following command to start the LIS.

    Format (all one line)

    java –classpath <jar file path name> lis.viewpackage.Gui <zip folder path name>

    Actual command (all one line and use slashes as shown)

    java -classpath d:\myfolder\dis\dis.jar lis.viewpackage.Gui D:/myfolder/dis/

  7. Running the Name Server

STEP 1 Open the try.ini file in the "name" directory and enter the static IP and the port number where you wish to run the name server:

Format

{

admin = "<IP>:<Port number>";

};

Actual File

{

admin = "122.3.4.2:1111";

};

 

STEP 2 Start the RMI registry for the name server at the desired port ("1111" for example) by executing the following command:

start rmiregistry 1111

STEP 3 Run the following command to start the name server.

Format (all one line)

java –classpath <jar file path name> name.viewpackage.MainPanel <zip folder path name>

Actual command (all one line and use slashes as shown)

java -classpath d:\myfolder\dis\dis.jar name.viewpackage.MainPanel D:/myfolder/dis/

 

1