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.
Before you begin
Create a top-level resource group to contain your agents.
See
Creating groups.
Procedure
- Install an agent on the IBM WebSphere Application Server system.
- 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.
- On the IBM UrbanCode Deploy server,
go to the Resources tab.
- Next to a resource, click Actions and
then click Add Agent.
- 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.
- Click the WebSphere Application Server cell
resource and then click . This
resource has the WebSphereCell role, which includes
several properties that are related to the cell.
- 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:
- Click Save.
- On the Resources tab, next to the
cell resource, click Actions and then click Auto
Configure.
- In the Auto Configure window, click
the Steps field, select the check box next
to the WebSphere Topology Discovery step, and
then click OK.
- 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:
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.