How to re-add the RHEV- Hypervisor in RHEV-M
Hi,
I have removed all the datacenter information from the RHEV-M manager and not i have created new Datacenter but i am not able to add the RHEV-H hosts "Name must be Unique", how to flush old host information from RHEV-M and the server in new cluster.
Responses
Have you actually removed the host? Each host has a unique ID, and that Id is held in the database.
If the host ID is recognized by RHEV Manager it means it's still defined, it may be floating though if you removed the data center first.
Please do the following:
On the tree pan please click the system object (if you have a data center selected instead you can't see floating hosts)
Then go to the host tab.
If the host is still defined in the system you should find it there.
Then you can just add it to the new data center or 'remove' it from the system.
Both operations should be done after placing the host into maintenance.
I hope this helps and I understood your system status correctly.
Simon
But if RHEV Manager still recognizes this host it means it is a floating host (Data center removed before the host)
You should be able to see it as I've said before - by looking at the hosts tab while the system object is selected in the tree pan on the left hand side of the screen (The top level of the host).
Please try it.
If it does not work, can you please show the output of
https://<rhevm-site>:8443/api/hosts
Is the hosts listed there?
(user:admin@internal , password is your admin password)
Hello Rohit,
Did you detach the Storage Domains from the Data Center? I would like to retrace the steps of what you did exactly, so I can understand the state you are in. Thing is, if you attach an unattached domain to a new Data Center, the data on the domain will be wiped.
Thanks,
Dan