Giter Club home page Giter Club logo

Comments (5)

Robert-M-Green avatar Robert-M-Green commented on September 12, 2024

It's not an AMI mismatch from my latest round of testing.

from quickstart-microsoft-exchange.

dragos-madarasan avatar dragos-madarasan commented on September 12, 2024

Are you getting the error just on ExchangeNode2? Can you check whether Exchange gets installed successfully? Check the logs under C:\ExchangeInstall.

The error likely fails due to the Exchange snappin not being there, e.g. likely this

from quickstart-microsoft-exchange.

Robert-M-Green avatar Robert-M-Green commented on September 12, 2024

just did a full clean of my stacks and figured lets try to run this with 3 nodes to see if the order/timing changes results. Node 2 still fails Node1 Node3 both come up nicely. Of course it is Node2 that has the extra logic to establish the DAG configuration. Error message was simular but different this time:
14:52:43 UTC-0600 CREATE_FAILED AWS::CloudFormation::WaitCondition ExchangeNode2WaitCondition WaitCondition received failed message: 'Command failure in C:\cfn\scripts\Configure-ExchangeDAG.ps1 on line 91 Exception: System.Management.Automation.RemoteException: The Microsoft Exchange Replication service does not appear to be running on exchangenode1. Make sure that the server is op...'

from quickstart-microsoft-exchange.

Robert-M-Green avatar Robert-M-Green commented on September 12, 2024

My guese would be the issue and the difference has to do with this:
$ConfigDAG={
$ErrorActionPreference = "Stop"

    Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
    New-DatabaseAvailabilityGroup -Name $Using:DAGName -WitnessServer $Using:FileServerNetBIOSName -WitnessDirectory C:\$Using:DAGName -DatabaseAvailabilityGroupIpAddresses '255.255.255.255'
    
    Start-Sleep -s 60

    Add-DatabaseAvailabilityGroupServer -Identity $Using:DAGName -MailboxServer $Using:ExchangeNode1NetBIOSName
    Add-DatabaseAvailabilityGroupServer -Identity $Using:DAGName -MailboxServer $Using:ExchangeNode2NetBIOSName

    # Manuall run
    #Add-MailboxDatabaseCopy -Identity DB1 -MailboxServer $Using:ExchangeNode2NetBIOSName -ActivationPreference 2
    #Add-MailboxDatabaseCopy -Identity DB2 -MailboxServer $Using:ExchangeNode1NetBIOSName -ActivationPreference 2

    #There should also be a restart of the IS service (restart-service MSExchangeIS on each node)
    #Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"} | Update-MailboxDatabaseCopy -CatalogOnly

}
if ($ExchangeNode3NetBIOSName) {
    $ConfigDAG={
        $ErrorActionPreference = "Stop"
        
        Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
        New-DatabaseAvailabilityGroup -Name $Using:DAGName -WitnessServer $Using:ExchangeNode3NetBIOSName -WitnessDirectory C:\$Using:DAGName
        
        Start-Sleep -s 60

        Add-DatabaseAvailabilityGroupServer -Identity $Using:DAGName -MailboxServer $Using:ExchangeNode1NetBIOSName
        Add-DatabaseAvailabilityGroupServer -Identity $Using:DAGName -MailboxServer $Using:ExchangeNode2NetBIOSName
    }
}

from quickstart-microsoft-exchange.

dragos-madarasan avatar dragos-madarasan commented on September 12, 2024

Hi @Robert-M-Green , are you still seeing this come up? I've not seen this issue in our CI tests for a while now.

from quickstart-microsoft-exchange.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.