Enable Lineage V2¶
Customer Managed Applies to customer-managed instances of Alation
Applies from version V R6 (5.10.x) to 2021.1
Note
Starting in release 2021.2, Lineage V2 is enabled by default and does not require manual enablement.
To use the steps below, you need backend access to the Alation server. This feature cannot be disabled.
To enable Lineage V2:
Use SSH to connect to the Alation server.
Enter the Alation shell using the following command:
sudo /etc/init.d/alation shell
Using alation_conf, set the flag
alation.feature_flags.enable_lineage_v2
toTrue
.alation_conf alation.feature_flags.enable_lineage_v2 -s True
Restart the Web component.
alation_supervisor restart web:*
If this is not a new installation of Alation and some lineage data already exists, run the script below to migrate the lineage data to the new model.
5.1. Enter the Django shell.
alation_django_shell
5.2. Execute the script.
from rosemeta.tasks.migrations import populate_new_lineages_from_old populate_new_lineages_from_old.delay()
5.3. Exit from the Django shell.
exit()
Exit from the Alation shell.
exit
You have now enabled Lineage V2 on your Alation instance.