Administer environments

As the Application Deployment administrator, you can manage the available environments for application deployment. You can do the following:

Each of these processes is described briefly below—all topics assume that you have Application Deployment administrator privileges.

Creating a new environment

You must have permission to Manage Application Deployment in order to administer environments (see Set permissions).

You can create a new environment and make it available to specific users or user groups. You can specify an OO flow to initiate prior to each deployment and another to initiate after each deployment.

Environments in the Application Deployment context are mirrored as SA device groups. When you create a new environment, the corresponding device group will be visible after the next synchronization occurs.

  • To force an immediate synchronization, right-click an environment and select Export.
  • To view the mirrored device group, right-click an environment, and select View Device Group.

To create a new environment:

  1. Go to the Administration screen (click Administration in the lower left corner).
  2. In the left panel, click Environments.
  3. In the right panel, click the “Create Environment” button: . The New Environment dialog opens.
  4. On the Details tab, specify the following properties:
    • Name – enter a unique name (see Naming rules).
    • Initial Status – specify the default status of the environment. This determines whether an environment is, by default, able to accept applications or if it requires explicit permission for every version. Users with permission to deploy to this environment will be able to change this status on the Deployment screen.
    • Undeploy – select this box to establish the default auto-undeploy setting. The user can override this setting.
  5. On the Permissions tab, specify which users are allowed to View, Edit, and Deploy to this environment.
    • Users with View permission can see this environment in the Select Targets drop-down list (on the Targets and Deploy screens) and the Manage Targets tool (accessible from the Targets screen).
    • Users with Edit permission can open the Edit Environment dialog and change the properties of the environment. They can also create and modify targets.
    • Users with Deploy permission can deploy applications (that they have permission to deploy) to this environment.

      To specify user permissions, follow these steps:

    1. Select an individual user or user group from the Choose User list.
    2. Click the “Add User” button: .
    3. Select the View, Edit, or Deploy permissions that you want to grant.
    4. Repeat step a through step c for each user or group to whom you want to grant permissions.
    5. Optional: If you want to remove a user or group from the list, select that user or group in the list, and click .
  6. Optional: On the Pre-Deployment Flow tab, select the OO flow that you want to initiate just prior to all deployments on target servers in this environment. For example, you might want to disable monitoring in the Production environment prior to deploying.

    Click the Change button, and select a flow from the OO library. Double-click the Value cell for any parameter whose value you want to change (see Parameters and special variables).

    You can reference a global parameter or release parameter when specifying parameter values for the Pre-Deployment or Post-Deployment OO Flow (see Parameters and special variables).
  7. Optional: On the Post-Deployment Flow tab, select the OO flow that you want to initiate immediately after all deployments on target servers in this environment. For example, you might want to re-enable monitoring after a deployment.
  8. Click OK to close the New Environment dialog and save your changes.

Changing permissions for an environment

You must have permission to Manage Application Deployment in order to administer environments (see Set permissions).

You can change the View, Edit, and Deploy permissions for any environment. See step 5 under Creating a new environment for instructions.

Specifying OO flows for an environment

You must have permission to Manage Application Deployment in order to administer environments (see Set permissions).

You can change the Pre-Deployment and Post-Deployment Flows for any environment. See step 6 and step 7 under Creating a new environment for instructions.

Deleting an environment

You must have permission to Manage Application Deployment in order to administer environments (see Set permissions).

You can delete any existing environment that is not In Use (used in a version that is currently deployed to a target server or part of a lifecycle).

To delete an environment:

  1. Go to the Administration screen (click Administration in the lower left corner).
  2. In the left panel, click Environments.
  3. In the right panel, select the environment that you want to delete.
  4. Click Delete.
  5. Click Yes to confirm.

If you want to delete an environment that is In Use, you must first undeploy all versions that use that environment. You must also remove the environment from any lifecycles to which it belongs.