Hi.
I need add 3 hosts to vMA.I dont have domain controller.
1. I deploy fresh vMA from OVF and configure IP and password for vi-admin.
2. Add first ESX01 host with success. ( vifp addserver esx02 --authpolicy fpauth )
3. Added second and third ESXi finish with fail.(commands bellow)
vi-admin@vma02:~> vifp addserver esx02 --authpolicy fpauth
root@esx02's password:
vi-admin@vma02:~> vifp listservers
esx02.localdomain ESXi
vi-admin@vma02:~> vifp addserver esx03 --authpolicy fpauth
root@esx03's password:
Error: Failed to add users
in vSphere client we can see something that:
![vma01.png]()
During above tasks is creating vi-user and next vi-admin. After several seconds vi-admin is removed(i dont know why...)
/var/log/vmware/vma/vifpd.log on vMA
[2016-04-07 19:51:07.186 7F220CD47700 info 'App'] command-> 1
[2016-04-07 19:51:07.187 7F220AEC7700 info 'App'] ADDSERVER
[2016-04-07 19:51:07.197 7F220CD47700 info 'App'] MessageQueue::RecvMessage - Queue id is 0
[2016-04-07 19:51:07.595 7F220AEC7700 info 'App'] MessageQueue::SendMessage - Queue id is 0
[2016-04-07 19:51:12.144 7F220CD47700 info 'App'] command-> 1
[2016-04-07 19:51:12.145 7F220CD47700 info 'App'] MessageQueue::RecvMessage - Queue id is 0
[2016-04-07 19:51:12.145 7F220AE45700 info 'App'] ADDSERVER
[2016-04-07 19:51:12.504 7F220AE45700 info 'App'] Already connected.
[2016-04-07 19:51:12.509 7F220AE45700 info 'App'] Already connected.
[2016-04-07 19:51:30.308 7F220AE45700 info 'App'] permissions set for vi-admin00@esx03.localdomain
[2016-04-07 19:51:30.345 7F220AE45700 info 'App'] credstore: added user vi-admin00@esx03.localdomain to credstore of vi-admin
[2016-04-07 19:51:30.361 7F220AE45700 info 'App'] can take ownership of user vi-user01@esx03.localdomain.
[2016-04-07 19:51:30.361 7F220AE45700 warning 'App'] taking ownership of vi-user01@esx03.localdomain as it seems to be created by us.
[2016-04-07 19:51:52.534 7F220AE45700 error 'App'] addserver: Error occured while adding users for esx03.localdomain ..rolling back. Error in Vma
core.
[2016-04-07 19:51:52.582 7F220AE45700 info 'App'] user vi-admin00@esx03.localdomain is created by vifp. Removing it...
[2016-04-07 19:51:52.703 7F220AE45700 info 'App'] failed to remove permissions for vi-admin00@esx03.localdomain.
[2016-04-07 19:51:52.704 7F220AE45700 info 'App'] removed user vi-admin00@esx03.localdomain.
[2016-04-07 19:51:52.733 7F220AE45700 info 'App'] user vi-admin00@esx03.localdomain is removed from credstore of vi-admin.
[2016-04-07 19:51:52.768 7F220AE45700 error 'App'] Failed to add users
[2016-04-07 19:51:52.768 7F220AE45700 info 'App'] MessageQueue::SendMessage - Queue id is 0
[2016-04-07 19:51:52.772 7F220AE45700 info 'App'] MessageQueue::SendMessage - Queue id is 0
In which logs can i find something more ?
var/log/vmkernel.log on host is not clear for me... but if somebody will ask i will paste.
What should i do more ? i want only add 3 esxi servers to vMA and next login to those esxi without puting passwords.
Interesting is when i deployed next vMA02 and VM03 i can only add one esxi to vMA. During adding Second and third esxi generate that same errors... Now i have 1 vMA for each host .....
Please about suggestion and help.... because my adventure with vMA is not good... last time i was problem with this vMA 5.5 The session is not authenticated after connect to target ESXi and dont resolved this in my second lab...
Sebastian