Administrator Guide

NOTE: You can also run the commands from the Console VM. However, if you do this, you must replace
localhost
in
each of the following steps with the host name of the SMA VM.
2 In a Windows PowerShell console that is running with elevated user rights (Run as Administrator), run the Get-SmaJob cmdlet to nd
the job ID and the number of errors.
Get-SmaJob –RunbookName PasswordReset-Log –WebServiceEndpoint 'https://localhost'
3 Copy the job ID from the results of the Get-SmaJob command, and use it in the following commands.
4 Run the following commands to get the job output, specifying the job ID value that you obtained in step 3.
Get-SmaJobOutput –JobId JobId –Stream Error –WebServiceEndpoint 'https://localhost'
| %{ $_ } | sort StreamTime > Error.txt
Get-SmaJobOutput –JobId JobId –Stream Any –WebServiceEndpoint 'https://localhost'
| %{ $_ } | sort StreamTime > Any.txt
Viewing job status and errors in the Windows Azure Pack portal
You can also view password reset script job status and errors in the Windows Azure Pack management portal for administrators as follows:
1 In the Windows Azure Pack management portal for administrators, click Automation.
2 Click Runbooks.
3 In the search text box, type the word password, and then click Search.
4 In the search results, click PasswordReset-Log.
5 Click Jobs. On the Jobs page, you can view the status of current jobs.
6 To view logs, select the most recent job.
7 To view only errors, click History, type error in the search text box, and then click Search.
Troubleshooting the MCPasswordReset script
The following sections discuss two errors you may encounter when running the MCPasswordReset script, and how to resolve them.
Error: Some virtual machines and/or services related to VMM, SMA,
and/or SQL Server are not running
If you get the following error when you run the MCPasswordReset script, the service account passwords in VMM and/or SQL, or the
<Prex>-System account password in SMA might be out of sync with what is in AD DS. You must x this issue manually for the
MCPasswordReset script to run successfully.
ERROR
Some virtual machines and/or services related to VMM, SMA, and/or SQL Server are not running. No passwords have been reset.
For information about how to resolve this issue, see the Troubleshooting the MCPassword Reset script section of the Dell Hybrid
Cloud System for Microsoft Administrators Guide.
To synchronize SQL Server and VMM service account passwords:
1 Step 1: Reset the password of the service accounts in AD DS.
a Open Active Directory Users and Computers on a computer in your domain on which this is installed, as a user who has rights
to do account management in AD DS.
b Expand the Dell Hybrid Cloud System for Microsoft OU, and then click the <
Prex
>-SVC-SQL account.
c Right-click the account, and then click Reset Password.
d Change the password.
e Clear the check box for User must change password at next logon, and then click OK.
Security
127