VMware Workspace ONE Community
mfleurisson
Enthusiast
Enthusiast
Jump to solution

Unable to add additional CONNECTOR

Hello !

I'm trying to add an additional connector-va whith hznAdminTool :

hznAdminTool addvm --type=CONNECTOR --ip=xxx.xxx.xxx.xxx --useGatewayAsIDP=y --directoryPassword=xxx

Please verify the configuration for new VM -

      TYPE                           :    CONNECTOR

      IP Address                     :    172.16.106.18

      Hostname (DNS resolved)        :    hzn-connector2.hosting.corp

      Gateway as IDP                 :    YES

      Leave VM under maintenance     :    YES (default)

   Is this configuration correct? (y/n - n will exit command) [y]:

When i type y :

-bash: y: command not found

[1]+  Stopped                 hznAdminTool addvm --type=CONNECTOR --ip=xxx.xxx.xxx.xxx --useGatewayAsIDP=y --directoryPassword=xxx

And nothing happen ....


Please Help !!!

0 Kudos
1 Solution

Accepted Solutions
sravuri
VMware Employee
VMware Employee
Jump to solution

Do you have any special characters in the directoryPassword? If so, you may need put it in quotes.

Also, can you add the --silent option to the command and run, this will make the command proceed, without asking you to type anything.

View solution in original post

0 Kudos
6 Replies
admin
Immortal
Immortal
Jump to solution

This is very weird, please open a ticket with VMware support to get adequate help, thanks in advance! The solution will be posted back here once found.

0 Kudos
sravuri
VMware Employee
VMware Employee
Jump to solution

What happens if you just type "Enter", instead of y

0 Kudos
mfleurisson
Enthusiast
Enthusiast
Jump to solution

idem !!

0 Kudos
sravuri
VMware Employee
VMware Employee
Jump to solution

Do you have any special characters in the directoryPassword? If so, you may need put it in quotes.

Also, can you add the --silent option to the command and run, this will make the command proceed, without asking you to type anything.

0 Kudos
sravuri
VMware Employee
VMware Employee
Jump to solution

Also, just to debug more, can you run another hznAdminTool command?

You can try

hznAdminTool listvms

0 Kudos
mfleurisson
Enthusiast
Enthusiast
Jump to solution

I have a special caracter in my password and put it in quotes resolves my problem !

Thanks a lot !

0 Kudos