Skip to content

Commit 35446fe

Browse files
authored
Merge pull request #4408 from SkylineCommunications/swarming-update
Swarming - small changes
2 parents 85dd0d6 + 8d9f61a commit 35446fe

File tree

7 files changed

+26
-25
lines changed

7 files changed

+26
-25
lines changed

release-notes/General/General_Feature_Release_10.5/General_Feature_Release_10.5.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Note that when Swarming is enabled, this will result in some major changes to th
123123
> [!IMPORTANT]
124124
>
125125
> - Swarming cannot be enabled on DataMiner Main Release 10.5.
126-
> - Once the element configuration has been moved from disk to database, there is no good way to revert this change, which means that if you were to disable Swarming again, you would lose all your elements, leaving your DMS with a lot of lingering references to non-existing elements. For instructions on how to disable Swarming and **partially** recover your elements, see [Partially rolling back Swarming](xref:SwarmingRollback).
126+
> - If you decide to [roll back Swarming](xref:SwarmingRollback) again, you will need to restore a backup to get the element XML files back. Any changes that have been implemented to elements after you enabled Swarming will be lost. As a consequence, the sooner you decide to roll back, the smaller the impact of the rollback will be.
127127
128128
##### Capabilities
129129

release-notes/General/General_Main_Release_10.6/General_Main_Release_10.6.0_new_features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Note that when Swarming is enabled, this will result in some major changes to th
3333
> [!IMPORTANT]
3434
>
3535
> - Swarming cannot be enabled on DataMiner Main Release 10.5.
36-
> - Once the element configuration has been moved from disk to database, there is no good way to revert this change, which means that if you were to disable Swarming again, you would lose all your elements, leaving your DMS with a lot of lingering references to non-existing elements. For instructions on how to disable Swarming and **partially** recover your elements, see [Partially rolling back Swarming](xref:SwarmingRollback).
36+
> - If you decide to [roll back Swarming](xref:SwarmingRollback) again, you will need to restore a backup to get the element XML files back. Any changes that have been implemented to elements after you enabled Swarming will be lost. As a consequence, the sooner you decide to roll back, the smaller the impact of the rollback will be.
3737
3838
##### Capabilities
3939

user-guide/Advanced_Functionality/Swarming/EnableSwarming.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ uid: EnableSwarming
1717

