42.2 Cleanup of Source Workloads

42.2.1 Cleaning Up Windows Workloads

The following are instructions for cleaning up Windows workloads by component and use case.

Table 42-1 Use Cases and Instructions for Cleaning Up Windows Workloads

Component

Use Case

Removal Instructions

File-based Transfer Component

All Migrations

At root level for each volume migrated, remove all files named PlateSpinCatalog*.dat

Workload discovery software

All migrations

  1. In the Servers view, undiscover the source (right-click, then select Undiscover).

  2. In the source workload’s Windows directory:

    • Remove all files named machinediscovery*.

    • Remove the subdirectory named platespin.

Controller software

All migrations

  1. In the Servers view, undiscover the source (right-click, then select Undiscover).

  2. Open a command prompt and change the current directory to:

    • \Program Files\platespin* (32-bit systems)

    • \Program Files (x86)\platespin (64-bit systems)

  3. Run the following command:

    ofxcontroller.exe /uninstall

  4. Remove the platespin* directory

42.2.2 Cleaning Up Linux Workloads

The following are instructions for cleaning up Linux workloads by component and use case.

Table 42-2 Use Cases and Instructions for Cleaning Up Linux Workloads

Component

Use Case

Removal Instructions

Controller software

Offline migrations

In the source workload’s file system, under /boot, remove the ofx directory with its contents.

All live migrations

  1. Stop the OFX controller process:

    /etc/init.d/ofxcontrollerd stop

  2. Remove the OFX controller service:

    chkconfig --del ofxcontrollerd

  3. Clean up the OFX controller files:

    • rm -rf /usr/lib/ofx

    • rm -f /etc/init.d/ofxcontrollerd

Block-level data transfer software

All block-level migrations

  1. Check if the driver is active:

    lsmod | grep blkwatch

    If the driver is still loaded in memory, the result should contain a line, similar to the following:

    blkwatch_7616  70924  0
  2. (Conditional) If the driver is still loaded, remove it from memory:

    rmmod blkwatch_7616
  3. Remove the driver from the boot sequence:

    blkconfig -u
  4. Remove the driver files by deleting the following directory with its contents:

    rm -rf /lib/modules/<kernel-version>/platespin

    For example:

    rm -rf /lib/modules/3.0.101-63-default/platespin

    You can alternately use a variable $(uname -r) to dynamically retrieve the kernel version for the directory name:

    rm -rf /lib/modules/$(uname -r)/platespin
  5. Delete the following file:

    /etc/blkwatch.conf

LVM snapshots

Block-level migrations using LVM snapshots

  1. In the Jobs view, generate a Job Report for the failed job, then note the name of the snapshot.

  2. Remove the snapshot device by using the following command:

    lvremove snapshot_name