Solved

VM Failover - Is it safe to remove and then add original VM back to the domain?

Posted on 2014-04-11
4
190 Views
Last Modified: 2014-07-07
Failing over to a Sharepoint server replica (or export), and then failing back, led to a network SID error (backup solution was VEEAM), and the server had to be removed from the domain, and then added back in.

Is this 'safe'?  Are there any possible AD problems than can arise with Sharepoint?

Just asking because Sharepoint seems in particular to be very picky about things that perhaps other servers don't seem to care about.

Thanks!
0
Comment
Question by:NeoDavidShepherd
  • 2
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
JAN PAKULA earned 500 total points
ID: 40177231
Unjoining will cause a lot of problems like recreated SID's and will leave you with a lot of extra work.

As you only lost trust relationship just change  your computer password using the Reset-ComputerMachinePassword cmdlet from Powershell v3.

Reset-ComputerMachinePassword [-Credential <PSCredential>] [-Server <String>]

Powershell v3 ships with the latest version of Windows and can be downloaded from Microsoft:

http://www.microsoft.com/en-us/download/details.aspx?id=34595



Or change your computer password using netdom.exe!

netdom.exe resetpwd /s:<server> /ud:<user> /pd:*

<server> = a domain controller in the joined domain

<user> = DOMAIN\User format with rights to change the computer password


Open an administrative command prompt. On Windows platforms with UAC enabled, you will need to right-click on cmd.exe and select "run as Administrator".

Type the following command: netdom.exe resetpwd /s:<server> /ud:<user> /pd:*
Reboot the machine.

Here is more information on netdom.exe: http://support.microsoft.com/kb/325850
0
 

Author Comment

by:NeoDavidShepherd
ID: 40180396
Thank you for that very detailed response!

What I don't understand though is 'as you only lost trust relationship, just change your computer password'.

If I have a replicated VM that has lost it's trust relationship, and still have the original I need to go back to after the test...  are you saying changing the password will resolve the switching back and forth?

Color me surprised... as i thought a lost trust meant you HAD to add it back to the domain as the only solution.

Thank you, and sorry that apparently I have a 'hole' in my brain regarding trusts.
0
 
LVL 14

Expert Comment

by:JAN PAKULA
ID: 40180406
"computer password" which allows authentication between domain controller and given pc (not user password eg admin)


look at this one:

http://blog.blksthl.com/2013/03/18/fix-the-trust-relationship-between-this-workstation-and-the-primary-domain-failed/
0
 

Author Closing Comment

by:NeoDavidShepherd
ID: 40180504
THANK YOU!!!!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

726 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