Search Engine: Elastic

Article ID: 130126, created on Jan 9, 2017, last review on Sep 25, 2017

  • Applies to:
  • Business Automation 7.0

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.2-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.
  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.

caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 198398b282069eaf2d94a6af87dcb3ff c0f836394088a28cc30dd0e5fe8b600e b2c3b33425dfc50c7d41a2efaa7f84f3

Email subscription for changes to this article
Save as PDF