Solved

Restore Distributed Switch on new vCenter if old vCenter is crashed with no backup

Posted on 2016-08-31
8
49 Views
Last Modified: 2016-09-26
Is it possible technically ..to restore my dv switch if i lost[crashed] my old vc with no more backup of dv swicth ?

is there any limitation to version compatibility ?

Can we restore this config from any of Host or somewhere else it is saved ?

Please share best practice to restore dv switch in such case .

Thanks
0
Comment
Question by:patron
8 Comments
 
LVL 28

Expert Comment

by:asavener
ID: 41780656
If you've had to build a new vCenter and attach to the affected hosts, then the DV switch configuration is gone.

The hosts should still have their original configuration, though, so they will continue to pass traffic and existing VMs will continue to run.  You won't be able to move machines between hosts, or change guest network configurations.

To fix this, you will need to create a new DV switch, add a host to it, reconfigure your VLANS, etc.  Then migrate some guests onto the that host and move on to the next host.  Rinse and repeat until all of the hosts are on the new DV switch.
0
 
LVL 28

Accepted Solution

by:
asavener earned 250 total points (awarded by participants)
ID: 41780800
I had another thought....  Is the SQL database on a separate server?

You could likely install a fresh vCenter into a different database, and then modify the DSN to point to the original SQL instance.  It would then pick up all of the settings from the original installation.
0
 
LVL 38

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 125 total points (awarded by participants)
ID: 41780809
last time I had to do this was with a 5.5 VCSA and I had to make standard switches, migrate to those, then migrate to new DV Switches. YMMV going direct from dVS to dVS
0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 125 total points (awarded by participants)
ID: 41782351
To start with - all ESXi-s keep good configuration. And all your VMs stay running.

Now configure vcenter to access management interfaces
And follow aaron's path from then on.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 19

Expert Comment

by:compdigit44
ID: 41785210
asavener makes a very good point if your DB server is on another server you just need to do a fresh install and point to the old DB.

On another note, was the vcenter server physical or virtual?
0
 
LVL 1

Author Comment

by:patron
ID: 41787040
have diff db and vc vm.so if my vc is crashed ,I ll prepare new vc on another vm n point it to old db?
will that work simply without any more config?
will that restore all my dv switch config back or if any more config required?
0
 
LVL 28

Assisted Solution

by:asavener
asavener earned 250 total points (awarded by participants)
ID: 41787715
Yes, that should work.  All configuration data is kept in the database.

It's basically the same as migrating to a different SQL server.

I suggest that you first take a backup of the current vCenter database, so that you can always get back to this state.

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2003493
0
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 41815714
Reusing the DB server is what saved the dvswitch configuration. Always backup your DB!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VMWare 6 crashing 14 57
Adding a secondary DC Server 2008R2 10 48
Managing unpatched virtual machines 5 44
Linux as a middle box 7 31
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now