Some frequently asked questions (FAQ)

Basic questions that you are likely to have before or after you buy a license for Operational Decision Manager Advanced V8.9.0.

Where do I start if I am a first-time user?

Read up on what Decision Server Insights does, and how it can help your business make faster decisions. For more information, see What does Decision Server Insights do.

Follow the getting started tutorial to get a taste of what the product does and what you need to do to get a solution up and running. For more information, see Tutorial: Getting started with Decision Server Insights.

When you are ready to work with the development environment, start Insight Designer and import the samples. For more information, see Samples for Decision Server Insights.

Use the documentation map to guide you through the steps of building your own solution. For more information, see Documentation map.

How do I update a previous version of Decision Server Insights?

Detailed steps are provided to help you migrate from V8.8.1 to V8.9.0. Migration from V8.7 and V8.8.0 is not covered in IBM® Knowledge Center.

Begin by reviewing the What's new and the list of deprecations, so that you are up to date with features you must avoid and features that you can start using.

You can continue to keep Insight Server up and running during the update. Stop one server at a time, run Installation Manager on that host to install the new version, and then restart the server to bring it back online. For more information, see Migrating Decision Server Insights.

How can I use Decision Server Insights to catch missed business opportunities?

Look at your business areas that might benefit from knowing about actionable situations as they are happening. Use Decision Server Insights to discover, correlate, and act upon data, events, and actions to improve immediate and long-term business performance.

Decision Server Insights can do complex event processing, which is aggregation and correlation across multiple event instances. The run time is stateful both in the rule engine state and in the entities; its main advantage is that it can be used for high-level pattern detection.

For more information, see Beginning-to-end in five steps.

How does Decision Server Insights support my decision-making process?

Decision Server Insights improves the quality and timeliness of in-process decisions by encapsulating the insight of experts in the process area. It can be used to:

  • Automate decision making and improve process reliability.
  • Increase the velocity and effectiveness of business policy changes by allowing business users to manage changes to business rules and complex event detection and correlation.
  • Reduce the cost and complexity that is associated with regulatory, policy, and process compliance by providing tools that simplify and automate key activities.
  • Provide a more organized, timely, and simplified view of highly relevant business facts that enables business users to quickly act upon real-time dynamic business insight.
  • Improve business responsiveness to changing or unexpected conditions through better information sharing, increased automation, and dynamic business insight.
  • Improve visibility and control of complex operations and processes by extracting coherent business insight from correlated time and location information.
How do I test a solution?

Testing is a vital part of the development process. You can test early versions of your solutions by using a test client project. You can use either a Java™ class (TestDriver) or store your test materials in a set of files. The files can be used to run simple test scenarios, which can include checks to validate the solution works the way that you expect it to.

Insight Inspector is designed to help you validate your solution development. Set up a testing environment to emulate your production environment and use Insight Inspector to test and analyze the behavior of your solutions in close to real-world situations.

Insight Map Viewer can be used to display static or moving geospatial types on a map. Geospatial attributes represent the location of an entity that moves over time, such as a car, or a plane. A moving geometry has a location at a specific time and has operators that manage its location. Visualizing entities with geographical locations on a map is the best way to validate that the movement of these objects is working correctly.

When the solution is successfully deployed in a cluster, it is important to continuously monitor the actual performance against your projections. Use Insight Monitor to track Insight Server performance and adjust resources to optimize the run time.

For more information, see Testing solutions.

How do I set up a cluster?

Sizing of an Insight Server cluster depends on many things; the capacity of the servers, the memory needs of a solution (number and average size of entities and events), and your performance expectations. The configuration topics provide some guidance on what is required to achieve high availability (HA). The steps also describe how to set up each server type and how to configure the servers so that they work as part of the cluster. However, it does not state how many servers or how much memory you need for your solution. The number of servers and the physical locations of these servers is something that you must calculate, with possibly the help of an IBM support engineer. For more information, see Configuring Insight Server for production.

What services need securing?

In a development server, HTTP is enabled and a quickStartSecurity property is configured by default. Using quickStartSecurity, you can easily set a user and password to access the gateway and test your solution from a test client. In solutions that use JMS, you must enable connectivity and your messaging provider feature.

In an Insight Server production topology, it is likely that you want to secure both HTTP and JMS. The REST API is an HTTP-based method to inspect the state of entities and aggregates within a solution. The REST API is only present on runtime servers and can be secured by configuring HTTP security. Liberty opens up a JMX channel that allows Java clients to connect remotely to the server and access management MXBeans. The channel is based on HTTP and is present on all server types. This channel can be secured by configuring HTTP security.

Add certificate-based authentication to your servers to enable secured communication over HTTP, JMX, and REST. The appSecurity-2.0 Liberty feature is enabled by default, so you must authorize your applications to access a resource. You can also authorize specific users and groups for specific endpoints by using the iaEventSubmitter role in the solution connectivity configuration XML. For more information, see Completing connectivity configuration files.

You can configure a server to use the secure sockets layer (SSL) protocol for both internal and external connections. External connections refer to the connections between clients and the Liberty instance. Internal connections refer to the interconnections between components. When you configure your servers, you can specify that you want to handle requests over HTTP and HTTPS ports. External connections are secured with SSL when the HTTPS port is accessed. All communication can be configured to automatically redirect all HTTP requests to the HTTPS port. Securing both the external and internal connections with SSL provides the maximum level of security. A keystore for example must contain both the client private certificate that is used to authenticate with the server and the server public certificate that is used to verify the server identity. The steps to secure internal and external connections must be taken manually. For more information, see Setting up security certification and user access.

You can also secure the WebSphere® eXtreme Scale data grid. Data grid security ensures that all servers in a cluster have the right credentials, so a malicious server cannot join the grid and access data without authentication. The communication channels for the grid are present on catalog and runtime servers. For more information, see Setting up data grid security.

How can I load large numbers of entities into a production environment?

Under a million entities, is a modest number. You can use an entity initializer to create the entities. You can use the first event that the initializer receives as the initialization event, or you can create a special initialization event. It is advisable to control the event rate (for example, 4-10 per second), so that you do not exceed the event processing capacity of your topology.

Note: Previously persisted data is lazy-loaded after a grid restart. The dataLoadManager script can also be used to load data into the grid. The autoload command automatically starts event processing, whereas the load command requires the finalize command to signal that you want the grid to process events.

Events can be replayed into the system according to event history requirements, and at the speed that the system capacity allows. You can block all outbound events so that downstream systems are not affected while you replay these past events.

If you need to load more than a million entities at any one time into the run time, create a Java SE application that queries your database and then dispatches the ResultSet to a set of threads. Each thread can process a slice of the ResultSet and then use SolutionGateway.submit(Event) to send the initialization events. These events are dispatched across the grid and processed in parallel.

Tip: Use Executor.execute(Runnable) or ExecutorService submit methods to schedule the requests for immediate execution.

Use Extract Transform Load (ETL) tools (open source or commercial) to do the JDBC query and multi-threaded batch processing of the ResultSet.

How can I handle large inbound events?

The earlier you can get rid of data that you do not need, the better the performance of the run time. Use the following steps to remove data from inbound messages:

  • In the client that generates the large message.
  • In the Enterprise Service Bus (ESB) that is routing the message.
  • In the solution connectivity by using an XSL transformation. An XSL transformation can build an entirely new document, so you can choose to keep, discard, transform whatever is required.
  • In a Java Agent, by emitting a new event type.
  • In a rule agent with no event history by emitting a new event type.