Debian Codegraph @

ansible_collections/ibm/storage_virtualize/README.md

raw symbols SCIP
1 # IBM Storage Virtualize Ansible Collection
2
3 [![Code of conduct](https://img.shields.io/badge/code%20of%20conduct-Ansible-silver.svg)](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html )
4
5 ## Description
6
7 This collection provides a series of Ansible modules and plugins for interacting with the IBM Storage Virtualize family products. These products include the IBM SAN Volume Controller, IBM FlashSystem family members built with IBM Storage Virtualize (FlashSystem 5xxx, 7xxx, 9xxx), IBM Storwize family, and IBM Storage Virtualize for Public Cloud. For more information regarding these products, see [IBM Documentation](https://www.ibm.com/docs/).
8
9 ## Requirements
10
11 - Ansible version 2.16 or higher
12 - Python 3.10 or higher for controller nodes
13
14 ## Installation
15
16 To install the IBM Storage Virtualize collection hosted in Galaxy:
17
18 ```bash
19 ansible-galaxy collection install ibm.storage_virtualize
20 ```
21
22 To upgrade to the latest version of the IBM Storage Virtualize collection:
23
24 ```bash
25 ansible-galaxy collection install ibm.storage_virtualize --force
26 ```
27
28 ## Usage
29
30 ### Playbooks
31
32 To use a module from the IBM Storage Virtualize collection, please reference the full namespace, collection name, and module name that you want to use:
33
34 ```yaml
35 ---
36 - name: Using the IBM Storage Virtualize collection
37 hosts: localhost
38 gather_facts: false
39 tasks:
40 - name: Gather info from storage
41 ibm.storage_virtualize.ibm_svc_info:
42 clustername: x.x.x.x
43 domain:
44 username: username
45 password: password
46 log_path: /tmp/playbook.debug
47 gather_subset: all
48 ```
49
50 Alternatively, you can add a full namepsace and collection name in the `collections` element:
51
52 ```yaml
53 ---
54 - name: Using the IBM Storage Virtualize collection
55 hosts: localhost
56 gather_facts: false
57 collections: ibm.storage_virtualize
58 tasks:
59 - name: Gather info from storage
60 ibm_svc_info:
61 clustername: x.x.x.x
62 domain:
63 username: username
64 password: password
65 log_path: /tmp/playbook.debug
66 gather_subset: all
67 ```
68
69 ## Resources Information
70
71 ### Modules
72
73 - ibm_svc_auth - Generates an authentication token for a user on Storage Virtualize systems
74 - ibm_svc_complete_initial_setup - Completes the initial setup configuration for LMC systems
75 - ibm_svc_host - Manages hosts on Storage Virtualize systems
76 - ibm_svc_hostcluster - Manages host cluster on Storage Virtualize systems
77 - ibm_svc_info - Collects information on Storage Virtualize systems
78 - ibm_svc_initial_setup - Manages initial setup configuration on Storage Virtualize systems
79 - ibm_svc_manage_callhome - Manages configuration of Call Home feature on Storage Virtualize systems
80 - ibm_svc_manage_consistgrp_flashcopy - Manages FlashCopy consistency groups on Storage Virtualize systems
81 - ibm_svc_manage_cv - Manages the change volume in remote copy replication on Storage Virtualize systems
82 - ibm_svc_manage_flashcopy - Manages FlashCopy mappings on Storage Virtualize systems
83 - ibm_svc_manage_ip - Manages IP provisioning on Storage Virtualize systems
84 - ibm_svc_manage_migration - Manages volume migration between clusters on Storage Virtualize systems
85 - ibm_svc_manage_mirrored_volume - Manages mirrored volumes on Storage Virtualize systems
86 - ibm_svc_manage_ownershipgroup - Manages ownership groups on Storage Virtualize systems
87 - ibm_svc_manage_portset - Manages IP portset on Storage Virtualize systems
88 - ibm_svc_manage_replication - Manages remote copy replication on Storage Virtualize systems
89 - ibm_svc_manage_replicationgroup - Manages remote copy consistency groups on Storage Virtualize systems
90 - ibm_svc_manage_safeguarded_policy - Manages safeguarded policy configuration on Storage Virtualize systems
91 - ibm_svc_manage_sra - Manages the remote support assistance configuration on Storage Virtualize systems
92 - ibm_svc_manage_user - Manages user on Storage Virtualize systems
93 - ibm_svc_manage_usergroup - Manages user groups on Storage Virtualize systems
94 - ibm_svc_manage_volume - Manages standard volumes on Storage Virtualize systems
95 - ibm_svc_manage_volumegroup - Manages volume groups on Storage Virtualize systems
96 - ibm_svc_mdisk - Manages MDisks for Storage Virtualize systems
97 - ibm_svc_mdiskgrp - Manages pools for Storage Virtualize systems
98 - ibm_svc_start_stop_flashcopy - Starts or stops FlashCopy mapping and consistency groups on Storage Virtualize systems
99 - ibm_svc_start_stop_replication - Starts or stops remote-copy independent relationships or consistency groups on Storage Virtualize systems
100 - ibm_svc_vol_map - Manages volume mapping for Storage Virtualize systems
101 - ibm_svcinfo_command - Runs svcinfo CLI command on Storage Virtualize systems over SSH session
102 - ibm_svctask_command - Runs svctask CLI command(s) on Storage Virtualize systems over SSH session
103 - ibm_sv_manage_awss3_cloudaccount - Manages Amazon S3 cloud account configuration on Storage Virtualize systems
104 - ibm_sv_manage_clone - Manages clone and thinclone of volume and volumegroup
105 - ibm_sv_manage_cloud_backup - Manages cloud backups on Storage Virtualize systems
106 - ibm_sv_manage_drive - Manages drive state changes, tasks and dump
107 - ibm_sv_manage_fc_partnership - Manages Fibre Channel (FC) partnership on Storage Virtualize systems
108 - ibm_sv_manage_flashsystem_grid - Manages FlashSystem grid operations such as creating and managing members
109 - ibm_sv_manage_fcportsetmember - Manages addition or removal of ports from the Fibre Channel (FC) portsets on Storage Virtualize systems
110 - ibm_sv_manage_ip_partnership - Manages IP partnership configuration on Storage Virtualize systems
111 - ibm_sv_manage_provisioning_policy - Manages provisioning policy configuration on Storage Virtualize systems
112 - ibm_sv_manage_replication_policy - Manages policy-based replication configuration on Storage Virtualize systems
113 - ibm_sv_manage_security - Manages configuration of security options on IBM Storage Virtualize family storage systems
114 - ibm_sv_manage_snapshot - Manages snapshots (mutual consistent images of a volume) on Storage Virtualize systems
115 - ibm_sv_manage_snapshotpolicy - Manages snapshot policy configuration on Storage Virtualize systems
116 - ibm_sv_manage_ssl_certificate - Exports an existing system certificate on to Storage Virtualize systems
117 - ibm_sv_manage_storage_partition - Manages storage partition configuration on Storage Virtualize systems
118 - ibm_sv_manage_syslog_server - Manages syslog server configuration on Storage Virtualize systems
119 - ibm_sv_manage_truststore_for_replication - Manages certificate trust stores for replication on Storage Virtualize family systems
120 - ibm_sv_manage_system_certificate - Manages system certificates and truststore for replication, high availability and FlashSystem grid on Storage Virtualize systems
121 - ibm_sv_restore_cloud_backup - Restores cloud backups on Storage Virtualize systems
122 - ibm_sv_switch_replication_direction - Switches the replication direction on Storage Virtualize systems
123
124 ### Other Feature Information
125 - SV Ansible Collection v1.8.0 provides the new 'ibm_svc_complete_initial_setup' module, to complete the automation of Day 0 configuration on Licensed Machine Code (LMC) systems.
126 For non-LMC systems, login to the user-interface is required in order to complete the automation of Day 0 configuration.
127 - SV Ansible Collection v1.7.0 provided `Setup and Configuration Automation` through different modules. This feature helps user to automate Day 0 configuration.
128 This feature includes three modules:
129 - ibm_svc_initial_setup
130 - ibm_svc_manage_callhome
131 - ibm_svc_manage_sra
132 - By proceeding and using these modules, the user acknowledges that [IBM Privacy Statement](https://www.ibm.com/privacy) has been read and understood.
133
134 ### Prerequisite
135
136 - Paramiko must be installed to use ibm_svctask_command and ibm_svcinfo_command modules.
137
138 ## Limitation
139
140 The modules in the IBM Storage Virtualize Ansible collection leverage REST APIs to connect to the IBM Storage Virtualize system. This has following limitations:
141 1. Using the REST APIs to list more than 2000 objects may create a loss of service from the API side, as it automatically restarts due to memory constraints.
142 2. It is not possible to access REST APIs using an IPv6 address on a cluster.
143 3. The Ansible collection can run on all IBM Storage Virtualize system versions above 8.1.3, except versions 8.3.1.3, 8.3.1.4 and 8.3.1.5.
144 4. At time of release of the SV Ansible v1.8.0 collection, no module is available for non LMC systems to automate license agreements acceptance, including EULA.
145 User will be presented with a GUI setup wizard upon user-interface login, whether the Ansible modules have been used for initial configuration or not.
146
147 ## Releasing, Versioning, and Deprecation
148
149 1. IBM Storage Virtualize Ansible Collection releases follow a quarterly release cycle, with details available in the [changelog](https://github.com/ansible-collections/ibm.storage_virtualize/blob/develop/CHANGELOG.rst).
150 2. IBM Storage Virtualize Ansible Collection releases follow [semantic versioning](https://semver.org/).
151 3. IBM Storage Virtualize Ansible modules deprecation cycle is aligned with [Ansible](https://docs.ansible.com/ansible/latest/dev_guide/module_lifecycle.html).
152
153 ## Testing
154 The `tests/` directory contains configuration for running sanity and integration tests using ansible-test.
155
156 ## Contributing
157
158 Currently we are not accepting community contributions.
159 Though, you may periodically review this content to learn when and how contributions can be made in the future.
160 IBM Storage Virtualize Ansible Collection maintainers can follow the [Maintainer guidelines](https://docs.ansible.com/ansible/devel/community/maintainers.html).
161
162 ## Support
163
164 This collection is entitled to support through the Ansible Automation Platform (AAP) using the **Create issue** button on the top right corner. If the collection has been obtained either from Galaxy or GitHub, you can raise a GitHub Issue on this repository for support.
165
166 ## Communication
167
168 * Join the Ansible forum:
169 * [Get Help](https://forum.ansible.com/c/help/6): get help or help others. Please use appropriate tags.
170 * [Social Spaces](https://forum.ansible.com/c/chat/4): gather and interact with fellow enthusiasts.
171 * [News & Announcements](https://forum.ansible.com/c/news/5): track project-wide announcements including social events.
172
173 * The Ansible [Bullhorn newsletter](https://docs.ansible.com/ansible/devel/community/communication.html#the-bullhorn): used to announce releases and important changes.
174
175 For more information about communication, see the [Ansible communication guide](https://docs.ansible.com/ansible/devel/community/communication.html).
176
177 ## License
178
179 GNU General Public License v3.0