
#INSTALL SLACK UBUNTU 18.04 HOW TO#
ConclusionĪt this point you have an Ubuntu 18.04 host running with Gremlin, you’ve run your first Chaos Engineering attacks, and you’ve learned how to halt running attacks. The ability to quickly halt all running experiments is an important part of Chaos Engineering, and allows us to experiment in a safe way. In this case either would work, as we only have one attack running, but in some situations we might want to halt one attack without impacting others. We can either click the Halt button to the right of the attack, or the Halt All Attacks button. Once the attack is in the Running state, there are two options for halting it. Once it’s running you’ll see it listed again under the Active attacks. In the Gremlin UI go to Attack and New Attack, and launch another CPU attack with the same settings as last time. Gremlin allows us to halt individual attacks, or all running attacks. For abort conditions to be useful, our Chaos Engineering tool needs to allow us to halt experiments immediately. Abort conditions could be defined as an increase in error rate, an increase in latency, or specific alerts we receive. Abort conditions are things that would make us want to halt an experiment immediately, because we are concerned about the safety of our systems. It’s a recommended practice to define abort conditions before running Chaos Engineering experiments. You’ll then see it listed in Gremlin as Completed. The attack will end after the 180 seconds have passed. Once the attack changes to a Running state, you should see much more CPU activity than previously. Go back to your SSH session on the Ubuntu host and examine your top output. You’ll then see the attack listed as Active.


Then click Unleash Gremlin, which will start the attack. For this first attack we’ll set the length to 180 seconds, select All Cores, and leave the CPU percentage at the default setting. Scroll down again to enter the settings for the attack. The CPU attack should be selected by default.

In the Gremlin web UI, click the Attack link in the left navigation bar, and then click the New Attack button. This is how we’ll view the CPU usage for this experiment. On your Ubuntu host, run the “top” command. Step 2 - Running your first CPU experiment The setup is now complete and you’re ready to begin running Chaos Engineering experiments. Input your Team ID and Secret Key when you’re prompted for them.
