• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 30
  • Last Modified:

No connect between two server 2016 over hyper-v-manager. One is core (without gui). How to set up replication with powershell then?

We have to create a replication from server2016 (A)  with gui to server2016 without gui (core) (B). Both are not in the domain. I cant connect  to from A to B over hyper-V-manager. How can we set up a replication from A to B using powershell ?
Is there any good and easy to understand tutorial ?

Thanks for helping
0
loosain
Asked:
loosain
2 Solutions
 
Adam BrownSr Solutions ArchitectCommented:
1
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
In addition to Adam's excellent link: Hyper-V Replica with self-signed certificates. This one was the needle in the haystack! :)

Example to create a 5 Year self-issued cert:
New-SelfSignedCertificate -Type "Custom" -KeyExportPolicy "Exportable" -Subject "CN=REPLICATION.DOMAIN.COM" -CertStoreLocation "Cert:\LocalMachine\My" -KeySpec "Signature" -KeyUsage "CertSign" -NotAfter (Get-Date).AddMonths(60)

Open in new window


Set REPLICATION.DOMAIN.COM to your root ID. It doesn't have to be .COM it could be .LOCAL or other TLD.

After getting the thumbprint create the certificate for the source and replica partner Hyper-V servers. Export all three and import on both Hyper-V servers. Make the registry change requested or an error will happen.

Done!
0
 
Seth SimmonsSr. Systems AdministratorCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Split:
-- Adam Brown (https:#a42477889)
-- Philip Elder (https:#a42477916)


If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now