Importing resources from WebSphere Application Server

Use the WebSphere® Application Server - Deployment plug-in to import information about an IBM® WebSphere Application Server system into a collection of resources. Typically, importing information by using the plug-in takes less time than manually creating resources to match the IBM WebSphere Application Server.

Before you begin

Procedure

  1. On the IBM UrbanCode™ Deploy server, click Resources to view the Resource Tree tab.
  2. If the wsadmin file is in a different location than one of the default locations, specify the file location as the value of the property wsadmin.path on the agent resource.

    The default location of the wsadmin 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.

  3. If you are using WebSphere Application Server version 6.1 or later, but prior to version 7, set the websphere.profilePath parameter on the resource that contains the agent resource:
    1. On the WebSphere Application Server system, find the location of the file portdef.props.
    2. On the IBM UrbanCode Deploy server, on the resource that contains the agent resource, set the property websphere.profilePath to the location of the portdef.props file.
  4. Next to the top-level group, click Actions and then click Add Agent.
  5. In the Create Resource window, select the agent and then click Save. The new agent resource is displayed in the resource tree. Eventually, another resource is displayed under the agent resource. This resource is named WebSphereCell and represents the WebSphere Application Server cell. You might need to click Refresh to see the cell resource, and it can take several minutes for the cell resource to be displayed.
  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 user name 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 Configure using WebSphere Topology Discovery. The discovery step runs. This step might take several minutes. A log is displayed to show progress.
  10. When the discovery process completes, close the log window, and then refresh the resource tree.

Results

Resources that represent the WebSphere Application Server components are displayed in the resource tree. These new resources appear under the agent resource that you used to import the WebSphere Application Server components. 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