Defining and running a process to deploy a WebSphere cell

Once the template is loaded into Code Station, you can define and run a process that deploys configuration to WebSphere® cell or cluster.

Procedure

  1. 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.
  2. In Urbancode Deploy, go to Resources.
  3. Click Create Top-Level Group to create a group.
  4. Add an agent.
    1. Hover over the row for the resource group, click Actions, and select Add agent.
    2. 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.
    3. Hover over the row, then click Edit.
    4. 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.

    5. Click Save.
  5. Set Auto configure options for WebSphereCell.
    1. Hover over the row for WebSphereCell, click Actions, then click Auto Configure.
    2. Click No auto configure for resource.
    3. Check Websphere Topology Discovery box.
    4. Click OK.
    5. Click Save.
    6. 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.
    7. On the WebSphereCell entry, click Edit. Check that Cell Name was filled in and is correct.
  6. Add a component for the scope.
    1. Hover over the row for WebSphereCell or the desired cluster, then click Add component.
    2. Select the component that corresponds to the scope. It was provided by the template.
    3. Click Save.
  7. Create environment property definitions for the components. Create only one per component.
    1. Click on the component, then the Configuration tab, then Enviroment Property Definitions.
    2. 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.
  8. Create the application.
    1. Go to Applications.
    2. Click Create New Application.
    3. Enter an application name, then click Save.
    4. Click the Components tab, then add the component that was created by the template generation procedure.
  9. Create an application environment.
    1. In the Resources tab, click Create New Environment.
    2. Enter an environment name, then click Save.
    3. Go to the environment editing page.
    4. Click on the environment name, then click Add Base Resource. Choose the top-level group from Step 4 above.
    5. Edit the environment properties for the component. Click Configuration > Environment Properies. 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.
  10. Create a process of type Deployment for configuration and deployment. Do not use type Configuration Deployment.
    1. Click the Processes tab.
    2. Add a deploy step.
    3. 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.

    4. Click Save.
    5. Save the process.
  11. Run the process to test it.

Feedback