Debian Codegraph @

ansible_collections/ibm/storage_virtualize/playbooks/flashsystem_log_collection/README.md

raw symbols SCIP
1 # Playbook to collect IBM FlashSystem logs
2
3 ## Table of Contents
4 - [Objective](#objective)
5 - [Prerequisites](#prerequisites)
6 - [Playbook Overview](#playbook-overview)
7 - [Variables](#variables)
8
9 ## Objective
10 - Capture IBM FlashSystem logs (snaps and dumps) and copy them to the Ansible host.
11
12 ## Prerequisites
13 - IBM Storage Virtualize ansible collection version 2.2.0 or above must be installed.
14 - All nodes of the cluster should share same username and password.
15
16 ## Playbook Overview
17 - This playbook collects logs (snaps and dumps) from IBM FlashSystem.
18 - A directory named `log_<cluster_name>_<timestamp>` is created under user's home directory on the ansible controller to store the logs.
19 - Logs are validated and transferred from IBM FlashSystem nodes to the ansible controller.
20 - Playbook can be executed as: `ansible-playbook main.yml`
21
22 The playbook structure is as below:
23 ```
24 ibm.storage_virtualize
25 │
26 └─playbooks
27 │
28 └─flashsystem_log_collection
29 │
30 └─main.yaml
31 └─README.md
32 └─inventory.ini
33 ...
34 ```
35
36 ## Variables
37 ### These variables should be defined in your inventory.ini file,
38
39 | Parameter | Description |
40 |-------------------|---------------------------------------------------------------------------------------------------------------------|
41 | `cluster_ip` | FQDN or IP address of the cluster. |
42 | `cluster_username`| Username for authentication. |
43 | `cluster_password`| Password for authentication. |
44 | `log_path` | (Optional) Path on the Ansible host where playbook logs will be stored. Defaults to `/tmp/log_collection.log`. |
45
46 ## Author
47 - Akshada Thorat ([email protected])