
Now, clone the hpe3par-examples repo to get access to the Virtual Domain demo.
Clone the HPE 3PAR Ansible Storage Modules. # Storage Admin Perspective Let's get started.įirst, we need to make sure we have the 3PAR storage module for Ansible downloaded. Remember that the domain users are only be able to view/edit resources they have access to and are be unable to view/edit resources from other domains unless authorized to do so.Īlso everything else from this point is done via the HPE 3PAR Ansible Storage Module on a Linux (RHEL, CentOS, Ubuntu) system with Ansible (ver.
and assign them to the newly created domain(s). The following section demonstrates the process to configure resources like CPGs, 3PAR hosts, etc. Using Ansible to configure CPGs, Hosts, Volumes and more Shell: /usr/bin/sshpass -p 3pardata ssh -oStrictHostKe圜hecking=no "createuser -c Password1 bob_user bob_domain edit" Shell: /usr/bin/sshpass -p 3pardata ssh -oStrictHostKe圜hecking=no "createdomain bob_domain" If you want to use Ansible to configure the domains and users, Ansible can pass CLI commands to the 3PAR using the shell module. Repeat these steps as necessary to configure additional Domains and Users within your 3PAR.
Click Add Authorizations, choose the domain created previously ( bob_domain on virt-3par system). In the mega menu, click Show All > Users. You may ask why I am using Bob, because everyone knows Bob is cool! Specify the 3PAR where the domain will be created. In the mega menu, click Show All > Domains. Login into the SSMC with Super user access. The example shown below will be done within the SSMC. Currently the configuration of Domains/Users can only done within the SSMC or via the 3PAR CLI (using createdomain, createuser ). The first steps to setting up your 3PAR for multi-tenancy is to create a new virtual domain. Domains can be useful in scenarios where a single system is used to manage data from several different independent applications.įor more information, refer to the HPE 3PAR Storeserv Storage Concepts Guide. A subset of the system users has assigned rights over the domains. HPE 3PAR configured and zoned correctlyĭomains allow an administrator to create up to 1,024 domains, or spaces, within a system, where each domain is dedicated to a specific application. This guide targets those who want to setup and manage multi-tenancy on a 3PAR using configuration management tools like Ansible.
This guide walks through the steps to create and manage Virtual Domains within a 3PAR using a mixture of the SSMC or CLI and the Ansible module for 3PAR. Using the 3PAR SSMC/CLI & HPE 3PAR Ansible Module to Create and Manage Virtual Domains in a Multi-Tenant Scenario