Using dataxform_auto_lock
The dataxform_auto_lock
file is a two-line file generated by dataxform and is placed in the GuardPoint during manual and automatic data transformation. The first line is the name of the host system on which dataxform is being executed. The second line indicates the dataxform status. Status is “in-progress”, “stopped”, or “done”. A stopped status indicates that the last dataxform session was stopped before it reached completion. An example of a successful dataxform run is:
# cat dataxform_auto_lock
done
If a dataxform_auto_lock
file is present in a GuardPoint, and/or other dataxform configuration files are in /var/log/vormetric
(except for dataxform_auto_config
) dataxform will exit with an error. You cannot perform a new data transformation in the Guardpoint unless you delete the dataxform_auto_lock
file and the dataxform_*
files in /var/log/vormetric
. The recommended way to remove old status files is to run dataxform with the --cleanup
argument.
Warning
Do not use --cleanup
if a previous dataxform session did not complete successfully (see Recovering a Failed or Incomplete dataxform Session).
Example of using the --cleanup
argument to remove old status files:
# cat /opt/apps/lib/dx1/ad_dir/dataxform_auto_lock
aix4200
done
# dataxform --cleanup --nq --gp /opt/apps/lib/dx1/ad_dir
About to remove the data transformation status files
You can now run dataxform again and successfully rekey files in the GuardPoint.