Configuring OpenStack Observer jobs
Using the OpenStack Observer, you can configure jobs that dynamically load OpenStack data for analysis by Agile Service Manager.
Before you begin
Ensure you have the OpenStack service details to hand, such as the parameters for its APIs or RabbitMQ message bus. If you are configuring a query job, have OpenStack location and authorisation details to hand. If you are configuring a rabbitmq job, you must also identify and provide access to the RabbitMQ message bus.
- If you have already installed OpenStack using DevStack
- Add the following code to the end of the local.conf file, and then reinstall OpenStack.
- If you are planning to install OpenStack using DevStack
- Add the following code to the end of the local.conf file before installation.
- For standard (or any other) OpenStack installations
- Add the following code under the
[DEFAULT]
section of the nova.conf file, and then restart the Nova (compute) service.notification_topics = notifications,com.ibm.asm.obs.nova.notify notification_driver=messagingv2 notify_on_state_change=vm_and_task_state notify_on_any_change=True
- To enable port numbers for standard OpenStack installations
- OpenStack assigns specific port numbers to each of its service. For Agile Service Manager to
communicate with the OpenStack instance, you must enable the following default ports. Tip: Check with your OpenStack administrator if custom port numbers have been configured.
- Load jobs
- Default ports:
- KeyStone: 5000
- Nova: 8774
- Neutron: 9696
- Glance: 9292
- Cinder: 8776
- Heat: 8004
- Listen jobs
- Default port:
- RabbitMQ: 5672
The OpenStack Observer is installed as part of the core installation procedure.
About this task
The OpenStack Observer jobs extract OpenStack resources via REST or RabbitMQ. The Observer loads and updates the resources and their relationships within the Netcool Agile Service Manager core topology service.
- Restapi Load job
- A transient (one-off) job that loads all requested topology data from the OpenStack instance by REST API.
- Rabbitmq Listen job
- A long-running job that reads messages on OpenStack's RabbitMQ message bus for activity from the Cinder (block storage), Heat (orchestration), Neutron (network) and Nova (compute) components continually, until it is explicitly stopped, or until the Observer is stopped.
- Data center name
- OpenStack project name
- OpenStack username
Procedure
To configure OpenStack Observer jobs