Components

The migration tool is composed of migrate.py and user.cfg. You can obtain the tool from Service Tools > Load Balancer Migration Tool.

  • migrate.py is the main script, which provides the following functions:
    • Checks whether classic load balancers can be migrated and provides load balancer IDs.
    • Confirms whether you want to create shared load balancers and creates shared load balancers after your confirmation.
    • Confirms whether you want to delete existing classic load balancers after shared load balancers are created. If you confirm to the deletion, existing classic load balancers will be deleted. If you choose not to delete existing classic load balancers, the tool will automatically exit, and you need to manually delete these load balancers later.
  • user.cfg is the configuration file to be configured. The parameters in the configuration file are as follows:
    • username: username used for logging in to the management console
    • password: password used for logging in to the management console
    • project_id: project ID
    • domain_name: account name
    • iam_endpoint: IAM endpoint
    • vpc_endpoint: VPC endpoint
    • elb_endpoint: ELB endpoint
    • autoscaling_endpoint: AS endpoint

Methods of Querying Parameters in the Configuration File

  • Query the username, account, and project ID.
    1. Log in to the management console.
    2. Click the username and choose My Credentials from the drop-down list.

      On the My Credentials page, view the username, account, and project ID.

      Figure 1 My Credentials