Background
CFG supports multi-environment and multi-system instances. In addition to Linux systems using shell scripts, PowerShell scripts can also be used to inject commands for Windows systems.
Directions
Step 1: Create an experiment
2. Select Compute as the resource type, select CVM as the resource object, and add the instance.
Step 2: Select the action
Click Add Now to add fault action. Select Shell Script from the experiment action category, select Custom Action as the platform action, and then click Next.
Step 3: Fill in custom action parameters
Select powerShell as the command type, and input the custom command text.
Step 4: Execute the action
Execute the experiment and observe the execution results.
Was this page helpful?