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
- Download and install the Java SE JRE or JDK.
- Add <JRE install directory>\bin to the Windows Path environment variable.
Step 3: Install & setup Python
- Download and install Python.
- Add <Python install directory> to the Windows Path environment variable.
- Download the Requests package.
- Install the package by opening a command window and executing the following command (update as appropriate for download location and filename):
Step 4: Install Python test scripts
- Download the Sample Python Scripts for Configuration Manager REST API and unzip them to any directory.
- 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.
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.