top of page

RECENT POSTS: 

FOLLOW ME:

  • LinkedIn App Icon
  • Twitter Clean Grey

IBM API Management Installation Guide

This is a detailed Step by Step instruction to Installion, Configuration & Validation of IBM API Management Version 3.0.4

IBMAPIPlatform.png

Overview

The two main components of API Management are the Management Node and Gateway Node. In version 3.0.4 API Manger provides the Analytics and Assembly function and they do not need to be configured separately.

The Management node [API Management VM] manages the operations of the various nodes in the IBM API Management environment and provides the tools to interface with the various nodes. The Environment Console, API Manager and Developer portal user interfaces run on the

Management node.

The Gateway node [IBM Datapower IDG VM] process and manages security protocols and stores relevant user and appliance authentication data.

To provide high availability in your environment you can deploy two or more of each node type. In an environment with two Management nodes you need to define an external load balancer to distribute requests across the Management nodes.

Consider whether you plan to use a combination of physical and virtual appliances, or, only virtual images.

Required Software

1. VMWare Worskstation or VMPlayer

2. VMWare ESXI 5.5x

3. VMWare vSphere Client 5.5

4. IBM Datapower XI52 or IDG VMWare Hypervisor Image

5. IBM API Management 3.0.4 VMWare Image

Installation of VMWare Tools

1. Install VMWare Player

API Management - 1.png

Shown here is the version of VMWare Player i.e. Version 6.0.3

2. Install ESXi Image

a. Choose the ESXI ISO Image using the New Virtual Machine wizard

API Management - 2.png

b. The VMWare Player Auto detects the Image Name

API Management - 3.png

c. Specify the disk capacity

API Management - 4.png

d. Finalize the Virtual Machine creation

API Management - 5.png

e. Once the Virtual Machine boots up you will enter the below screen

API Management - 6.png

f. The rest of the installation & configuration process is available in the below video

Specify the Static IP Address.

You can specify the IP Address obtained automatically from DHCP as the Static IP Address

Leave the hostname and domain name as localhost and localdomain if you do not have a dedicated domain

3. Install the vSphere Client

Once the vSphere Client is installed, log into the ESXI server using the static ip address and the username and password you provided while installing

API Management - 7.png

The trial license is valid for only 60 days. If you have a permanent license enter the license in the vSphere client by accessing the Inventory -> Configuration -> Licensed Features -> Edit -> Assign new license key to host

API Management - 8.png

Installation & Configuration of Datapower IDG VM

The Datapower IDG functions as the Gateway Node

Installation

1. In the vSphere Client, choose File -> Deploy OVA Template and Choose the IDG OVA Image

API Management - 9.png

2. Here we are installing version 7.1.0.1

a. Click Next and Accept the License Agreement

b. In the Configuration, choose Standard or Enterprise Configuration, depending on requirements

c. In the disk format screen, choose Thin Provision. This is my preference. But you can learn more about it in the below blog

http://blogs.vmware.com/vsphere/2012/03/thin-provisioning-whats-the-scoop.html

NOTE: If you are planning to run many VMWare Images simultaneously, remember to create a large datastore during ESXi Installation if you do not have access to create new LUNs or access to SCSI hard disks. If you are installing in your laptop or desktop create 1 large datastore. In my case a created a 100GB datastore

API Management - 10.png

In the next screen for Network Mapping just hit Next. All the NICs point to the same VM Network

In the summary screen check if your settings are right and hit Finish

The deploy takes about 3 minutes. Once It is deployed successfully the inventory will be updated with the entry for WebSphere Datapower IDG

Once the deploy is complete the ESXi inventory is updated with the entry for Datapower

API Management - 11.png

IDG Virtual Appliance Configuration [Gateway Node]

Power on the Virtual Machine

Once the VM is powered on and booted, it will take you to the login Prompt

Login: admin

Password: admin

API Management - 12.png

Answer No to the below 2 questions

1. Enable Secure Backup Mode? N

2. Enable Common Criteria Compatibility Mode? N

It will prompt you to enter new password and confirm. Enter a password you can remember twice

API Management - 13.png

API Management - 14.png

Run the Install Wizard

Step 1: Configure Network Interfaces

Since the ESXi Host is configured with the Static IP address, it will serve as the DNS & Gateway IP Address.

Here the ESXi IP address is 192.168.16.128. We can increment the last 3 digits by one and assign the IP Address of 192.168.16.129 to Datapower IDG virtual appliance.

For Home Networks it's preferable to have the CIDR notation as 192.168.16.129/24

API Management - 15.png

Step 2: Configure Network Services

Here we say ‘Yes’ to both the questions and the IP address of the DNS Server will be the IP address of ESXi

API Management - 16.png

Step 3: Configure System Identifier

This is an optional parameter that is not required. You can specify a valid identifier

API Management - 17.png

Step 4: Configure Remote Management Access

Choose ‘Yes’ to configure remote management access, Web UI access and enable SSH

The IP Address is the IP specified above for the Datapower IDG VM

API Management - 18.png

Step 5: Configure user account to reset passwords

Specify an account other than ‘admin’. If you specify admin you have to reset the admin password to something new.

API Management - 19.png

Step 6: Configure RAID Array

This is an optional step. If you would like to create a RAID array, follow the steps below

API Management - 20.png

Step 7: Save the configuration

API Management - 21.png

Validate Web UI Access

Access the Web UI using the IP Address and port number you specified.

