liveBook · Manning

Guest-level data collection

As explained in Google Anthos in Action

Guest-level data collection is the gathering of operating-system and workload information by running a collection script inside a virtual machine.

Guest-level data collection gathers operating-system and workload information by running a collection script inside each virtual machine. Linux uses Bash; Windows uses PowerShell. Each script collects OS configuration, services, processes, installed packages, and related data into one archive for import into the fit assessment database. section 15.4.1

The collection workflow supports these operating modes:

  • Run the script manually inside a Linux or Windows VM, then import the resulting archive with mfit. section 15.4.1
  • Automate Linux collection over SSH. section 15.4.1
  • Automate Linux and Windows collection on vSphere through the vSphere API. section 15.4.1

Collection and import

Download and run the Linux collector, or execute the Windows PowerShell collector. Then import the generated machine archive with mfit before assessment. section 15.4.1

Table 15.1 Fit scores produced by the fit assessment tool (view table figure)

Fit score

Description

Score 0

Excellent fit

Score 1

Good fit with some findings that might require attention

Score 2

Requires minimal effort before migrating

Score 3

Requires moderate effort before migrating

Score 4

Requires major effort before migrating

Score 5

No fit

Score 6

Insufficient data collected to assess the VM

Use the resulting fit score to distinguish complete assessment data from insufficient collection. section 15.4.1

How Google Anthos in Action covers it

How deep it goes
Defines scripts, collected fields, archive import, and automation paths, but defers rule evaluation and report generation to later phases.
Examples
Uses Bash and PowerShell collectors that produce importable archive files for individual virtual machines.
What it assumes
Assumes access to the target VM and, for automation, usable SSH credentials or vSphere API access.
What you can do after
Apply it via mfit to collect VM data, import archives, and prepare workloads for assessment.
How it connects
Connects VM discovery with SSH, the vSphere API, assessment rules, and migration reporting.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Google Anthos in Action. The section links point to the parts of the book it draws on.