Enabling Lineage V2

Applies to releases V R6 (5.10.x) to 2021.1


In release 2021.2 and newer releases, Lineage V2 is enabled by default and does not require to be explicitly enabled by an admin.

Lineage V2 can be turned on by setting the corresponding feature flag. This feature cannot be disabled.

You will need the SSH access to the Alation instance to enable Lineage V2.

To enable:

1. SSH to your Alation instance.

2. Enter the Alation shell:

sudo /etc/init.d/alation shell
  1. Using the alation_conf command, set  the dedicated flag alation.feature_flags.enable_lineage_v2 to True:

alation_conf alation.feature_flags.enable_lineage_v2 -s True

4. Restart the web server:

alation_supervisor restart web:*

5. If lineage data already exists on your instance (if this is not a new installation of Alation), run the following script from the Django shell to migrate the existing lineage data to the new model:


from rosemeta.tasks.migrations import populate_new_lineages_from_old
  1. Exit the Django shell:

  1. Exit the Alation shell:


You have now enabled Lineage V2 on your Alation instance.