Cloud Cruiser became HPE Consumption Analytics on Nov. 1st. You'll still see the old name in places while we update this site.

 

 

Consumption Analytics Documentation

Home > Cloud Cruiser 3 > Batch XML Reference > HP collectors > HPIOMeterCollector

HPIOMeterCollector

Table of contents
No headers

collects historical usage data from an HP Matrix Operating Environment using Matrix OE's infrastructure orchestration (IO) interface for chargeback. Collection content is based on a configuration provided by HPIOMeterFeedConfig .

NOTE: This collector does not provide many of the resource details available when collecting snapshot data using HPIOCollector .

Class

<bean class=”com.cloudcruiser.batch.collect.hp.HPIOMeterCollector”>

Properties

<property name="dataSourceConfig" value="dataSourceConfig
" />

Sets the connection information necessary to access the API of an HP IO server via HTTP or HTTPS.

<property name="dumpMessages" value="false" />

Sets a flag to enable or disable printing HTTP request and response contents. This is used for debugging.

<property name="feedConfig" ref="feedConfig
" />

Sets the feed configuration for this collector. The feed configuration defines the IO entity to collect and maps results into CC-Record content.

<property name="printEntityXML" value="false" />

Sets a flag to enable or disable printing API results in XML format. The default is false .

<property name="xmlOutput" value="xmlOutput
" />

Sets a resource for writing out each document prior to processing to assist with data mapping and debugging. This should not be left active in a production environment.

The resulting file content may need some attention before it is compatible with an XML editor since there will be multiple root nodes. It is recommended to pull out documents of interest into a separate file for inspection using XML tools. Namespace definitions are not included.

Spring Batch XML Example

<batch:step id="collect" next="assemble">
  <batch:tasklet>
    <bean class="com.cloudcruiser.batch.CCRecordCollectTasklet">
      <property name="active" value="true" />
      <property name="feedName" value="plano" />
      <property name="singleFeedPerDay" value="false" />
      <property name="collector">
        <bean class="com.cloudcruiser.batch.collect.hp.HPIOMeterCollector">
          <property name="dataSourceConfig">
            <bean class="com.cloudcruiser.batch.collect.hp.HPIODataSourceConfig">
              <property name="endpoint" value="https://10.30.34.1:55443/hpio/chargeback/soap/v1" />
              <property name="username" value="{username}" />
              <property name="password" value="{password}" />
            </bean>
          </property>
          <property name="feedConfig" ref="feedConfig" />
        </bean>
      </property>
    </bean>
  </batch:tasklet>
 </batch:step>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP