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:

  1. Use SSH to connect to the Alation server.

  2. Enter the Alation shell using the following command:

    sudo /etc/init.d/alation shell
    
  3. Using alation_conf, set the flag alation.feature_flags.enable_lineage_v2 to True.

    alation_conf alation.feature_flags.enable_lineage_v2 -s True
    
  4. Restart the Web component.

    alation_supervisor restart web:*
    
  5. 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()
    
  1. Exit from the Alation shell.

    exit
    

You have now enabled Lineage V2 on your Alation instance.