The Join Domain predefined task allows a Windows virtual machine to join an Active Directory domain as part of the deployment process. The predefined task starts the Windows Domain Manager Netdom.exe utility, to automate this operation.

About this task

With the predefined task, you do not need to manually configure a Windows virtual machine template with static domain settings and you can customize the task. The predefined task requires an extra restart cycle to complete the process of joining an Active Directory domain.

Prerequisites

Procedure

  1. On the Application Services title bar, click the drop-down menu and select Applications.
  2. Click the name of a Windows-based application.

    A list of application versions appear.

  3. Select an application version.
  4. Create a deployment profile.
  5. In the Deployment Profile wizard, follow the prompts to Execution Plan.
  6. If the node is clustered, click Expand Cluster (Expand cluster button).

    If the clustered node is not expanded, the predefined task is added only to the first virtual machine in the cluster.

  7. Click Add Script Task (Add a script task) and drag a predefined task in the blueprint.

    When you drag a predefined task, you see anchors (Task anchor) that indicate where you can drop the predefined task.

    After you drag and drop a predefined task to a node, the Add Custom Task dialog box appears.

  8. Select the predefined task from the Library Task Name drop-down menu.

    The supported operating systems, predefined task details, script, and property details appear.

  9. On the Properties tab, configure the properties.
    1. Select the domain_name property, type a new name for the Windows domain in the Edit Property dialog box, and click Save.
    2. Select the domain_user property, specify the name of the domain user who can join the Active Directory in the Edit Property dialog box, and click Save.
    3. Select the domain_password property, type the domain user password in the Edit Property dialog box, and click Save.
    4. (Optional) : Select the apply_ou property, change the new value to Yes in the Edit Property dialog box to allow a specific organization unit in the Active Directory domain to join a Windows virtual machine, and click Save.
    5. (Optional) : Select the domain_ou property, specify the organization unit in the Active Directory domain in the Edit Property dialog box, and click Save.
  10. Click OK.

    The Join Domain predefined task is added to the execution plan.

  11. Review the deployment profile settings and deploy the application.

What to do next

Explore whether to add a customized task to the Application Services library. See Add a Custom Task to the Library.