Configuring and deploying WebSphere Portal artifacts

Discover resources for a portal cell and use plug-in steps to deploy artifacts.

Before you begin

Procedure

  1. Install the WebSphere Portal plug-in.
    1. In UrbanCode Deploy, go to Settings > Automation Plugins.
    2. Click Load Plugin.
    3. In the dialog, click Choose File, then choose the WebSpherePortal-<version>.zip file.
    4. Click Submit.
    .
  2. Install the Application Deployment for WebSphere® plug-in. Skip this step if it is already installed.
  3. 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.
  4. 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. It will contain deployable artifacts for WebSphere Portal (theme, PAA, WAR, ConfigEngine command, XMLAccess script)
    7. On the WebSphereCell entry, click Edit. Check that Cell Name was filled in and is correct.
  5. Define properties for resources. Click on the resource, then the Configuration tab, then Resource Properties.
    • For ND topology, define the properties for Portal Cluster, Portal Primary Node, and Portal Secondary Node resources.
    • For stand-alone topology, define the properties for the Portal Node resource.

    Define the following properties:

    • portal.home: Portal installation directory
    • portal.profile.home: Portal profile directory
    • portal.admin.user: Portal administrator user name
    • portal.admin.password: Portal administrator password
    • portal.config.port: Portal configuration port
    • websphere.password: WebSphere administrator password
  6. Create components for the resources. You need one component for each resource to deploy.
  7. Add the components to the resources.
    1. Go to the resource.
    2. Choose Actions > Add Component
    3. Select the component to use.
  8. Create the application.
    1. Go to Applications.
    2. Click Create New Application (if one does not exist). You can also use an existing application that is attached to the cell to manage.
    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 group for your exemplar cell and environment.
    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 an application process of type Deployment for configuration and deployment.
    1. Click the Processes tab.
    2. Add a deploy step.
    3. Drag and drop the Install Component step onto the process editor.
      1. Select the component to use. You created this component for the resource. For example, you created a component to contain a Portal WAR file to be deployed.
      2. Choose the process for the component. For example, you would choose Deploy Portal WAR file for a Portal WAR file component.
    4. Click Save.
    5. Save the process.
  11. Run the process to test the newly created component.

Feedback