Migrate for Anthos and GKE provides a self-service tool that you run on a Windows VM workload to determine the workload's fit for migration to a container.
The tool outputs a zip file that indicates whether or not the Windows VM is a potential fit for migration. The name of the file indicates the results:
info-hostname-timestamp.zipindicates that the VM is a potential fit to be migrated.
info-hostname-timestamp-NOFIT.zipindicates that the VM is not fit to be migrated. Typically a NOFIT results from a missing or incorrect version of IIS.
How the tool works
Because Migrate for Anthos and GKE requires Windows VMs to run Microsoft IIS 7 or higher, the discovery tool collects IIS and general system information.
To run the Windows discovery tool:
- You must have a 64-bit version of Windows.
- You must be an administrator on the Windows VM.
Downloading and running the tool
The tool is packaged as a single .exe file. You must download the tool before you can execute it.
To evaluate a VM:
Log in to your VM.
Create a directory for the tool:
> mkdir m4a > cd m4a
Download the tool to the VM from https://storage.googleapis.com/anthos-migrate-release/v1.8.0/windows/amd64/collect_info.exe.
Run the tool on the VM as an administrator:
You can either right click on the tool in the File Manager and select Run as Administrator, or open a PowerShell command window as an administrator:
The tool outputs a zip file named
info-hostname-timestamp-NOFIT.zipto the current directory.
The timestamp is in the format
YYYMMDDhhmmss. See Output zip file format for a description of the zip file.
You can optionally use the
-ooption to specify the path to the output directory. For example:
> collect_info.exe -o /home/mydir
To see help information, use:
> collect_info.exe -h
Output zip file format
The output zip file contains:
- A log file named
- A file named
collect_info_version.txtcontaining the version of the tool.
- Directories containing information about the system:
The contents of each directory are described below.
The computer_info directory
computer_info directory contains:
||Copy of machine
||Information of installed programs|
||Information of all connections and listening ports with executables involved in creating each connection or listening port.|
||The machine's routing tables.|
||Information of scheduled tasks|
||Information of installed programs provided by
||Information on Windows features.|
The iis directory
iis directory contains information about IIS, sites and .NET configurations,
and additional selected information that might help us to understand the applications.
The directory contains following files:
||Copy of all .NET global config directories, for each framework and version.
Includes global.configs and machine.configs, for example
||A copy of the IIS config directory including configs and schemes.|
||A directory contains exported files from IIS sites, meaning copies of all
||Information on all sites configured in IIS, including recursive directory listing for each site with ACL information of files.|
||The IIS version.|
Handling secrets in the iis directory
Copies of config files and directories (IIS, global .NET, and sites) might contain secrets. These files include
collect_info.exe tool filters passwords from
in those files ( .NET 3.5+ format).
Every password is replaced with
***. You can remove and filter any additional
sensitive information manually from the output zip file.
The gac directory
gac directory contains information of the .NET Global Assembly Cache:
||A list of assemblies in CLR2.0 GAC.|
||A list of assemblies in CLR4.0 GAC.|
The odbc directory
odbc directory contains information of the ODBC DSNs and installed drivers:
||Exported registries with all information of system DSNs and drivers for 32-bit.|
||Exported registries with all information of system DSNs and drivers for 64-bit.|
||Exported registries with all information of user DSNs and drivers for 32- and 64-bit.|
Handling secrets in the odbc directory
ODBC DSNs might contain secrets. The
collect_info.exe tool filters out passwords from the exported .reg files. You can remove and filter any additional sensitive information manually from the output zip file.