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 !!!
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.
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.
What happens if you just type "Enter", instead of y
idem !!
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.
Also, just to debug more, can you run another hznAdminTool command?
You can try
hznAdminTool listvms
I have a special caracter in my password and put it in quotes resolves my problem !
Thanks a lot !