Install Hitachi Configuration Manager REST API

Document created by Jeff Maaks on Mar 26, 2016Last modified by Craig Chan on Feb 23, 2017
Version 6Show Document
  • View in full screen mode

This guide is written for users installing Hitachi Configuration Manager for use with the REST API.  For full documentation on installing the Configuration Manager REST API, see Configuration Manager REST API Reference Guide.

 

This guide is written assuming your Configuration Manager environment is running on Windows, and that the test Python scripts will be installed on the same machine.

 

Step 1: Check your Configuration Manager version and configuration

 

You'll need to be running Hitachi Configuration Manager version 8.4.1 or higher in order to use the Configuration Manager REST API.  Configuration Manager can be run on Windows 7 SP1 or later (in addition to Windows Server 2008 R2, 2012, 2012 R2), as well as Linux RHEL 5.8 or higher and SUSE Linux Enterprise Server 11 or higher.

 

Step 2: Install & setup JRE

 

  1. Download and install the Java SE JRE or JDK.
  2. Add <JRE install directory>\bin to the Windows Path environment variable.

 

Step 3: Install & setup Python

 

  1. Download and install Python
  2. Add <Python install directory> to the Windows Path environment variable.
  3. Download the Requests package
  4. Install the package by opening a command window and executing the following command (update as appropriate for download location and filename):

Picture1.png

 

Step 4: Install Python test scripts

 

  1. Download the Sample Python Scripts for Configuration Manager REST API and unzip them to any directory.
  2. Open a terminal window and change to this directory.

 

Step 5: Verify Configuration Manager REST API is working

 

At this point, you now have a running Configuration Manager / Python environment.

 

  1. Open a browser and go to the following URL:

    Pic.png

 

Congratulations!  You now have used the Configuration Manager REST API to query Command Suite!

 

Where to go next

 

At this point you should have a working Configuration Manager REST API environment running.  Go to the simple Configuration Manager REST API examples document next.

Attachments

    Outcomes