I am working with NSX 6.2.3 for VCAP-Deploy exam preparation,
after deploying 2 controllers, NSX manager was powered off by me while deploying the third controller and i can not add any other controllers even it shows only 2 controllers in the cluster when i show cluster-control status command that`s because the third controller still showing (deploying status)
How can this be solved, i did not find any solution in the troubleshooting guide to solve it.
Also share us the ouput of the show controller status
Check the status from the REST API using below
https://NSXManagerIP/api/2.0/vdn/controller
If the status of the 2nd Controller is showing deploying , forcefully delete using the REST API & try redeploying it.
https://NSXManagerIP/api/2.0/vdn/controller/controller-2?forceRemoval=False
Just few clarifications. You have mentioned the below.
NSX manager was powered off by me while deploying the third controller
You mean to say that you powered down the NSX Manager by your self knowingly when the controller was getting deployed. Is my understanding right.
There is warning for Disk Alert. Can you click & show what it is indicating ?
Yes you understand it in the right way.
About the Disk alert, there is no relation.
Also share us the ouput of the show controller status
Check the status from the REST API using below
https://NSXManagerIP/api/2.0/vdn/controller
If the status of the 2nd Controller is showing deploying , forcefully delete using the REST API & try redeploying it.
https://NSXManagerIP/api/2.0/vdn/controller/controller-2?forceRemoval=False
Does it work ? Is it resolved.
Thanks for your support, but how could i use API to delete it and which tool to do it or through NSX Manager shell.
You have to use either Firefox or Chrome browser to use REST API
The REST API allows to connect to the NSX Manager & execute the commands.
Below link will help you in understanding how to use REST API
is there is any other way to do this without API , i did not use API before and i could not use it
Open a VMware Support Request if you have active support.
If you would like to do it yourself but new to REST API
- check blog post above or this document: Automation Leveraging NSX REST API Guide
- try VMware Hands on Lab VMware Learning Platform HOL-1725-SDC-1 - VMware NSX Advanced Consumption
It is easy.
For your case it just a single command you need to check the status & a single command to delete the Controller.
Give it a try.
What exact problem you are facing using REST API , if you can explain or show with some screen shot we should be able to help it out.
Hey dears, this is the error
Failed to remove controller controller-4 - controller not created by this LDU.835core-services
just rechecking "controller-4" is right controller which you are trying to delete. From the screen shot you shared it was showing "controller-3" so wanted to re-confirm
I have deleted all the controllers but when i go to this controller with this id it gives the mentioned error, any other id give )controller does not exist( as i deleted all.
so u mean you are deleting the only controller which is available.
Please post the REST API command which you have used.
If this is the last controller please use the below command.
https://NSXManagerIP/api/2.0/vdn/controller/controller-4?forceRemoval=True