Migrating the Host PowerTools for VMware database


This article explains how to migrate the database of Host PowerTools for VMware from one appliance to another. This is useful if you want to create a new instance of Host PowerTools for VMware, while retaining the data from an existing appliance.

The database contains information about snapshots taken with PowerTools and more information used internally by the tool.

This article assumes that you have two PowerTools appliances deployed - one with data to migrate (the "first appliance") and a new instance to migrate the data to (the "new appliance").

Step 1 - Stopping the service on the appliances

Using ssh (or putty on Windows), log in to both the first appliances and the new appliance.
You can find the IP of an appliance using the "Summary" view of the appliance in the vCenter client.
Use the following credentials:

User: root
Password: nfinidat1

On both appliances, run the following commands:

stop powertools
service redis-server stop

Step 2 - Copying the database file

Use the scp command to copy the database file from the first appliance to the new appliance.

Log in to the new appliance and run the following command (fill in the IP address of the first appliance):

scp root@<first-appliance-ip>:/opt/infinidat/host-power-tools-for-vmware/data/redis.aof /opt/infinidat/host-power-tools-for-vmware/data/redis.aof

Use the same password from above.


For example, if the IP of the appliance is, this command will copy the database:

root@localhost:~# scp root@ /opt/infinidat/host-power-tools-for-vmware/data/redis.aof
root@'s password:

Note: this command assumes that there is IP connectivity between the two appliances. In case there is no direct connectivity, you can copy the database file from the first appliance to an intermediate location that is accessible to both appliances and then copy it to the new appliance.

Step 3 - Starting the service on the new appliance

On the new appliance, run the following commands:

service redis-server start
start powertools


Powered by Zendesk