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

loosain
loosain used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Systems Admin
Top Expert 2010
Commented:
Philip ElderTechnical Architect - HA/Compute/Storage
Commented:
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!
Seth SimmonsSr. Systems Administrator

Commented:
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial