Exchange 2016 Troubleshooting : Mailbox Database Move Error and fix

 Hello

In this blog , we are going to see the troubleshoot, during the mailbox database movement using RedistributeActiveDatabases.ps1 in exchange 2016

usually this PS1 file founds in scripts folder of exchange installation path

Shortcut to get in the folder ,

from the powershell : just type $exscripts

[PS] C:\Program Files\Microsoft\Exchange Server\V15\scripts>

Scenario 

After  security patch on my mailbox server, i restarted the server and all my database moved from active to Passive, however i usually runs the RedistributeActiveDatabases.ps1 to redistribute the databases based on activation preference, however this time i got the error below

The property 'Mounted' cannot be found on this object. Verify that the property exists.

What is RedistributeActiveDatabases.ps1

RedistributeActiveDatabases.ps1 script to balance the active mailbox databases copies across a DAG. This script moves databases between their copies in an attempt to have an equal number of mounted databases on each server in DAG. If required, the script also attempts to balance active databases across sites.

The script provides two options for balancing active database copies within a DAG:

  • BalanceDbsByActivationPreference: When this option is specified, the script attempts to move databases to their most preferred copy (based on activation preference) without regard to the Active Directory site.

  • BalanceDbsBySiteAndActivationPreference: When this option is specified, the script attempts to move active databases to their most preferred copy, while also trying to balance active databases within each Active Directory site.

=========================================================================

[PS] C:\Program Files\Microsoft\Exchange Server\V15\scripts>.\RedistributeActiveDatabases.ps1 -DagName "Dagcm" -BalanceDbsByActivationPreference


***************************************

Balance DAG DBs

Wednesday, March 20, 2024 8:38:17 AM

***************************************

Dag                                :   DAGCM

ServerCount                        :   2

DatabaseCount                      :   4

CopiesCount                        :   8


----------------------------

Starting Server Distribution

----------------------------


ServerName TotalDbs ActiveDbs PassiveDbs PreferenceCountList MountedDbs DismountedDbs DagName

---------- -------- --------- ---------- ------------------- ---------- ------------- -------

CMEXD01           4         1          3 {2, 2}                       1             0 DAGCM

CMEXD02           4         3          1 {2, 2}                       3             0 DAGCM



-----------------------

Starting Database Moves

-----------------------


Considering move of 'CMEXD01DB01' from 'CMEXD02' (AP = 2) to 'CMEXD01' (AP = 1)...


Confirm

Are you sure you want to perform this action?

Moving mailbox database "CMEXD01DB01" from server "CMEXD02.cloudmonkeys.xyz" to server "CMEXD01.cloudmonkeys.xyz".

[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y

WARNING: [03:08:29.858 UTC] The property 'Mounted' cannot be found on this object. Verify that the property exists.

[PS] C:\Program Files\Microsoft\Exchange Server\V15\scripts>.\RedistributeActiveDatabases.ps1 -DagName "Dagcm" -BalanceDbsByActivationPreference


***************************************

Balance DAG DBs

Wednesday, March 20, 2024 8:56:23 AM

***************************************

Dag                                :   DAGCM

ServerCount                        :   2

DatabaseCount                      :   4

CopiesCount                        :   8


----------------------------

Starting Server Distribution

----------------------------


ServerName TotalDbs ActiveDbs PassiveDbs PreferenceCountList MountedDbs DismountedDbs DagName

---------- -------- --------- ---------- ------------------- ---------- ------------- -------

CMEXD01           4         1          3 {2, 2}                       1             0 DAGCM

CMEXD02           4         3          1 {2, 2}                       3             0 DAGCM



-----------------------

Starting Database Moves

-----------------------


Considering move of 'CMEXD01DB01' from 'CMEXD02' (AP = 2) to 'CMEXD01' (AP = 1)...


Confirm

Are you sure you want to perform this action?

Moving mailbox database "CMEXD01DB01" from server "CMEXD02.cloudmonkeys.xyz" to server "CMEXD01.cloudmonkeys.xyz".

[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): A

WARNING: [03:26:30.821 UTC] The property 'Mounted' cannot be found on this object. Verify that the property exists.


Resolution


.\RedistributeActiveDatabases.ps1 -DagName "Dagcm" -BalanceDbsByActivationPreference -SkipMoveSuppressionChecks


[PS] C:\Program Files\Microsoft\Exchange Server\V15\scripts>.\RedistributeActiveDatabases.ps1 -DagName "Dagcm" -BalanceDbsByActivationPreference -SkipMoveSuppressionChecks


***************************************

Balance DAG DBs

Wednesday, March 20, 2024 8:57:26 AM

***************************************

Dag                                :   DAGCM

ServerCount                        :   2

DatabaseCount                      :   4

CopiesCount                        :   8


----------------------------

Starting Server Distribution

----------------------------


ServerName TotalDbs ActiveDbs PassiveDbs PreferenceCountList MountedDbs DismountedDbs DagName

---------- -------- --------- ---------- ------------------- ---------- ------------- -------

CMEXD01           4         1          3 {2, 2}                       1             0 DAGCM

CMEXD02           4         3          1 {2, 2}                       3             0 DAGCM



-----------------------

Starting Database Moves

-----------------------


Considering move of 'CMEXD01DB01' from 'CMEXD02' (AP = 2) to 'CMEXD01' (AP = 1)...


Confirm

Are you sure you want to perform this action?

Moving mailbox database "CMEXD01DB01" from server "CMEXD02.cloudmonkeys.xyz" to server "CMEXD01.cloudmonkeys.xyz".

[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): A

Database 'CMEXD01DB01' successfully moved from 'CMEXD02' to 'CMEXD01'.


ServerName ActiveDbs PassiveDbs

---------- --------- ----------

CMEXD01            2          2

CMEXD02            2          2 `n


----------------

Summary of Moves

----------------

Successfully moved      : 1

Moved to less preferred : 0

Failed to move          : 0

Not moved               : 3


Start time              : Wednesday, March 20, 2024 8:57:23 AM

End time                : Wednesday, March 20, 2024 8:57:33 AM

Duration                : 00:00:09.5611658




DbName                    : CMEXD01DB01

ActiveOnPreferenceAtStart : 2

ActiveServerAtStart       : CMEXD02

ActiveOnPreferenceAtEnd   : 1

ActiveServerAtEnd         : CMEXD01

IsOnMostPreferredCopy     : True

MoveStatus                : MoveSucceeded


DbName                    : CMEXD02DB01

ActiveOnPreferenceAtStart : 1

ActiveServerAtStart       : CMEXD02

ActiveOnPreferenceAtEnd   : 1

ActiveServerAtEnd         : CMEXD02

IsOnMostPreferredCopy     : True

MoveStatus                : NoMoveAttempted


DbName                    : CMEXD1DB02

ActiveOnPreferenceAtStart : 1

ActiveServerAtStart       : CMEXD01

ActiveOnPreferenceAtEnd   : 1

ActiveServerAtEnd         : CMEXD01

IsOnMostPreferredCopy     : True

MoveStatus                : NoMoveAttempted


DbName                    : CMEXD2DB02

ActiveOnPreferenceAtStart : 1

ActiveServerAtStart       : CMEXD02

ActiveOnPreferenceAtEnd   : 1

ActiveServerAtEnd         : CMEXD02

IsOnMostPreferredCopy     : True

MoveStatus                : NoMoveAttempted

=========================================================================

I hope this -SkipMoveSuppressionChecks parameter helps to move the database in DAG without any hassle . Happy learning 😃 

Comments