Administrator Guide
Figure 38. Read-only Health Check
4 When prompted, enter the account credentials of the account you used when you logged on.
5 The Invoke-PURun script performs a one-time environment setup and may prompt you to restart Windows PowerShell on its rst
invocation.
PowerShell environment settings have changed. Please restart the PowerShell console before proceeding.
If you see this message, close the current Windows PowerShell session, open a new elevated Windows PowerShell session, and repeat
steps 2 through 4 to start the health check process.
6 After the health check runs, try to x any discovered issues. Ideally, resolve all critical Operations Manager alerts before a patching run.
7 The health check also checks for running backup jobs or if the DPM agents on the DPM servers are in an enabled state. If so, the
health check output indicates that you must run the Set-DPMBackupMode script to cancel the jobs and disable the agents. To run
the script:
a From an elevated Windows PowerShell session, run the following commands. Press Enter after each command.
cd \\<Prefix>CON01\PUShare\<CPSPU Folder Name>\PU\Framework\PatchingUpgrade"
Import-Module .\PatchingUpgrade\DPM.psm1
Set-DPMBackupMode -BackupMode Disable -Credential (Get-Credential)
b When prompted, enter the account credentials of the account that you are logged on as.
Step 2: Apply the P&U update package
After you have resolved critical Operations Manager alerts and stopped any running backups, you can apply the update package. When you
apply the updates, the P&U framework automatically runs a health check, and then applies the updates based on the behavior of the –
ScomAlertAction
parameter. The –ScomAlertAction parameter has the following possible values.
Table 31. –ScomAlertAction Parameter Values
Parameter Value Description
Stop The default behavior for a P&U run (and used when –ScomAlertAction is not specied). Runs
all health checks, and then stops the P&U update run if there are critical Operations Manager alerts.
Prompt Runs all health checks. If critical Operations Manager alerts are discovered, asks if you want to
continue with the update process.
Continue Runs all health checks. Outputs warning information if critical Operations Manager alerts are
encountered, but continues with the update process.
To apply the update package:
1 On the Console VM, make sure that you are logged on as the account that is a member of <
Prex
>-Setup-Admins.
2 Open an elevated Windows PowerShell session, that is, run as administrator.
3 Run the following command to start the patching process by using the default behavior where:
• –ScomAlertAction is set to Stop and
• CPSPU Folder Name is the folder name that you used for the specic update package.
Operations
99