Tuesday, November 4, 2014

VXLAN Preparation Failed

Have you ever faced a preparation error while configuring VXLAN ???

Regardless if it was part of a bad preparation, a partially installation or an old configuration remaining on the hosts, you might end up not being able to configure VXLAN and will be presented with the error:
Cluster domain-cXX already has been configured with a mapping.

The issue is that a previous attempt was made and the configuration details was kept on vCNS Manager. To proceed you will need to clean that up.

I recommend you follow this fix with a VMware support representative, in any case, here’s how to fix it.

- Login to a server, which has cURL, installed (FYI: vCloud Director has cURL installed on the cells);
- run the following command;
curl -i -k -H "Content-type: application/xml" -u admin:”password” -X DELETE https://"vCNS”/api/2.0/vdn/map/cluster/”domain-cXX”/switches/dvs

replace password with the password of your vCNS Manager
replace vCNS  with the hostname of  your vCNS Manager
replace domain-CXX with the domain provided on the error message.

- Run the preparation again.

This time it will succeed.

No comments:

Post a Comment

Who am I

My photo
I’m an IT specialist with over 15 years of experience, working from IT infrastructure to management products, troubleshooting and project management skills from medium to large environments. Nowadays I'm working for VMware as a Consulting Architect, helping customers to embrace the Cloud Era and make them successfully on their journey. Despite the fact I'm a VMware employee these postings reflect my own opinion and do not represents VMware's position, strategies or opinions. Reach me at @dumeirell

Most Viewed Posts

Blog Archive