Storage Replica Configuration Failure (error code 0x8009030e)

Marin Marinov 161 Reputation points
2023-10-18T15:22:46.14+00:00

I`m not able to establish a storage replica between 2 windows servers 2019.

#The script I used

$SR = @{ SourceComputerName = 'Server-1' SourceRGName = 'RG-1' SourceVolumeName = "A:" SourceLogVolumeName = "B" DestinationComputerName = "Server-2" DestinationRGName = "RG-1" DestinationVolumeName = "A:" DestinationLogVolumeName = 'b:' ReplicationMode = 'Synchronous' }

New-SRPartnership @SR

#The error I got

Unable to create replication group RG-1, detailed reason: WinRM cannot process the request. The following error with errorcode 0x8009030e occurred while using Kerberos authentication: A specified logon session does not exist. It may already have been terminated.

Both servers run in Hyper-V VMs. They are located in different networks. The networks are interconnected with a virtual router (VM/GOS: Windows Server2019 running RAS).

What did I check so far?

  • There is ping between the servers.
  • Both servers are logged in into the same AD domain.
  • The domain controller is available and pingable from both servers.
  • Correct DNS server is set up on both servers.
  • PSRemoting is enabled on the remote device.
  • WinRM is running on both servers.
  • Server-1 is added in TrustedHosts list of Server-2 and Server-2 is is added in TrustedHosts list of Server-1

Could you please help me to figure out how to fix the issue?

Windows for business Windows Server Devices and deployment Set up, install, or upgrade
Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
Windows for business Windows Server Storage high availability Other
0 comments No comments
{count} votes

Accepted answer
  1. Sokratis Zotos 80 Reputation points
    2023-10-18T19:23:09.3666667+00:00

    Hi,

    Are you admin on both nodes?

    Double check that you meet the minimum requirements: https://learn.microsoft.com/en-us/windows-server/storage/storage-replica/server-to-server-storage-replication#prerequisites

    Check also the error code that you got from here: https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/active-directory-authentication-fails-klist-error-0x8009030e

    I've used the below to build my Server 2022 Storage replica in the past, maybe it will help you on your quest:

    New-SRPartnership -SourceComputerName 'SAN01.home.local' -SourceRGName 'ReplicationGroup01' -SourceVolumeName 'E:' -SourceLogVolumeName 'D:' -DestinationComputerName 'SAN02.home.local' -DestinationRGName 'ReplicationGroup02' -DestinationVolumeName 'E:' -DestinationLogVolumeName 'D:' -Verbose 
    

2 additional answers

Sort by: Most helpful
  1. Marin Marinov 161 Reputation points
    2023-10-19T19:19:47.4966667+00:00

    Hi, the command gave me the same result. The solution described in the "Active Directory authentication fails with klist error 0x8009030e" article did work for me. I`m logged as admin on both servers.

    After, reviewing the prerequisites I believe I know where the problem is coming from.

    "Active Directory Domain Services forest (doesn't need to run Windows Server 2016)." ------- my domain CTRL runs Windows Server 2016. I think is time to learn how to upgrade Windows Server. I will keep you posted. Let`s cross our fingers.

    0 comments No comments

  2. Marin Marinov 161 Reputation points
    2023-10-20T14:15:18.7933333+00:00

    Hello @Sokratis Zotos ,

    It worked! After using Windows server 2019 domain CTRL and login in on both servers as the domain administrator I was able to configure a new replication partnership!

    Have a nice weekend!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.