UAF plug-ins running on each server handle communication between Operations Console and Sybase RAP components. The UAF agent for each Sybase RAP component must be started manually, in order for the component to be visible in and controlled by Operations Console.
When a UAF agent starts on a server, the agent starts all of its plug-ins and registers with the JINI server. Operations Console queries the JINI server to learn about all agents and their plug-ins.
Sybase recommends starting the UAF agents and the JINI server at system start-up to ensure that components can be monitored in the event of a hardware reboot.
Starting the UAF agents and their plug-ins
Start the JINI server:
Change directory to $RAP/OpsConsole/ua/bin
Run the command
./startJini
Start the Operations Console:
Change directory to $RAP/OpsConsole
Run the command
startOpsConsole.sh
The RAPCache and RAPStore servers should already be running. See “Verify that all servers are running”.
Start the agent for each component that you want to see on the Operations Console. Repeat this step for each component:
Change directory to $RAP/<component_dir>/ua/bin where <component_dir> is the name of the component.
For example, <component_dir> can be DemoFeedHandler, DemoSubscriber, FASTFeedHandler, RAPCacheSubscriber, or RAPStoreSubscriber.
Run the command
./agent &
The & starts a background process that continues to run after you exit the terminal window.
Start the RAPStore agent:
Change directory to $RAP/RAPStore/ASIQ-12_7
Source the environment variables:
source ASIQ-12_7.csh
– Or –
../ASIQ-12_7.sh
Change directory to $RAP/RAPStore/ua/bin
Run the command
./agent &
Start the RAPCache agent:
Change directory to $RAP/RAPCache/
Source the environment variables:
source SYBASE.sh
Change directory to $RAP/RAPCache/UAF-2_0/bin
Run the command
./agent &
When you log into Operations Console, the Sybase RAP components whose agents are running are visible.
Stopping UAF agents
Stopping a UAF agent:
Change directory to $RAP/<component_dir>/ua/bin where <component_dir> is the name of the component.
For example, <component_dir> can be DemoFeedHandler, DemoSubscriber, FASTFeedHandler, RAPCacheSubscriber, or RAPStoreSubscriber.
Run the command:
./agentd stop
Stopping Operations Console
Change directory to $RAP/OpsConsole/WebMonitoringConsole.
Run this command:
./stopOpsConsole.sh
Stopping JINI Server
Find the JINI server processes
ps –ef | grep “ua/thirdparty”
ps –ef | grep rmid
Use kill command to stop three JINI processes
kill <pid>