Saturday, August 1, 2020

vCenter 6.7 Error "java.lang.reflect.InvocationTargetException" While joining AD


Symptom:

Unable to join VMware vCenter 6.7 in to AD domain. While attempting, it showing error "java.lang.reflect.InvocationTargetException"


java.lang.reflect.InvocationTargetException

Reason:

This is known Behaviors mostly seen in vCenter with External Platform Service Controller in HA Mode.

Solution:

Join vCenter to AD using Command Line.

1. Connect vCenter Server Appliance with SSH. (Login to PSC Appliance in case of External PSC)

2. Type "shell" to go to shell prompt.

3. Execute  "/opt/likewise/bin/domainjoin-cli join [domain] [user name]"
    Example: /opt/likewise/bin/domainjoin-cli join mylab.com labadmin"

/opt/likewise/bin/domainjoin-cli join

4. Enter the password of the AD user you specified in the command.

5. Reboot the Appliance with command "reboot"

6. Login again via ssh and verify AD join status with below command.
    /opt/likewise/bin/domainjoin-cli query

8 comments:

  1. hello with vcenter 8 when i use these commands it says successful and it queries back succesfully...however in vcenter the domain does now show up and not in any drop down boxes

    ReplyDelete
    Replies
    1. Does not show up...was supposed to say

      Delete

Enter Comments...