Relocate storage node on Windows
Step 1: Copy the data
Start by copying the data from the source machine to the target machine. We recommend using Robocopy, a command-line utility that is included into all Windows packages starting from Windows Vista and Windows Server 2008. Robocopy minimizes the downtime while the node is unavailable.
To learn more about the syntax, start the Command Prompt and submit the following command:
You can run Robocopy either on the source machine or on the target machine as in the current example.
- Create a directory on the target machine where you want to copy the data – for example
- Copy the data from the source machine to the target machine.
robocopy \\source_machine\original_dir \new_dir /E
If the source is in the local network, format the command in the following way:
robocopy \\ 192.168.0.123\storage_orig data\storage_new /E
If the source is on a remote server, you need to log in to the server, go to the source directory and then do the copying.
NET USE \\192.168.0.123\IPC$ /u:root 123456 cd c:storage/ robocopy \\ 192.168.0.123\storage_orig data\storage_new /E
Step 2: Stop the storage node service
Start the Services Console, right-click "Backup Service Controller" (or ProcessController). Choose Stop.
The downtime has started.
Step 3: Copy new data
Now it is necessary to copy the most recent backup data that might have accumulated on the source storage node after the initial synchronization session. We recommend copying the data with the
/MIR option (it removes temporary files from the target directory).
robocopy \\ 192.168.0.123\storage_orig data\storage_new /MIR
When the final synchronization is completed, the original and the target folders will contain exactly the same data.
Step 4: Create a user for storage node access
Create a new user and a group named "iasouser" with GUID 2001 on the new storage node.
- In the Command Prompt, create a new group:
net localgroup 2001 /add
- Create a user in that group:
net localgroup 2001 iasouser /add
Step 5: Install storage node software to new hardware
- Copy the original storage node installation folder from the original machine.
robocopy \\192.168.0.123\ C:\Program Files\CloudStorageNode \Program Files\CloudStorageNode /E
- Make sure the storage_node_config.ini has been copied.
- Download the Storage Node Installer.
- Run the Storage Node Installer with the Reconfigure option. You can change the settings as necessary (even use a different IP address). But it is important that the primary properties stay unchanged:
- Storage node name
- Storage pool