The following are instructions for cleaning up Linux workloads by component and use case.
Table 37-2 Use Cases and Instructions for Cleaning Up Linux Workloads
Controller software |
All migrations |
-
Stop the OFX controller process:
/etc/init.d/ofxcontrollerd stop
-
Remove the OFX controller service:
chkconfig --del ofxcontrollerd
-
Clean up the OFX controller files:
|
Block-level data transfer software |
All block-level migrations |
-
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
-
(Conditional) If the driver is still loaded, remove it from memory: rmmod blkwatch_7616
-
Remove the driver from the boot sequence: blkconfig -u
-
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
-
Delete the following file: /etc/blkwatch.conf
|
LVM snapshots |
Block-level migrations using LVM snapshots |
-
In the Jobs view, generate a Job Report for the failed job, then note the name of the snapshot.
-
Remove the snapshot device by using the following command:
lvremove
snapshot_name
|