From 4b3eddae2e00c8ab9b89ce2307541862c7dab569 Mon Sep 17 00:00:00 2001 From: SmritiSatya <117705907+SmritiSatya@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:32:07 +0530 Subject: [PATCH] Add note about permission required --- .../use-harness-ce/chaos-faults/linux/linux-jvm-cpu-stress.md | 3 ++- .../chaos-faults/linux/linux-jvm-memory-stress.md | 3 ++- .../chaos-faults/linux/linux-jvm-method-exception.md | 3 ++- .../chaos-faults/linux/linux-jvm-method-latency.md | 3 ++- .../chaos-faults/linux/linux-jvm-modify-return.md | 3 ++- .../use-harness-ce/chaos-faults/linux/linux-jvm-trigger-gc.md | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-cpu-stress.md b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-cpu-stress.md index 0aa89cf55d..b894576665 100644 --- a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-cpu-stress.md +++ b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-cpu-stress.md @@ -11,7 +11,8 @@ import FaultPermissions from './shared/fault-permissions.md' Linux JVM CPU stress consumes excessive CPU threads of the JVM. :::tip -JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- Provide **read** and **execute** permissions to the `/etc/linux-chaos-infrastructure/byteman` directory (the directory that houses Byteman agent) for the Java application user. ::: ![Linux JVM CPU stress](./static/images/linux-jvm-cpu-stress.png) diff --git a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-memory-stress.md b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-memory-stress.md index 2a3acbfc70..926c547ffc 100644 --- a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-memory-stress.md +++ b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-memory-stress.md @@ -11,7 +11,8 @@ import FaultPermissions from './shared/fault-permissions.md' Linux JVM memory stress consumes excessive memory resources of the JVM. This sometimes results in OOM kill (Out-of-memory). :::tip -JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- Provide **read** and **execute** permissions to the `/etc/linux-chaos-infrastructure/byteman` directory (the directory that houses Byteman agent) for the Java application user. ::: ![Linux JVM memory stress](./static/images/linux-jvm-memory-stress.png) diff --git a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-exception.md b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-exception.md index 870ca7cae5..6f4f12c24e 100644 --- a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-exception.md +++ b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-exception.md @@ -11,7 +11,8 @@ import FaultPermissions from './shared/fault-permissions.md' Linux JVM method exception injects chaos into a Java application to invoke an exception. :::tip -JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- Provide **read** and **execute** permissions to the `/etc/linux-chaos-infrastructure/byteman` directory (the directory that houses Byteman agent) for the Java application user. ::: ![Linux JVM method exception](./static/images/linux-jvm-method-exception.png) diff --git a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-latency.md b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-latency.md index 18fcfb25f7..1d3127f3e3 100644 --- a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-latency.md +++ b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-method-latency.md @@ -11,7 +11,8 @@ import FaultPermissions from './shared/fault-permissions.md' Linux JVM method latency slows down the Java application by introducing delays in executing the method calls. :::tip -JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- Provide **read** and **execute** permissions to the `/etc/linux-chaos-infrastructure/byteman` directory. ::: ![Linux JVM method latency](./static/images/linux-jvm-method-latency.png) diff --git a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-modify-return.md b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-modify-return.md index 35aabca859..c4b2e35305 100644 --- a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-modify-return.md +++ b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-modify-return.md @@ -11,7 +11,8 @@ import FaultPermissions from './shared/fault-permissions.md' Linux JVM modify return modifies the return value of a method in a Java application for a specific duration. It is used to determine the performance and resilience of the application (or services) running on Linux machines. :::tip -JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- Provide **read** and **execute** permissions to the `/etc/linux-chaos-infrastructure/byteman` directory (the directory that houses Byteman agent) for the Java application user. ::: ![Linux JVM modify return](./static/images/linux-jvm-modify-return.png) diff --git a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-trigger-gc.md b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-trigger-gc.md index a8fdd597c2..ccaf693852 100644 --- a/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-trigger-gc.md +++ b/docs/chaos-engineering/use-harness-ce/chaos-faults/linux/linux-jvm-trigger-gc.md @@ -11,7 +11,8 @@ import FaultPermissions from './shared/fault-permissions.md' Linux JVM trigger gc triggers the garbage collector on a specific process in Java that causes unused (or out of scope) objects, variables and so on to be garbage collected and recycled, thereby freeing up memory space. It is used to determine the performance and resilience of the application (or services) running on Linux machines. :::tip -JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- JVM chaos faults use the [Byteman utility](https://byteman.jboss.org/) to inject chaos faults into the JVM. +- Provide **read** and **execute** permissions to the `/etc/linux-chaos-infrastructure/byteman` directory (the directory that houses Byteman agent) for the Java application user. ::: ![Linux JVM trigger gc](./static/images/linux-jvm-trigger-gc.png)