Book Image

VMware vSphere 5.5 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.5 Cookbook

By: Abhilash G B

Overview of this book

Table of Contents (22 chapters)
VMware vSphere 5.5 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring VMware vMA to join an existing domain


VMware vMA can be configured to join an Active Directory domain and subsequently use an AD user to log in to the appliance and run the remote commands against the targets.

Tip

The vi-user account cannot be used to run commands against AD targets. To be able to run commands on an AD target, you should either use the vi-admin account, or log in to the vMA appliance using an AD user.

How to do it…

The following procedure will guide you through the steps required to configure vMA to join an existing Active Directory domain:

  1. Log in to the vMA console or SSH to it as the vi-admin user.

  2. Issue the following command to add the vMA appliance to the domain:

    Syntax:

    sudo domainjoin-cli join <domain-name> <domain-admin-user>
    

    Example:

    sudo domainjoin-cli join vdescribed.com domuser
    

    Output:

  3. Reboot the vMA appliance by issuing the sudo reboot command.

  4. Check whether the domain login was successful by issuing the following command:

    sudo domainjoin-cli query...