Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the PIM tools

    Code Block
    yum install abiquo-pim-tools

    The default install folder is /opt/abiquo/pim-tools

  2. Obtain the datacenter-id of the Remote Services server from the value of the abiquo.datacenter.id property in the abiquo.properties file.

    Code Block
    abiquo.datacenter.id=abq_dc1

    In this case, the value of the datacenter-id parameter will be "abq_dc1"

  3. Run the PIM migrator in dry run mode, which is the default mode that doesn't make any changes.

    The "-noseed" parameter is required. The default value is false, which means the migrator will use the platform's default seed file. You can specify a seed file with the "-seed" parameter. 

    We recommend that you save the log in standard output to a file. And we recommend that you give the output files names that will identify the Remote Services server.

    For example 

    Code Block
    java -jar /opt/abiquo/pim-tools/pimmigrator.jar -dc=abq_dc1 -redishost=localhost -plan=migration-plan.data -noseed -output=update_DC1.sql | tee pimmigrator_dry_run_DC1.log


  4. Check the output file. If there are any errors or warnings, resolve them.
    If necessary, contact Abiquo Support.
  5. Run the PIM migrator in update mode, by setting the "no dry run" option to true.

    Code Block
    java -jar /opt/abiquo/pim-tools/pimmigrator.jar -nodry=true -dc=abq_dc1 -redishost=localhost -plan=migration-plan.data -noseed -output=update_DC1.sql | tee pimmigrator_DC1.log


  6. Copy the SQL file from the Remote Services server to the Abiquo database server.

    For example

    Code Block
    scp update_DC1.sql root@my.database.server:~/


...