Administrator Guide

NOTE: There is an additional data consistency runbook that is not called by the Invoke-DataConsistency runbook. This is the
SyncVMClouds runbook. It refreshes fabric objects such as VMM hosts, clusters, library shares, virtual machines, and so on, to
bring the VMM database to a consistent state with the current state of the underlying fabric. After a fabric sync completes, the
runbook syncs VMM with Operations Manager. Typically, you should not have to run this runbook because VMM includes
refreshers that do this automatically. If you run this runbook,
be aware that it will aect performance, and it can take several
hours to complete
, depending on the number of VMs. You would run this only if you restored the VMM or Operations Manager
database, and issues were not automatically xed by the VMM refresher.
How to use the data consistency runbooks
This section describes the recommended way to run the detection and recovery runbooks.
You can run the Invoke-DataConsistency runbook (both detection and recovery) when there is live trac on the system. However, you
must rst run a script to reset the passwords across the system. This requires downtime of the whole stamp.
Depending on the output of the detection process, you must either run the Invoke-DataConsistency runbook again with the repair option
enabled, and/or perform additional manual steps.
1 Create a shared folder for the output record. Before you begin, make sure that a shared folder exists that you can specify as the
location to store the output report. You must grant the
<
Prex
>System account Read and Write permissions to the share.
a Create a folder on the Console VM, such as
DCOutput
.
b Right-click the folder, and then click Properties.
c Click the Sharing tab, and then click Advanced Sharing.
d Select the Share this folder check box, and then click Permissions.
e Click Add, enter the account <
Prex
>System, and then click OK.
f Click the account that you just added, and then under Allow, select the Change check box.
g Click Apply, click OK two times, and then click Close.
2 Run the password reset script. After you restore any of the following databases, run the password reset script as described in How to
run the MCPasswordReset script.
Operations Manager database
VMM database
SMA database
SPF database
Any of the Windows Azure Pack databases.
3 Run the database consistency runbooks.
a In the Windows Azure Pack management portal for administrators, run the Congure-DataConsistency runbook. You only have
to run this runbook one time, that is, the rst time that you use the data consistency runbooks.
b Run the Invoke-DataConsistency runbook to detect inconsistencies. You can run this when there is live trac on the system.
However, with live trac, detection may take longer. Specify the following parameter values:
Table 29. Parameter Values for Invoke-DataConsistency Runbook
Parameters Value
AllowRepair No
ReportDestination Enter the UNC share path of the destination to store the output report, for example
\\<Prex>CON01\DCOutput. This is the share that you created earlier.
Subsystem VMProvider
c When detection completes, you can view the output report at the destination that you specied for ReportDestination. The
report will look similar to the following:
Operations
93