Wednesday, December 12, 2007

How To - 10.1.3 OWSM: Setup agent on OC4J communicating with remote policy manager and monitor

If you have a web service or client running on OC4J, and you want to protect it using OWSM agent communicating with remote policy manager and monitor, then follow the following steps.

  1. Install OC4J
  2. Install OWSM
  3. Apply patchset. Note: The above sequence is required, as you cannot install OWSM on top of OC4J.
  4. Uninstall policymanager, coreman, and ccore applications from OC4J
  5. Login to OWSM console, and add the agent component.
  6. Once agent component is added, click the Edit icon and modify cfluent.monitor.rmi.host to point to the existing monitor application running elsewhere.
  7. Open OC4J_HOME/owsm/bin/agent.properties, and modify agent.policymanagerURL in addition to other properties required for configuring agent
  8. Deploy the agent using wsmadmin tool

Agent will be ready to get policies from the right policy manager, and send metrics to the right monitor.