Figure 16 Connecting the client to the SCMB

1The SCMB consumer requests a client certificate as part of the registration process.

2The appliance manages the client certificates in a JVK (Java KeyStore) file.

3The appliance issues a client certificate to the SCMB consumer.

4The SCMB client provides an SSL client certificate to create a connection with the appliance.

5The appliance can revoke the SCMB client certificate to deny access to the SCMB client. The client is managed into a CRL (Certificate Revocation List) file.

6The appliance authenticates the SCMB client using the client certificate.

26.2 Set up a queue to connect to the HP OneView SCMB exchange

The state change messages are published to the HP OneView SCMB exchange name. To subscribe to messages, you must create a queue or connect to an existing queue that receives messages from the SCMB exchange based on a routing key.

When you create a queue, you define the routing key associated with the queue to receive specific messages.

NOTE: The routing key is case sensitive. The change-typerequires an initial capital letter. The resource-categoryand resource-uriare lower-case.

For example, if you set the change-typein the routing key to created instead of Created, you do not receive any messages.

The routing key syntax is:

scmb.resource-category.change-type.resource-uri where:

scmbThe HP OneView exchange name.

resource-categoryThe category of resource. For a complete list of resources, see the HP OneView REST API Reference chapter in the online help.

change-type

The type of change that is reported. Valid values are Created,

 

Updated, and Deleted.

resource-uri

The URI of the specific resource associated with the state-change

 

message.

186 Using the State-Change Message Bus (SCMB)