1818
Swarming [will eventually support automatic switchover](xref:Swarming#upcoming-features) of elements in case issues are detected, so that it will replace Failover functionality.
1919

20-
- No [data offloads](xref:Offload_database) are configured.
20+
- No [data offloads](xref:Offload_database) are configured (note that this prerequisite will no longer be needed soon).
2121

2222
- The [*LegacyReportsAndDashboards* soft-launch option](xref:Overview_of_Soft_Launch_Options#legacyreportsanddashboards) is not enabled.
2323

@@ -94,6 +94,8 @@ To enable Swarming using SLNetClientTest tool:
9494

9595
During DataMiner startup, the existing element XML files will be moved from the disk to the database. This can take several minutes. While this is happening, a message will be displayed on any clients that are trying to connect.
9696

97+
![Swarming message](~/user-guide/images/Swarming_message.jpg)
98+
9799
> [!TIP]
98100
> In case you encounter DataMiner startup issues after you have enabled Swarming, refer to [Troubleshooting - DataMiner startup issues](xref:Troubleshooting_Startup_Issues#swarming-issue).
99101

user-guide/Advanced_Functionality/Swarming/RollbackSwarming.md

+19-20
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
uid: SwarmingRollback
33
---
44

5-
# Partially rolling back Swarming
5+
# Rolling back Swarming
66

7-
> [!IMPORTANT]
8-
> When you roll back Swarming, your data will only partially be recovered. The more time has passed since Swarming was enabled, the more information may be lost. If you are using a test system and you do not need to keep your data, a clean reinstall is advised.
7+
When Swarming is enabled, the element config XML files (e.g. `Element.xml`, `ElementData.xml`, `Description.xml`, etc.) are moved from disk to the database. There is currently no procedure to move them back to disk, so you will instead need to [restore the files from a backup](#restoring-the-element-xml-files-from-a-backup) from before Swarming was enabled. Any **changes that happened to elements or redundancy groups after Swarming was enabled will be lost**. As a consequence, if you enabled Swarming but want to switch back, e.g. to temporarily go for a Failover setup and only enable Swarming later when failure detection has been implemented, the sooner you roll back Swarming again, the better.
98

10-
When Swarming is enabled, the element config XML files (e.g. `Element.xml`, `ElementData.xml`, `Description.xml`, etc.) are moved from disk to the database. There is currently no procedure to move them back to disk.
9+
The longer you wait, the greater the impact will be. Any modifications to existing elements or redundancy groups since the backup and any new elements or redundancy groups created since the backup will be lost, and any reference to them could become invalid. This for example means that services, redundancy groups, etc. could have references to elements that no longer exist.
1110

12-
However, there are some things you can do partially recover some data.
11+
For a small system, instead of restoring a backup, you can [restore elements using an export and import](#restoring-elements-using-an-export-and-import).
1312

14-
## Partial rolling back Swarming from a backup
13+
If you are using a test system and do not need to keep your data, we recommend doing a clean reinstall instead.
14+
15+
## Restoring the element XML files from a backup
1516

1617
When DataMiner is moving the XML files from disk to database, it will take a backup first. This migration happens during the first DataMiner startup after the Swarming feature is enabled.
1718

@@ -28,12 +29,15 @@ To restore this backup and roll back Swarming:
2829

2930
This will restore both the elements and redundancy groups to be back as they were at the time of the backup, meaning that any changes or additions since the backup will be lost.
3031

31-
1. [Manually disable Swarming](#manually-disabling-swarming-in-the-config-files).
32+
1. Manually disable Swarming:
3233

33-
1. Restart all DMAs.
34+
1. Shut down all DMAs in the DMS.
35+
36+
1. On every DMA, delete the file `C:\Skyline DataMiner\Swarming.xml`.
3437

35-
> [!IMPORTANT]
36-
> When you restore the backup, any modifications to existing elements or redundancy groups since the backup and any new elements or redundancy groups created since the backup will be lost. Any reference to these elements could become invalid.
38+
1. Restart all DMAs.
39+
40+
1. Restart all DMAs.
3741

3842
## Restoring elements using an export and import
3943

@@ -43,17 +47,12 @@ For small systems, an alternative is to export the latest version of the element
4347

4448
Do not include any data from the database in the export. Only the element configuration should be included.
4549

46-
1. [Manually disable Swarming](#manually-disabling-swarming-in-the-config-files).
50+
1. Manually disable Swarming:
4751

48-
1. [Import the elements](xref:Importing_elements_services_etc_from_a_dmimport_file) again.
52+
1. Shut down all DMAs in the DMS.
4953

50-
## Manually disabling Swarming in the config files
54+
1. On every DMA, delete the file `C:\Skyline DataMiner\Swarming.xml`.
5155

52-
> [!IMPORTANT]
53-
> This is not advised and can have big consequences for the system. For example, services, redundancy groups, etc. can have references to elements that no longer exist.
56+
1. Restart all DMAs.
5457

55-
1. Shut down all DMAs in the DMS.
56-
57-
1. On every DMA, delete the file `C:\Skyline DataMiner\Swarming.xml`.
58-
59-
1. Restart all DMAs.
58+
1. [Import the elements](xref:Importing_elements_services_etc_from_a_dmimport_file) again.

user-guide/Advanced_Functionality/Swarming/Swarming.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Swarming can be enabled from DataMiner 10.5.1/10.6.0 onwards.<!-- RN 41490 --> N
3030
- Element configuration will be stored in the cluster-wide database instead of in the element XML files on the disk of the DataMiner Agent hosting each element.
3131

3232
> [!IMPORTANT]
33-
> Once the element configuration has been moved from disk to database, there is no good way to revert this change, which means that if you were to disable Swarming again, you would lose all your elements, leaving your DMS with a lot of lingering references to non-existing elements. For instructions on how to disable Swarming and **partially** recover your elements, see [Partially rolling back Swarming](xref:SwarmingRollback).
33+
> If you decide to [roll back Swarming](xref:SwarmingRollback) again, you will need to restore a backup to get the element XML files back. Any changes that have been implemented to elements after you enabled Swarming will be lost. As a consequence, the sooner you decide to roll back, the smaller the impact of the rollback will be.
3434
3535
## Upcoming features
3636

user-guide/Advanced_Functionality/toc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ items:
635635
topicUid: SwarmingElements
636636
- name: Swarming bookings
637637
topicUid: SwarmingBookings
638-
- name: Partially rolling back Swarming
638+
- name: Rolling back Swarming
639639
topicUid: SwarmingRollback
640640
- name: Tutorials
641641
items:
17.5 KB
Loading

0 commit comments

Comments
 (0)