Difference between revisions of "Moving Instances"

[unchecked revision][checked revision]
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
To move an instance to a different location follow these steps:
 
To move an instance to a different location follow these steps:
  
* [[Management Console#Logging On|Log on]] to the Management Console.
+
* [[Management Console - Logging On|Log on]] to the Management Console.
 
* Click on ''General'' > ''Instances''.
 
* Click on ''General'' > ''Instances''.
* Select the instance to move.
+
* Select the instance to move and stop it.
* Stop the instance.
+
* Click on ''Configure...'' to open the ''Instance Configuration''.
* Open the ''Instance Configuration''.
 
 
[[File:Ms_spe_move_instance_01.png|center]]
 
[[File:Ms_spe_move_instance_01.png|center]]
* Move the ''Base Directory'' of the Instance with your preferred file explorer to the new location. It is not sufficient just to change the ''Base Directory'' in the ''Instance Configuration''. This will not move the instance automatically. You are able to move the ''Base Directory'' to a different ''Instance Host'' or to a storage, that is accessible from a different ''Instance Host'' if you want that instance being run on a different ''Instance Host''.
+
* Locate the ''Base Directory'' of the instance in your preferred file manager (i.e. Windows Explorer) and move the directory to the new location. This can be any location to which the current instance host has access, or, in case it is planed to migrate to another instance host, that is accessible by the new instance host.
*: '''Hint:''' If you need a minimal downtime of the instance, you could stop all archiving processes, create a backup of the instance, and store the backup in the new location. Then you just have to change the path instead of waiting for the transfer process.
+
*: '''Please note:''' It is not sufficient to just change the ''Base Directory'' in the ''Instance Configuration'', as this will not move the instance data automatically.
* Change the ''Base Directory'' in the ''Instance Configuration'' if you just have changed the location on the same ''Instance Host''.
+
* Change the ''Base Directory'' in the ''Instance Configuration'' to the new location.
[[File:Ms_spe_move_instance_02.png|center]]
+
*:[[File:Ms_spe_move_instance_02.png|center]]
* If you want the instance being run on a different ''Instance Host'', change the ''Instance Host'' and the ''Base Directory'', if it has changed.
+
* ''Optional:'' If the instance should also be move to a different instance host, change the value of the ''Instance Host'' field as well.
[[File:Ms_spe_move_instance_03.png|center]]
+
*:[[File:Ms_spe_move_instance_03.png|center]]
* Close the ''Instance Configuration''.
+
* Click ''OK'' to save the changes.
 
* Start the instance.
 
* Start the instance.
* Doubleclick on the instance and navigate to the ''Archive Stores'' tab.
+
* Open the instance details by double-clicking on an instance in the list.
* Verify that all stores are loaded correctly.
+
* Navigate to the ''Archive Stores'' tab to verify that all archives stores have been loaded successfully. If some archive stores failed to load, proceed with the following section to adjust archive store paths.
[[File:Ms_spe_move_instance_04.png|600px|center]]
+
 
* If an archive store is in an error state, because the path could not be found, follow these steps:
+
== Adjusting Archive Store Paths ==
** Remember the current ''Requested State'' of the archive store.
+
If relative paths, starting with swung dash (~) sign, have been used to point to archive store locations, moving an instance usually does not require adjustments of archive store paths. In case archive stores have been created using absolute paths, manual adjustment of the paths as described below is needed after moving an instance.
** Set the ''Requested State'' to ''disabled''.
+
 
** Select the ''Set Path'' command of the archive store.
+
<p class="mswarning">'''Important notice:''' Adjust the path of the archive store that is set to ''current'' state after all other archive store paths have been correctly adjusted. Otherwise duplicates may get created.</p>
** Change the path to the new path. You either can enter the full absolute path, or you can enter a relative path from the instance's ''Data'' directory, by appending a ''~'' in front of the archive store directory.
+
 
** Set the ''Requested State'' of the store back to the previous state.
+
* [[Management Console - Logging On|Log on]] to the Management Console.
[[File:Ms_spe_move_instance_05.png|600px|center]]
+
* Click on ''General'' > ''Instances''.
* Restart your archiving profiles if you have paused them.
+
* Open the instance details by double-clicking on an instance in the list.
 +
* Click on the ''Archive Stores'' tab.
 +
* Remember the current ''Requested State'' of the archive store.
 +
*: [[File:Ms_spe_move_instance_04.png|600px|center]]
 +
* Set the ''Requested State'' to ''disabled'' by clicking on ''Store Commands'' or right-click on the archive store to open a context menu.
 +
* Select ''Set Path'' command from the ''Store Commands'' menu.
 +
* Change the path to the new location. Either enter the absolute path, or use a relative path to the instance's ''Data'' directory, by prepending a ''~'' in front of the archive store's path.
 +
* Set the ''Requested State'' of the archive store back to the previous state.
 +
*: [[File:Ms_spe_move_instance_05.png|600px|center]]

Latest revision as of 16:44, 23 March 2017

To move an instance to a different location follow these steps:

  • Log on to the Management Console.
  • Click on General > Instances.
  • Select the instance to move and stop it.
  • Click on Configure... to open the Instance Configuration.
Ms spe move instance 01.png
  • Locate the Base Directory of the instance in your preferred file manager (i.e. Windows Explorer) and move the directory to the new location. This can be any location to which the current instance host has access, or, in case it is planed to migrate to another instance host, that is accessible by the new instance host.
    Please note: It is not sufficient to just change the Base Directory in the Instance Configuration, as this will not move the instance data automatically.
  • Change the Base Directory in the Instance Configuration to the new location.
    Ms spe move instance 02.png
  • Optional: If the instance should also be move to a different instance host, change the value of the Instance Host field as well.
    Ms spe move instance 03.png
  • Click OK to save the changes.
  • Start the instance.
  • Open the instance details by double-clicking on an instance in the list.
  • Navigate to the Archive Stores tab to verify that all archives stores have been loaded successfully. If some archive stores failed to load, proceed with the following section to adjust archive store paths.

Adjusting Archive Store Paths

If relative paths, starting with swung dash (~) sign, have been used to point to archive store locations, moving an instance usually does not require adjustments of archive store paths. In case archive stores have been created using absolute paths, manual adjustment of the paths as described below is needed after moving an instance.

Important notice: Adjust the path of the archive store that is set to current state after all other archive store paths have been correctly adjusted. Otherwise duplicates may get created.

  • Log on to the Management Console.
  • Click on General > Instances.
  • Open the instance details by double-clicking on an instance in the list.
  • Click on the Archive Stores tab.
  • Remember the current Requested State of the archive store.
    Ms spe move instance 04.png
  • Set the Requested State to disabled by clicking on Store Commands or right-click on the archive store to open a context menu.
  • Select Set Path command from the Store Commands menu.
  • Change the path to the new location. Either enter the absolute path, or use a relative path to the instance's Data directory, by prepending a ~ in front of the archive store's path.
  • Set the Requested State of the archive store back to the previous state.
    Ms spe move instance 05.png