To create a CPG within a domain, issue the
createcpg -domain <domain_name> -aw
<percent> -sdgs <size> -sdgl <size> -sdgw <size> -t <RAID_type>
<CPG_name>
command, where:
•
<domain_name>
is the domain in which you are creating the CPG.
•
-aw <percent>
is the percentage of used snapshot space and administration space which
will generate a warning alert. If 0 (the default value) is specified, no alerts are generated.
•
-sdgs <size>
is the amount of LD storage created during each autogrow operation. For
the minimum default growth sizes per number of nodes, see
Table 6 (page 78)
.
•
-sdgl <size>
is the growth limit which cannot be exceeded during autogrow operations.
If 0 (the default value) is specified, no limit is enforced.
•
-sdgw <size>
is the space limit for LD space before a warning alert is generated. If 0 (the
default value) is specified, no warning limit it enforced.
•
-t <RAID_type>
is the RAID type, specified as
r0
(RAID 0),
r1
(RAID 1),
r5
(RAID 5), or
r6
(RAID MP).
•
<CPG_name>
is the name of the CPG being created.
All arguments are identical to those specified in
“Creating a Common Provisioning
Group” (page 80)
. For a complete list of options available for the
createcpg
command, see the
HP 3PAR Command Line Interface Reference and the HP 3PAR CLI Help.
Creating Virtual Volumes in a Virtual Domain
If you are using virtual domains, you can create domain-specific virtual volumes which are accessible
only by those users with rights to that domain. You must have Super or Edit rights in the domain
in which you are creating the virtual volume. Virtual volumes are created by allocating resources
from CPGs within a domain. A CPG must exist in the domain in which you wish to create a virtual
volume before you can create a domain-specific virtual volume.
For instructions on creating domain CPGs, see
“Moving a Common Provisioning Group to a
Domain” (page 94)
. For more information about virtual domains, see the HP 3PAR StoreServ
Storage Concepts Guide.
To create a virtual volume within a domain, issue the
createvv <usr_CPG> <VV_name>
<VV_size g|G|t|T>
command, where:
•
<usr_CPG>
is the name of the CPG from which the created virtual volume’s user space is
drawn.
•
<VV_name>
is the name of the virtual volume being created.
•
<VV_size g|G|t|T>
is the size of the volume in MB, GB, or TB. If
g|G|t|T
is not specified,
VV_size
is the number of MBs. For example,
50g
specifies 50 GBs.
For a complete list of options available for the
createvv
command, see the HP 3PAR Command
Line Interface Reference and the HP 3PAR CLI Help.
Modifying Virtual Volumes in Domains
Domain virtual volumes can be modified in the same way that virtual volumes in systems without
domains can be modified. However, some restrictions apply to domain virtual volume modification.
•
If you are Super or Edit user belonging to the
all
domain, all virtual volume modification
options for the
setvv
command are available for use and you can modify any virtual volume
in the system.
•
If you are an Edit user belonging to a
specified
domain, all options for the
setvv
command
are available for use for virtual volumes that belong to the same
specified
domain.
Virtual Domains, CPGs, and Virtual Volumes
93