# powerflex_sdt Role to manage the installation and uninstallation of Powerflex SDT. ## Table of contents * [Requirements](#requirements) * [Ansible collections](#ansible-collections) * [Role Variables](#role-variables) * [Examples](#examples) * [Usage instructions](#usage-instructions) * [Author Information](#author-information) ## Requirements ``` ansible python ``` ## Ansible collections Collections required to use the role. ``` dellemc.powerflex ``` ## Role Variables
Name Required Description Choices Type Default Value
hostname true IP or FQDN of the PowerFlex gateway. str 10.1.1.1
username true The username of the PowerFlex gateway. str admin
password true The password of the PowerFlex gateway. str password
port false Port int 443
validate_certs false If C(false), the SSL certificates will not be validated.
Configure C(false) only on personally controlled sites where self-signed certificates are used.
bool false
timeout false Timeout int 120
powerflex_common_file_install_location true Location of installation and rpm gpg files to be installed.
The required, compatible installation software package based on the operating system of the node.
The files can be downloaded from the Dell Product support page for PowerFlex software.
str /var/tmp
powerflex_sdt_discovery_port false Port used by the NVMe hosts for discovery. Set to 1 in order to indicate no use of discovery port. int 8009
powerflex_sdt_ip_list true Target IP list of SDT. Comma separated. str
powerflex_sdt_nvme_port false Port used by the NVMe hosts int 4420
powerflex_sdt_protection_domain true The name of the protection domain to which the SDT will be added. str
powerflex_sdt_role_list true Role list of SDT target IP. Comma separated. storage_only, host_only, storage_and_host str
powerflex_sdt_state false State of the SDT. present, absent str present
powerflex_sdt_storage_port false Port assigned to the SDT. int 12200
## Examples ---- ``` - name: "Install and configure powerflex SDT" ansible.builtin.import_role: name: "powerflex_sdt" vars: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" port: "{{ port }}" powerflex_sdt_protection_domain: PD1 powerflex_sdt_storage_port: 12200 powerflex_sdt_nvme_port: 4420 powerflex_sdt_discovery_port: 8009 powerflex_sdt_state: present - name: "Uninstall powerflex SDT" ansible.builtin.import_role: name: "powerflex_sdt" vars: hostname: "{{ hostname }}" username: "{{ username }}" password: "{{ password }}" validate_certs: "{{ validate_certs }}" port: "{{ port }}" powerflex_sdt_state: 'absent' ``` ## Usage instructions ---- ### To install all dependency packages, including SDT, on node: - PowerFlex 4.5: ``` ansible-playbook -i inventory site_powerflex45.yml ``` ### To uninstall SDT: - PowerFlex 4.5: ``` ansible-playbook -i inventory uninstall_powerflex45.yml ``` Sample playbooks and inventory can be found in the playbooks directory. ## Author Information ------------------ Dell Technologies Yuhao Liu (yuhao_liu@Dell.com) 2024