Preparation

Make sure that preparation stage is finished from guide Migration of Odin Automation 7.0 OSS/BSS Management Nodes from RHEL\CentOS 6 to RHEL\CentOS 7

Migration scripts use SSH communication between the source and destintion node. You shoud provide the root password for authentication.

Make sure that the source and destination Billing Database servers are ready for migration:

  1. Log in to the OA management node as root.
  2. Download the following scripts.
  3. Extract the content of the archive by command:

    # unzip el6-ba-migration-1.1.6-script.zip
    # cd el6_ba_migration
    
  4. Run the pre-check script:.

    # python el6_ba_migrate.py --db=[BACKNET_IP] --check
    

    where [BACKNET_IP] - Backnet communication IP of destination Billing Database server.

    For example:

    # python el6_ba_migrate.py --db=192.168.101.115 --check
    

Migration

To migrate the data from the source server to the destination server:

  1. Execute script on mangement node:

    # python el6_ba_migrate.py --db=[BACKNET_IP] --backup
    

    where [BACKNET_IP] - Backnet communication IP of destination Billing Database server.

    For example:

    # python el6_ba_migrate.py --db=192.168.101.115 --backup
    
  2. Assign the IP addresses of the source host to the destination host. Make sure that the IP addresses are assigned to the same network interfaces, as they were configured on the source host. Remove temporary IP addresses.

    Note Apply KB 132165 if it is impossible to use old network interface names on the new host.

  3. Configure the host name so that it matches the name of the original host. Then make sure that host name resolution is the same as on the source node.
  4. If a virtualization technology is used, make sure that it has the correct settings (IP addresses, host name, name servers) for the destination node.
  5. Make sure that the source server is down and the destination server is running.
  6. Re-register the BA DB node:

    1. Login to PCP
    2. Open the Billing Database node at Infrastructure > Service Nodes
    3. Press Reregister and enter authorization data.
    4. Press Reregister and wait until all installtion tasks are completed.
  7. To restore the backup on the new server, execute script on management node:

    # python el6_ba_migrate.py --db=[BACKNET_IP] --restore
    

    where [BACKNET_IP] - Backnet communication IP of destination Billing Database server.

    For example:

    # python el6_ba_migrate.py --db=192.168.101.115 --restore
    

At this point, the management node and Billing Application servers will operate with the destination Billing Database server.

Internal content