3. Starting Event Monitor

Starting Agents and NPC

Agents must be started before running the program.  The Event Monitor is unable to display system events when agents are not running.

Under Windows (NT 4, or 2000) OSes:

The Primary Agent and Secondary Agents start automatically under Windows OSes whenever the host machine they have been installed on is powered up.  However, the NPC (NPC.exe) must be started manually.

Under Unix OSes (Solaris 7 SPARC or x86, HP UX 11, or Red Hat Linux 6.1):

Under Unix systems the Primary Agent, Secondary Agent, and NPC must be started manually each time the host computer is reset.


To start the Primary Agent, Secondary Agent(s), and NPC under a Unix system:

1. At the host computer, change directories to: /usr/hybrid/bin/ (or whatever directory you chose during the installation if not the default)

2. Then at the command line, type: primary <Enter> to start the Primary Agent; secondary <Enter> to start the Secondary Agent; npc <Enter> to start NPC

Agents are now running.  The next step is to start the Event Monitor.


Running the Program
The program can be started in two different ways:

Executing a browser accessible HTML file (GREM.HTM);
      - or -
Running locally as an executable Java program (GREM.jar).  Any computer with Java Virtual Machine can run this program.



Remotely as a Java Applet
An applet is a program written in the Java programming language that can be included in an HTML file.  Start your browser to view the GREM.HTM that should be available on the Primary Agent host.  If your browser is a Java-enabled web browser, while viewing a page containing applet, the Java Virtual Machine will load and execute codes transferred from the remote server and behaves as locally running application.

Starting Event Monitor for remote management via web browser (any supported OS):

1. Connect to the Primary Agent host:

Start your web browser and enter the IP address of the Primary Agent host followed by GREM.HTM as your URL (e.g., 222.212.121.123\GRM.HTM).  After a brief delay while the Java Applet starts, the Event Monitor language support and main connection window appear on the screen.

2. When the HTML page is open, you will be prompted to enter the IP address of your Primary Agent host. (If your Primary Agent is installed on your HTTP server and you would prefer not to have to enter the IP address each time you want to access the RAID, you can modify the HTML code of the grem.html file to default to the "local" HTTP server.  See Section 6.3 of the documentation for more information .)

3. Double click on a RAID host IP you would like to manage, then double click on the controller icon, then double click on the connection method (e.g., In-Band SCSI), to connect to the disk array system.  For more information on how to connect, see the Connecting and Disconnecting from a Disk Array section of Event Monitor Help.


Note:

If you prefer running the program via browser and the connection is always made to the same http server providing "GREM.HTM," you may find re-entering the same IP address very annoying.  To avoid the IP address prompt, try editing the "GREM.HTM" file with an HTML editor.  Change the variable in the following line:
<PARAM NAME = "PrimaryInServer" VALUE = "No" >

to

<PARAM NAME = "PrimaryInServer" VALUE = "Yes" >
If you use Netscape browser, you need to add an attribute, – PrimaryInServer="No" – to the embedded tag.   Append the attribute at the end of the following:


<EMBED type="application/x-java-applet;version=1.2.2"
       java_CODE = "grem.EvtWatch.class"
       java_ARCHIVE = "grem.jar, grm.jar"
       WIDTH = 260
       HEIGHT = 90
       pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"
       PrimaryInServer="Yes">

If you want to use different browsers at different times, change the attributes for both Netscape and Explorer.

The precondition is that the http server must also be a primary agent host.  Whenever the program is started and run as a Java Applet via a web browser, you are connected to the same http/Primary agent server.
Once the value is set to yes, you cannot access other Primary agent hosts except the http/Primary agent server.



Locally as a Java Program
Windows (95, 98, 2000 or NT4) : Starting Event Monitor locally or via LAN
1. From the Start menu, select Programs/Event Monitor.

      -or-

2. Double-click the Event Monitor icon either in the group folder or from the desktop if a shortcut was added during the installation process.  The Event Monitor “Welcome” prompt window should appear on the screen.  If there are multiple options for different languages, select the language display type.

3. Enter the IP address and TCP port assignment of the disk array system.  If you are running Event Monitor at the Primary Agent host machine (i.e., “locally”) and want to manage a RAID hosted by the Primary machine, click the Default button.

4. Double click on a RAID host IP you would like to manage, then double click on the controller icon, then double click on the connection method (e.g., In-Band SCSI), to connect to the disk array system.


Unix workstation (Solaris 7 (SPARC, x86); Red Hat Linux 6.1): Starting Event Monitor locally or via a LAN

1. Open a terminal application or command line window.

2. Change directory to /usr/hybrid/bin/ (or whatever directory you chose during the installation if not the default).

3. At the command prompt, type:

java -cp grem.jar:grm.jar grem.EvtWatch
The Event Monitor main connection and language support windows should appear on the screen.

4. Enter the IP address and TCP port assignment of the disk array system where the Primary Agent was installed.  If you are running Event Monitor at the Primary Agent host machine (i.e., “locally”) and want to manage a RAID hosted by the Primary machine, click the Default button.

5. Double click on a RAID host IP you would like to manage, then double click on the controller icon, then double click on the connection method (e.g., In-Band SCSI), to connect to the disk array system.

 



Return to Contents

Go to Section 4. Exiting Event Monitor