Rendering (visualizing) a topology
You define the scope of the topology that you want to render by specifying a seed resource, the number of relationship hops surrounding that resource, as well as the types of hops. The topology service then supplies the data required to visualize the topology.
Before you begin
About this task
Note: The UI has a default timeout set at 30 seconds. If service requests are not received in
that time, a timeout message is shown, as in the following example:
A time-out has occurred. No response was received from the Proxy Service within 30 seconds.
See Topology render timeout for more information on addressing this issue.
A time-out has occurred. No response was received from the Proxy Service within 30 seconds.
See Topology render timeout for more information on addressing this issue.
Procedure
From the Navigation toolbar, perform the following actions:
Results
The Agile Service Manager topology viewer connects to the topology service and renders the topology. By default the view is refreshed every thirty seconds, unless specified otherwise (by an administrator user).
Troubleshooting: Topology render timeout: If
you receive a timeout message, this may be due to a number of reasons:
- Large amounts of data being retrieved for complex topologies
- Too many hop counts specified
- Issues with the back-end services
- Workaround (on-prem)
-
- Check that all services are running smoothly. You can verify that the docker containers are
running using the following command:
The system should return text indicating that all containers have a state of Up.$ASM_HOME/bin/docker-compose ps
- Lower the hop count to reduce the service load. See the Defining advanced topology settings topic for more information on customizing the maximum hop count.
- An administrator user can increase the default 60 seconds timeout limit by changing the
following setting in the $ASM_HOME/.env
file:
LAYOUT_SERVICE_TIMEOUT=60
If increasing this to two minutes or more, you should also increase the timeouts used by the proxy. Changeproxy_read_timeout 120
in the following files:- /opt/ibm/netcool/asm/etc/nginx/conf.d/nasm-ui-api.rules
- /opt/ibm/netcool/asm/etc/nginx/conf.d/nasm-layout.rules
You must restart Agile Service Manager for the changes to take effect:- To stop Agile Service Manager, run:
<ASM_HOME>/bin/asm_stop.sh
- Once stopped, re-start Agile Service
Manager:
<ASM_HOME>/bin/asm_start.sh
- Check that all services are running smoothly. You can verify that the docker containers are
running using the following command:
- Workaround (OCP)
-
- The OpenShift route used when rendering topologies in the UI has a default timeout of 30 seconds
which may not be long enough to render a large or complex topology view. To increase, for example to
300 seconds, add the following code to the spec section of the custom resource of the
operator:
The up-api pod should restart with the values of the environment variables TOPOLOGY_SERVICE_TIMEOUT and LAYOUT_SERVICE_TIMEOUT now set to 300 seconds.spec: helmValuesASM: global.asm.uiApi.topologyServiceTimeout: 300 global.asm.uiApi.layoutServiceTimeout: 300
- List the routes using the
oc get routes
command and increase the timeout for the UI change:oc annotate route noi-ui-api --overwrite haproxy.router.openshift.io/timeout=300s oc annotate route noi-ibm-hdm-common-ui-uiserver --overwrite haproxy.router.openshift.io/timeout=300s
- Increase the timeout for the Topology and Layout Swagger pages, as in the following
example:
oc annotate route noi-topology-topology --overwrite haproxy.router.openshift.io/timeout=300s oc annotate route noi-topology-layout --overwrite haproxy.router.openshift.io/timeout=300s
- The OpenShift route used when rendering topologies in the UI has a default timeout of 30 seconds
which may not be long enough to render a large or complex topology view. To increase, for example to
300 seconds, add the following code to the spec section of the custom resource of the
operator:
Troubleshooting: No results found
- Workaround
- When you enter text into the Resource management field, surround the text
with quotation marks, such as in
"Search value"
. If the quotation marks are omitted, topology viewer doesn't display results even if the search value was included as data.