Importing resources from WebSphere Application Server

With the Application Deployment for WebSphere® plug-in, you can import information about an IBM® WebSphere Application Server system into a collection of resources. Importing the information in this way saves time over manually creating resources to match the server.

Procedure

  1. Install an agent on the IBM WebSphere Application Server system.
  2. If the wsadmin file is in a different location than one of the default locations, specify an agent property named wsadmin.path on the agent. Then, specify the location of the wsadmin file as the value of this property.

    The default location of this file on Linux is /opt/IBM/WebSphere/AppServer/bin/wsadmin.sh. The default locations on Windows are C:\IBM\WebSphere\AppServer\bin\wsadmin.bat and C:\Program Files\IBM\WebSphere\AppServer\bin\wsadmin.bat.

    For information about specifying properties on agents, see Setting agent properties.
  3. On the IBM UrbanCode Deploy server, go to the Resources tab.
  4. Next to a resource, click Actions and then click Add Agent.
  5. In the Create New Resource window, select the agent and then click Save. The new agent resource appears in the resource tree. In a short time, another resource appears under the agent resource. This resource is named WebSphereCell and represents the WebSphere Application Server cell.
  6. Click the WebSphere Application Server cell resource and then click Configuration > Basic Settings. This resource has the WebSphereCell role, which includes several properties that are related to the cell.
  7. In the section that is labeled Role Properties for the WebSphereCell role, specify the connection information for the cell, including the locations of the profile and wsadmin file and the username and password for the WebSphere Application Server system, as in the following figure:
    Specifying the information for the cell resource
  8. Click Save.
  9. On the Resources tab, next to the cell resource, click Actions and then click Auto Configure.
  10. In the Auto Configure window, click the Steps field, select the check box next to the WebSphere Topology Discovery step, and then click OK.
    Specifying the information for the cell resource
  11. Click Save to close the Auto Configure window.

Results

The server and agent retrieve information about the installation of WebSphere Application Server. In a few minutes, resources that represent the server components appear in the resources tree. Each node, cluster, and server has a matching resource. The following figure shows resources that represent a WebSphere Application Server system with three nodes:
Resources that represent the components of a WebSphere Application Server system, under the agent in the resource tree

What to do next

Now you can add these resources to an environment by opening the Resources tab for the environment and clicking Add Base Resources.

Feedback