static void migrateToPropertyStore(String hardwareLayoutPath, String partitionLayoutPath, String zkLayoutPath,
      String clusterNamePrefix, String dcs) throws Exception {

    HelixBootstrapUpgradeUtil helixBootstrapUpgradeUtil =
        new HelixBootstrapUpgradeUtil(hardwareLayoutPath, partitionLayoutPath, zkLayoutPath, clusterNamePrefix, dcs,
            DEFAULT_MAX_PARTITIONS_PER_RESOURCE, false, false, null, null, null, null, null,
            HelixAdminOperation.MigrateToPropertyStore, PROPERTY_STORE, false, 0);
    helixBootstrapUpgradeUtil.migrateToPropertyStore();
  }
Copy the legacy custom InstanceConfig properties to the DataNodeConfigs tree in the property store.
@param hardwareLayoutPath the path to the hardware layout file.
@param partitionLayoutPath the path to the partition layout file.
@param zkLayoutPath the path to the zookeeper layout file.
@param clusterNamePrefix the prefix that when combined with the cluster name in the static cluster map files
                         will give the cluster name in Helix to bootstrap or upgrade.
@param dcs the comma-separated list of data centers that needs to be migrated
@throws Exception
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixBootstrapUpgradeUtil.java