Version 7.1 by Erik Bakker on 2022/06/13 08:20

Hide last authors
Erik Bakker 1.1 1 {{container}}{{container layoutStyle="columns"}}(((
2
Erik Bakker 7.1 3 Sometimes you have runtimes running on-premises. What we mean by that is that the runtimes are running within a data center of the customer instead of running in the eMagiz Cloud. For running a runtime on-premise we support running them on either Windows or Linux as the operating system. In this microlearning, we will learn how you can edit the memory settings of a runtime that is deployed on-premise on Linux.
Erik Bakker 6.1 4
Erik Bakker 1.1 5 Should you have any questions, please contact academy@emagiz.com.
6
Erik Bakker 6.1 7 * Last update: April 5th, 2022
Erik Bakker 2.1 8 * Required reading time: 5 minutes
Erik Bakker 1.1 9
10 == 1. Prerequisites ==
Erik Bakker 6.1 11 * Basic knowledge of the eMagiz platform
Erik Bakker 1.1 12
13 == 2. Key concepts ==
Erik Bakker 7.1 14 This microlearning centers on editing the memory settings for an on-premise runtime that is running on Linux. With an on-premise runtime we mean: A runtime that is running within a data center of the customer instead of running in the eMagiz Cloud
Erik Bakker 1.1 15
Erik Bakker 7.1 16 The focal point of this microlearning will be to learn how you can safely edit the memory settings for an on-premise runtime running on Linux
Erik Bakker 1.1 17
Erik Bakker 6.1 18 * The key aspects are:
19 ** eMagiz can help you determine the correct size you need to configure via Design *> Architecture
Erik Bakker 7.1 20 ** You need access to the on-premise location to perform the action
Erik Bakker 6.1 21 ** Only change the wrapper.conf file. Nothing else
Erik Bakker 1.1 22
Erik Bakker 7.1 23 == 3. Edit memory for on-premise runtime (Linux) ==
Erik Bakker 1.1 24
Erik Bakker 7.1 25 Sometimes you have runtimes running on-premises. What we mean by that is that the runtimes are running within a data center of the customer instead of running in the eMagiz Cloud. For running a runtime on-premise we support running them on either Windows or Linux as the operating system. In this microlearning, we will learn how you can edit the memory settings of a runtime that is deployed on-premise.
Erik Bakker 1.1 26
Erik Bakker 7.1 27 The focal point of this microlearning will be to learn how you can safely edit the memory settings for an on-premise runtime.
Erik Bakker 1.1 28
Erik Bakker 6.1 29 * The key aspects are:
30 ** eMagiz can help you determine the correct size you need to configure via Design *> Architecture
Erik Bakker 7.1 31 ** You need access to the on-premise location to perform the action
Erik Bakker 6.1 32 ** Only change the wrapper.conf file. Nothing else
Erik Bakker 1.1 33
Erik Bakker 6.1 34 === 3.1 Check adviced size ===
Erik Bakker 1.1 35
Erik Bakker 6.1 36 Within Design Architecture you can see for each connector runtime what the advised sizing of eMagiz is based on how you have configured your integration data model. To do so navigate to Design *> Architecture and open the context menu on connector runtime level via a right mouse click.
Erik Bakker 1.1 37
Erik Bakker 6.1 38 [[image:Main.Images.Microlearning.WebHome@intermediate-solution-architecture-edit-memory-on-premise-runtime-windows--context-menu-view.png]]
Erik Bakker 1.1 39
Erik Bakker 6.1 40 When selecting the option View container a pop*up will be shown. Within this pop*up, you will see the advised heap and non*heap memory settings of that particular runtime.
Erik Bakker 1.1 41
Erik Bakker 6.1 42 [[image:Main.Images.Microlearning.WebHome@intermediate-solution-architecture-edit-memory-on-premise-runtime-windows--pop-up-details.png]]
Erik Bakker 1.1 43
Erik Bakker 6.1 44 === 3.2 Edit memory on Linux based runtimes ===
Erik Bakker 2.1 45
Erik Bakker 7.1 46 Now that we know what the advised size is we can navigate to our on-premise installation location to edit the memory settings. Below we will detail the various steps needed to make this happen.
Erik Bakker 2.1 47
Erik Bakker 6.1 48 * Log in via Putty by typing in the host and the port and press load
49 * When asked for credentials fill in credentials (Be aware, Linux does not acceapt ctrl+v and does not show the password or an indication of the password). Right mouse click to copy the password and press enter
50 * Navigate to the directory where you have installed the runtime (Command is: cd {directory structure})
51 * Open the folder related to the runtime you want to change (Command is: cd emagiz_{technicalbusname}-{containertype}-{techincalnameruntime}_{environment}).
52 * Open the etc folder within your runtime installation (Command is: cd etc)
53 * Type in the following command: sudo vi emagiz and press Tab. This way Linux should auto suggest the so called wrapper.conf to be edited and press Enter if so
54 * Type "i" to enter insert mode
55 * Change the values of heap and or metaspace memory you want to change (you can navigate through the document with your arrow keys)
56 * Press ESC and then type ":wq!" then press Enter to save the changes and exit Edit mode. Note: If you would like to exit the file without making any changes press ESC, then type ":q!" and press Enter
57 * Restart the runtime by executing the correct restart command:
58 ** systemd type: sudo systemctl restart <SERVICE_NAME>
59 ** SystemV Type: sudo /etc/init.d/<SERVICE_NAME>-service restart
Erik Bakker 2.1 60
61
62
63
Erik Bakker 1.1 64 == 4. Assignment ==
65
Erik Bakker 6.1 66 As this is a more theoretical microlearning we do not have an assignment
Erik Bakker 1.1 67
68 == 5. Key takeaways ==
69
Erik Bakker 6.1 70 * The key aspects are:
71 ** eMagiz can help you determine the correct size you need to configure via Design *> Architecture
Erik Bakker 7.1 72 ** You need access to the on-premise location to perform the action
Erik Bakker 6.1 73 ** Only change the wrapper.conf file. Nothing else
Erik Bakker 1.1 74
75
Erik Bakker 6.1 76
Erik Bakker 1.1 77 == 6. Suggested Additional Readings ==
78
Erik Bakker 6.1 79 None
Erik Bakker 1.1 80
81 == 7. Silent demonstration video ==
82
Erik Bakker 6.1 83 As this is a more theoretical microlearning we have no video for this
Erik Bakker 1.1 84
85 )))((({{toc/}}))){{/container}}{{/container}}