Troubleshooting Siebel Intelligent Search
If you encounter issues with Siebel Intelligent Search or OpenSearch integration, use the following logging and diagnostic steps to identify and resolve problems.
OpenSearch Log:
- Log file name:
modernsearch.log - Log file location:
<Siebel_Build_Location>/ses/applicationcontainer_internal/logs - Log levels: default Log Level will be 0 which stands for FATAL/ERROR. Set it to 5 to
gather all the information including Information/Debug logs. Follow the steps below
to set the Siebel JBS log level to 5:
- Navigate to <Siebel_Build_Location>/ses/applicationcontainer_internal/webapps
- Open the file: configagent.properties
- Add “JBSLogLevel=5” and save it.
- Restart the internal tomcat server.
Siebel Server Logs:
- Presented in the corresponding Object Manager (OM) logs.
- Turn on OM logs via Siebel Server Manager. All standard Log Levels for Siebel OM apply.
- Apart from setting log level to 5 at component level, you can also set Even log level to 5 for all Search Events as shown below. Enabling this will help identify root causes of Search functionality in Siebel application.
Following table describes Server Event Configuration:
| Event Type | Alias | Log Level | Description |
|---|---|---|---|
| SearchLogEvent | SearchLogEvent | 5 | Used to log events for Search data processor during indexing. |
| Search Administration | SearchAdmin... | 5 | Logs all operations for Search Administration |
| Search Adapter | SearchAdapter | 5 | Log search adapter operations |
| Search Execution | SearchExecuti... | 5 | Logs all operations for Search Execution |
| Search Service | SearchService | 5 | Log all the operations for Search services |
| SearchPLUS Log | SearchPLUSLog | 5 | Log events for SearchPLUS Manager |
| SearchPLUS Indexing | SearchPLUSIn... | 5 | Traces the indexing bath job component |
To Set Up OpenSearch Without Demo Certificate
- Download and Install OpenSearch 2.15 from https://opensearch.org/artifacts/by-version/#release-2-15-0 as Standalone mode.
- Plugins was already part of OpenSearch installation except Ingest-attachment plugin.
- Download and install the ingest-attachment-2.15.0 plugin from https://artifacts.opensearch.org/releases/ plugins/ingest-attachment/2.15.0/ingest-attachment-2.15.0.zip.
- Don't install the Demo Certificate
- Add/Update the below parameter in opensearch.yaml
-
- network.host: 0.0.0.0
-
- discovery.seed_hosts: []
-
- discovery.type: single-node
-
- plugins.security.disabled: true
-
- node.roles: [ cluster_manager, data, ml, ml_model, ml_predictor, ingest ] under Nodes section
-
- Update the maximum size of total heap space to 4g with the below parameters in
jvm.options
-
-Xms4g
-
-Xmx4g
-
- Set the proxy as required in jvm.options
-
#Sample proxy:
-
-Dhttp.proxyHost=www-xxx.xx.xxxx.com
-
-Dhttp.proxyPort=xx
-
-Dhttps.proxyHost=www-xxx.xx.xxxx.com
-
-Dhttps.proxyPort=xx
-
- Verify the OpenSearch connection is successful using the http URL without the username/password (http://<local_host>:<port>)
- Update the
modernsearchconfig.yamlwith the http URL and the port (Don't provide the username and password) - Do the Model Registration, the Model Registration will not work with http URL.
- Indexing the Categories (Attachment and Non-Attachment) and perform a keyword search.
To Set Up OpenSearch With Demo Certificate
- Download and Install OpenSearch 2.15 from https://opensearch.org/artifacts/by-version/#release-2-15-0 as Standalone mode.
- Plugins are already part of OpenSearch installation except Ingest-attachment plugin.
- Download and install the ingest-attachment-2.15.0 plugin from https://artifacts.opensearch.org/releases/plugins/ingest-attachment/2.15.0/ingest-attachment-2.15.0.zip
- Install the Demo Certificate using the following steps:
- Go to OpenSearch installation location: C:\opensearch-2.15.0-windows-x64\opensearch-2.15.0\plugins\opensearch-security\tools
- Run "install_demo_configuration.bat" file and it opens the prompt with
the below options.
- Install demo Certificates? [y/N]: Y and enter.
- Initialize Security Modules? [y/N]: Y and enter.
- Enable cluster mode? [y/N]: N and enter (If OpenSearch instance as standalone)
- Verify the following entries get updated in modernsearchconfig.yaml after
installing the demo
certificate.
file######## Start OpenSearch Security Demo Configuration ######## # WARNING: revise all the lines below before you go into production plugins.security.ssl.transport.pemcert_filepath: esnode.pem ............................................................................................... ............................................................................................... ............................................................................................... ............................................................................................... .plugins-flow-framework-state] node.max_local_storage_nodes: 3 ######## End OpenSearch Security Demo Configuration ######## - Add/Update the following parameters in modernsearchconfig.yaml:
- - network.host: 0.0.0.0
- - discovery.seed_hosts: []
- - discovery.type: single-node
- - node.roles: [ cluster_manager, data, ml, ml_model, ml_predictor, ingest ] under the ‘nodes’ section
- Update the maximum size of total heap space to 4g with the below parameters in
jvm.options
- -Xms4g
- -Xmx4g
- Set the proxy as required in jvm.options
- #Sample proxy:
- -Dhttp.proxyHost=www-xxx.xx.xxxx.com
- -Dhttp.proxyPort=xx
- -Dhttps.proxyHost=www-xxx.xx.xxxx.com
- -Dhttps.proxyPort=xx
- Verify the OpenSearch connection is successful using the https URL with the username/password (https://<local_host>:<port>)
- Update the
modernsearchconfig.yamlwith the https URL, port, username and password. - Do the Model Registration. Model Registration will get registered with https URL.
-
Index the Categories (Attachment and Non-Attachment) and perform a keyword search.
Errors and Solutions
Error when clicking the Object Filter in Global Search Bar.
User may see this error when clicking the Object Filter button in Global Search Bar:
Solution: Ensure the Application User Property is configured.
After indexing a search category, user cannot perform searches on that category.
check the followings:
- If the category has been indexed properly in OpenSearch.
- If the OpenSearch server is up and running.
- If the model has been deployed successfully.
After restarting the OpenSearch service on a standalone machine, the model deployment enters a failed state.
Option 1: Identify the modelId from modernsearchconfig.yaml. Run the OpenSearch to
redeploy the model - Model Redeploy API:
{{openSearchUrl}}/_plugins/ml/models/{{modelid}}/_deploy
Option 2: in the ‘nodes’ section in yaml file, configure” node.roles: [
cluster_manager, data, ml, ml_model, ml_predictor, ingest ]”
Category configuration error when doing a search.
User may get the following error when doing a search using the Global Search Bar:
Solution:
- Category names must appear in both the upstream and downstream sections in modernsearchconfig.yaml, and the sequence of categories must match exactly.
- When editing the yaml file, avoid mixing tabs and spaces, as this can cause parsing errors.
To Cross Check the Model Deployment Status via OpenSearch API
This can be obtained using API - Get Model Details:
{{openSearchUrl}}/_plugins/_ml/models/{{modelid}}
Indexing on File Attachment Category is not working.
Check and set the following System Preferences:
- Enable OpenSearch = Y
- Enable OpenSearch FileIndexing = Y
- OpenSearch Index File Path = <OpenSearch Index File Path for Attachments>
- The above folder must be shared and granted full permission.
Search Config Service Error when clicking on the Object Filter button in Global Search bar.
Steps to resolve:
- Log into Siebel Web Tools.
- Create & Open a Workspace.
- Navigate to the required Application Object (e.g. Siebel Universal Agent)
- Navigate to User Properties for the selected Application.
- Add the New User Property:
- Name ClientBusinessService<#n> (e.g. ClientBusinessService13 )
- Value Search Config Service
- Validate and Deliver.
The MobileSync Component Group shows ‘Partially Running’ status.
Check to make sure the TxnProc Component is online.
- Navigate to Administration - Server Configuration → Enterprises → Component Definitions.
- Query TxnProc in Alias.
- Click Synchronize.
To Register a Different ML Model
Follow the steps below:
- Open the OpenSearch 2.15.0 documentation at https://docs.opensearch.org/2.15/ml-commons-plugin/pretrained-models/, identify the Model. Please ensure that the Vector dimension is 768 for optimal accuracy.
- Clean up the existing Model and Model Group information in the OpenSearch instance and in the YAML file.
- Change the ‘isPipelineCreated’ parameter under pipeline-ingest and pipeline-search section in the YAML file to ‘false’.
- If any existing categories have been Indexed, use Delete Index button in Siebel application to delete the existing Categories.
- Update the Model name and the version in the YAML file. Please refer to the
example below:
- modelName:: huggingface/sentence-transformers/all-distilroberta-v1
- modelVersion: 1.0.1
- For Model registration, reset the OpenSearch engine Active Flag (e.g. unchecking and rechecking the flag).
To Upgrade OpenSearch YAML File
When applying a new Siebel Update, the existing “modernsearchconfig.yaml” file may get overwritten. Users should back up their customized YAML file and reapply the custom changes to the new file provided in the new Siebel Update.
To Configure Two Siebel Instances To Use a Single OpenSearch Instance
Follow the steps below:
- Ensure the modelGroupName parameter value in modernsearchconfig.yaml file is unique.
- Ensure the index name in the downstream section in modernsearchconfig.yaml file is unique.
index:
category:
- servicerequeststest:
isIndexed: false