Wiki source code of Clean Store

Last modified by Martijn Woudstra on 2022/08/01 14:14

Hide last authors
Martijn Woudstra 16.1 1 {{container}}{{container layoutStyle="columns"}}(((
2 In our previous microlearnings on cloud management, we learned a lot about the various actions you can take from our portal concerning the eMagiz cloud. In this microlearning, we will wrap the subject up by looking at the "clean store" action. The "clean store" action severely impacts your running solution as it clears all messages from your message store.
3
4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5
6 == 1. Prerequisites ==
7
8 * Expert knowledge of the eMagiz platform
9
10 == 2. Key concepts ==
11
12 This microlearning focuses on the "clean store" action. This action clears all messages within your message store so you can start with a clean slate.
13
14 * The "clean store" action has the most impact of all eMagiz cloud actions
15 * When executing the "clean store" action, you clear all messages from the message store
16 ** This means that all queued messages are wiped
17 * Consider the impact of executing this action before executing the action
18
19 == 3. Clean Store ==
20
21 In our previous microlearnings on cloud management, we learned a lot about the various actions you can take from our portal concerning the eMagiz cloud. In this microlearning, we will wrap the subject up by looking at the "clean store" action. The "clean store" action severely impacts your running solution as it clears all messages from your message store.
22
23 === 3.1 Considerations ===
24
25 * The "clean store" action has the most impact of all eMagiz cloud actions
26 * When executing the "clean store" action, you clear all messages from the message store
27 ** This means that all queued messages are wiped
28 * Consider the impact of executing this action before executing the action
29
30 === 3.2 Execution Steps ===
31
32 Follow these steps carefully to acquire the desired result. The clean store is even more nuclear than the Reset Runtime option. By choosing the clean store, you not only throw away logging and deployed flows but also **all** messages stored on JMS and runtime level. Only use this option after consulting someone else, and only use it on Test and Acceptance. Using it on Production would probably mean that the cure is worse than your problem.
33 1. Navigate to Deploy -> Architecture for the bus you want to perform this action
34 2. Select the correct environment for which you want to perform this action. See the figure below for how you can do this
35
36 [[image:Main.Images.Microlearning.WebHome@expert-emagiz-cloud-management--switch-environments.png]]
37
38 3. Press the "Start Editing" button, located on the left bottom of the screen
39 4. Navigate with your mouse to the white (blank) canvas surrounding your bus environment
40 5. Right-click on this white (blank) canvas and select the Clean Store option. See picture below
41
42 [[image:Main.Images.Microlearning.WebHome@expert-emagiz-cloud-management--select-clean-store-option.png]]
43
44 6. eMagiz will now automatically execute a clean store action. By performing the clean store action, you clear the message store of the JMS servers, including stopping the servers, removing the content of all queues, and starting them again.
45 7. Execute all standard checks, i.e., checking the logs under Manage -> Log Entries and verify if you can access the runtimes via runtime dashboard
46
47 == 4. Assignment ==
48
49 Describe scenarios where the clean store could be beneficial and when it is not helpful.
50 This assignment can be completed with the help of the (Academy) project you created/used in the previous assignment.
51
52 == 5. Key takeaways ==
53
54 * The "clean store" action has the most impact of all eMagiz cloud actions
55 * When executing the "clean store" action, you clear all messages from the message store
56 ** This means that all queued messages are wiped
57 * Consider the impact of executing this action before executing the action
58
59 == 6. Suggested Additional Readings ==
60
61 -
62
63 == 7. Silent demonstration video ==
64
65 As this is more of theoretical microlearning, there is no video accompanying the microlearning.)))((({{toc/}}))){{/container}}{{/container}}