Once the template is loaded into Code Station,
you can define and run a process that deploys configuration to WebSphere® cell or cluster.
Procedure
- Install the Application Deployment for WebSphere plug-in and the Middleware Configuration
for Websphere plug-in. To install the plug-ins, see Installing plug-ins.
- In Urbancode Deploy, go to Resources.
- Click Create Top-Level Group to
create a group.
- Add an agent.
- Hover over the row for the resource group, click Actions,
and select Add agent.
- Wait 10 to 30 seconds, then click Refresh. A twisty is now next to the agent. When you expand it, there
is a sub-resource cell, WebSphereCell.
- Hover over the row, then click Edit.
- Enter values for the following properties.
- WebSphere Profile
Path
- WebSphere User
- WebSphere Password.
If this value is left blank, soap.properties is used
to locate the password for the user.
Leave the Cell Name property blank.
- Click Save.
- Set Auto configure options for WebSphereCell.
- Hover over the row for WebSphereCell,
click Actions, then click Auto Configure.
- Click No auto configure for resource.
- Check Websphere Topology Discovery box.
- Click OK.
- Click Save.
- Wait 30-60 seconds, then click Refresh. A twisty is now next to WebSphereCell.
Expand it and make sure the resource tree matches your WebSphere Application Server topology.
- On the WebSphereCell entry, click Edit. Check that Cell Name was filled in and
is correct.
- Add a component for the scope.
- Hover over the row for WebSphereCell or
the desired cluster, then click Add component.
- Select the component that corresponds to the scope.
It was provided by the template.
- Click Save.
- Create environment property definitions for the components. Create only one per component.
- Click on the component, then the Configuration tab,
then Enviroment Property Definitions.
- Add custom tokens that are prefixed with websphere. You can also add default values to be substituted for the tokens
during the configuration process for the environment.
Note: You can
copy and paste the custom token keys and values from the promote.properties file
used during template generation.
- Create the application.
- Go to Applications.
- Click Create New Application.
- Enter an application name, then click Save.
- Click the Components tab, then
add the component that was created by the template generation procedure.
- Create an application environment.
- In the Resources tab, click Create
New Environment.
- Enter an environment name, then click Save.
- Go to the environment editing page.
- Click on the environment name, then click Add
Base Resource. Choose the top-level group
from Step 4 above.
- Edit the environment properties for the component. Click . In the Component Environment
Properties list, enter values for each property shown.
Note that values are already filled in with default values if you
provided them above.
- Create a process of type Deployment for
configuration and deployment. Do not use type Configuration
Deployment.
- Click the Processes tab.
- Add a deploy step.
- Drag and drop the Install Component step
onto the process editor, select the template component (from template
generation), and choose the Configure all (Template))
component process.
This is the only process created
by default. Custom processes can be created.
- Click Save.
- Save the process.
- Run the process to test it.