Here you specify https://192.168.16.129:9090/

Add the security exception and it will take you to the login page

API Management - 22.png

Enter the admin id and password you specified in the above steps in the login page.

API Management - 23.png

Accept the Software License Agreement

API Management - 24.png

This takes a few minute to complete processing.

Now you have completed the Datapower IDG install. You can follow the same steps for Datapower XI52 as well

Configure NTP on the Gateway Node

Consider configuring NTP on every node to ensure that there is a consistent time view.

Any differences in the clocks across the nodes can cause problems.

Enable Windows NTP Server

Here I am performing the installation on a Windows 2008 Server.

Go to Local Group Policy Editor -> Computer Configuration -> Administrative Templates -> System -> Windows Time Service -> Time Providers -> Enable Windows NTP Service

API Management - 26.png

Enable Datapower NTP Service

Login to Datapower CLI using SSH

API Management - 27.png

1. Log in to the CLI of the Datapower IDG Virtual Appliance 2. Enter co 3. Enter ntp-service 4. Enter admin-state enabled 5. Enter remote-server <IPaddress> 6. Enter exit 7. Enter write mem

To validate:

Enter show time

API Management - 28.png

Enable the XML Management Interface Port

The XML Management Interface port must be enabled for IBM API Management. For each Gateway node complete the following steps to enable the port number that is used to monitor incoming management requests

API Management - 29.png

Enable and Save Configuration.

API Management - 30.png

Installation & Configuration of API Management VM

Installation

Deploy the API Management OVA Template.

API Management - 31.png

API Management - 32.png

API Management - 33.png

API Management - 34.png

API Management - 35.png

API Management - 36.png

API Management - 37.png

Configuring the Management Node

The API Management Appliance serves as the management node
API Management - 38.png

Login: admin

Password: !n0r1t5@C

API Management - 39.png

IP Address is automatically assigned. In the below screenshot you can see the IP Address as 192.168.16.131

API Management - 40.png

Run the below commands to verify

API Management - 41.png

By default it is configured to use DHCP. If you want to change this to static, run the below commands.

1. Set the host name for the management interface: none/Standalone> net set hostname static appliancehostname

2. Set the DNS domain name: none/Standalone> net set domain static domain-name

3. Set the DNS name server: none/Standalone> net set nameserver static dns-ipaddress

4. Set the network address for the management interface: none/Standalone> net set eth<n> address ipaddress mask netmask [bcast broadcast]

5. Set the address of the default gateway for your TCP/IP network: none/Standalone> net set gateway static ip-address {eth<n>|none}

We will configure the Gateway using the cloud management console.

Configure Cloud Management Console

Access the cloud management console using the below url.

https://192.168.16.131/cmc

API Management - 42.png

The link will take you to the API Management Login page for Cloud Management Console.

Enter the admin Username and Password. admin, !n0r1t5@C

API Management - 43.png

Accept the License Agreement

API Management - 44.png

You will be prompted to change the password and add an email address.

API Management - 45.png

API Management - 46.png

Upon Initial Login you will see the below screen

API Management - 47.png

  • The cluster consists of the first server that you defined during the IBM API Management installation.

  • You must define your initial Gateway cluster before you configure the rest of your API Management on-premises cloud. A cluster can contain one or more of the same types of servers.

API Management - 48.png

Upon Initial Login you will see the below screen

To configure the Cloud Management Console settings for the initial Gateway cluster, complete the following steps:

  • In the navigation section of the Cloud Management Console, click the Clusters icon

Cluster.png

The Clusters page opens.

  • In the Gateway Clusters pane, click Settings.

Optional: To change the name of the name of the Gateway cluster, enter a new value in the Name field.

  • In the Address field, enter the virtual IP address or host name that is to be used for inbound API calls, or of an external load balancer if one is being used.

API Management - 49.png

Add the Gateway Server. This is the Datapower IP Address and the XML Management Interface port and the Login and Password.

API Management - 50.png

API Management - 51.png

This configuration completes the initial Management & Gateway cluster configuration

Steps to Access API Manager

Use the API Manager UI to define APIs and to securely manage your API environment. You can also analyze your API usage by using the analytics that are provided and socialize your APIs in a developer portal.

Before you can access the API Manager UI, you must activate the user account that your Cloud Management Console administrator invited you to join. For you to be able to send the invitation you need to first configure the SMTP Server settings in the Cloud Management Console.

Choose Settings and scroll down to Email settings.

Set the Email SMTP Server Settings. Save and Test the configurations

API Management - 52.png

Create an Organization and Add Owner. You will be prompted to enter an email id for a new user. Once you save an invitation is sent for API Manager.

API Management - 53.png

Add User

API Management - 54.png

A welcome email will be sent to the specified email address

API Management - 55.png

Click on the link in the email and it will take you to the login page for API Manager.

API Management - 56.png

API Management - 57.png

API Management - 58.png

Shown below is the Home Page for API Manager, for the organization you created.

API Management - 59.png

Add Additional Users for different Roles in the Cloud Management Console. The admin id only serves as the Cloud Owner. You require additional ids to perform the role of Cloud Administrator and Organization Manager.

For all new users, an email invite is sent out. You need to click on the link for you to be added as an active user.

API Management - 60.png

API Management - 61.png

API Management - 62.png

This covers the basic install and configuration for IBM API Management.

#IBMAPIManagement #IBMAPIManagementInstallation #InstallationConfigurationofDatapowerIDG

bottom of page