Preparation

Make sure that the 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 the destintion node. You should provide the root password for authentication.

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

  1. Log in to the 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 --store=[BACKNET_IP] --check
    

    where [BACKNET_IP] - backnet communication IP of the destination Billing Online Store server.

    For example:

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

Migration

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

  1. Execute the script on mangement node:

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

    where [BACKNET_IP] - backnet communication IP of the destination Billing Online Store server.

    For example:

    # python el6_ba_migrate.py --store=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 the 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, hostname, 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 Online Store node:

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

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

    where [BACKNET_IP] - backnet communication IP of the destination Billing Online Store server.

    For example:

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

At this point, the Billing Online Store server is running on the destination node.

Internal content