Cause

When you re-register a host in Odin Automation or migrate it, its network interface name of a new host may be different from the one kept in the OA DB. As it's hard to change the network interface name on the OS level, you need to update the corresponding value in the OA DB.

This KB explains how to update the network interface name of a host in OA DB.

Resolution

Perform the following actions to update a hosts network interface name in OA DB with the actual network interface name of a new host you plan to re-register:

  1. Download rename-net-interface-in-oa.py to OA MN.
  2. Check sha1sum of rename-net-interface-in-oa.py file: 9e3f43524c14430489e737525a6c29019171a338. This can be done by running:

    # sha1sum rename-net-interface-in-oa.py
    
  3. Execute on OA MN:

    # python rename-net-interface-in-oa.py {host_id} {interface_old_name} {interface_new_name}
    

    where:

    {host_id} - Host ID affected node
    {interface_old_name} - Old name of network interface
    {interface_new_name} - New name of network interface
    

    Example:

    # python rename-net-interface-in-oa.py 12345 eth0 net0
    

Internal content