What is HostChecker?
The HostChecker is a standalone program which validates that host machines are configured correctly before the Delphix Engine uses them as data sources and provision targets.
Please note that HostChecker does not communicate changes made to hosts back to the Delphix Engine. If you reconfigure a host, you must refresh the host in the Delphix Engine in order for it to detect your changes.
You can run the tests contained in the HostChecker individually, or all at once. You must run these tests on both the source and target hosts to verify their configurations. As the tests run, you will either see validation messages that the test has completed successfully, or error messages directing you to make changes to the host configuration.
Prerequisites
Procedure to Validate Target Environments
- Download and install the Delphix Connector as described in Adding a SQL Server Standalone Target Environment.
- Login to the Windows target host using the Windows user account that will later be used to add the target.
- Open Windows Powershell using the Run as Administrator option.
Execute the host checker script by running:
<Delphix Connector installation folder>\etc\dlpx-host-checker.ps1
- Select a path where a report file will be saved, such as C:\temp\delphix-host-checker-report.txt.
- Select the default option of Target Host.
- Read the output of the checks.
- The error or warning messages will explain any possible problems and how to address them. Resolve the issues that the HostChecker describes. Do not be surprised or undo your work if more errors appear the next time you run HostChecker; the error you just fixed may have been masking other problems.
- Repeat steps 4–7 until all the checks return no errors or warnings.
Procedure to Validate Source Environments
- Select the Windows target host which will be used as a proxy for discovering the source environment as described in Setting Up SQL Server Environments: An Overview.
- Login to the Windows target host using the Windows user account that will later be used to add the source environment.
- Open Windows Powershell using the Run as Administrator option.
Execute the host checker script by running:
<Delphix Connector installation folder>\etc\dlpx-host-checker.ps1
- Select a path where a report file will be saved, such as C:\temp\delphix-host-checker-report.txt.
- Select the Source Host option.
- Specify the host name or IP address of the source environment to verify.
- Select ALL to discover all databases, or specify a single database to verify.
- Specify the SQL Server database login and password that will later be used to add the source environment.
- Read the output of the checks.
- The error or warning messages will explain any possible problems and how to address them. Resolve the issues that the HostChecker describes. Do not be surprised or undo your work if more errors appear the next time you run HostChecker; the error you just fixed may have been masking other problems.
- Repeat steps 4–9 until all the checks return no errors or warnings.
Tests Run
| | | Description |
---|
Check Powershell Version | X | X | Verifies that Powershell 2.0 or greater is installed |
Check OS User Privileges | X | X | For target hosts, verifies that the the operating system (OS) user has administrative rights. For source hosts, verifies that the OS user can successfully perform remote registry access from the target host to the source host. |
Check host settings | X | X | Verifies that the Delphix Engine can discover host environment details from the Windows registry |
Check SQL Server instance discovery | X | X | Verifies that the Delphix Engine can discover SQL Server instances |
Check SQL Server instance login permission | X | X | For target hosts, verifies that the Windows OS user can be used to log in to the SQL Server instances. For source hosts, verifies that the supplied SQL Server login credentials can be used to log in to the SQL Server instances. |
Check database discovery | X | X | Verifies that the Delphix Engine can discover SQL Server databases |
Additional options
Run the following to view additional host checker options:
dlpx-host-checker.ps1 -?