Professional Documents
Culture Documents
Autonomic Groups and Virtual Lock: HK902S E.00
Autonomic Groups and Virtual Lock: HK902S E.00
Virtual Lock
Module 9
HK902S E.00
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Module objectives
2 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
Autonomic groups:
Host sets and virtual volume sets
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HP 3PAR Autonomic Sets: Host sets and volume sets
Simplify provisioning
Autonomic HP 3PAR Storage
Traditional storage
Cluster of VMware ESX Servers
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
Individual Volumes
• Initial provisioning of the cluster • Initial provisioning of the cluster
− Requires 50 provisioning actions (1 per host—volume − Add hosts to the host set
relationship) − Add volumes to the volume set
− Export volume set to the host set
• Add another host
• Add another host
− Requires 10 provisioning actions (1 per volume)
− Just add a host to the host set
• Add another volume • Add another volume
− Requires 5 provisioning actions (1 per host) − Just add the volume to the volume set
• Volumes are exported automatically
• Private storage can be exported individually to hosts in a host set
4 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
In some instances, a number of objects in the system that often go through the same set of
administrative transitions are logically grouped together
• Virtual volume set: Oracle Database
− Comprises a number of volumes that, together, serve all the data that is needed by that database
• Host set: VMware or Serviceguard cluster
− Nodes in a cluster that share the same storage for application failover can be logically grouped together for
ease of provisioning
5 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host set specifics
• When virtual volumes or virtual volume sets are exported to a host set, the volumes are exported to each
member of the host set with the same LUN ID, which is critical for certain clustering failover solutions
• An individual virtual volume can be exported to members of a host set as private storage
• A host set can only be removed if there are no virtual volumes or volume sets are exported to the host set
• Removing a host set does not remove the individual private storage exports from the hosts
• If a host is removed from a host set, all private storage remains exported to that host
• A host can be a member of more than one host set
• Hosts sets are visible in the Management Console, SSMC, and output from CLI commands such as showvlun
6 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
7 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host sets in Management Console (1 of 5)
8 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
9 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host sets in Management Console (3 of 5)
10 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
11 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host sets in Management Console (5 of 5)
12 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
13 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtual volume sets in Management Console (2 of 4)
14 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
15 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtual volume sets in Management Console (4 of 4)
16 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
17 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host Sets and Virtual Volume Sets using SSMC
18 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
19 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SSMC: Host Sets (2 of 4)
20 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
21 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SSMC: Host Sets (4 of 4)
From the Virtual Volumes area volumes
can be exported to hosts or host sets
using the Add window
22 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
23 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SSMC: Virtual Volume Sets (2 of 5)
In example, a search was performed just display
volumes with the naming convention Raid5
4 VVs selected
24 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
25 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SSMC: Virtual Volume Sets (4 of 5)
Display of host sets
using the Exports view
26 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
27 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host sets and Virtual Volume sets CLI overview
Command Summary
createhostset create a new set of hosts and provides the option of assigning one or more existing
hosts to that set
removehostset removes a host set or removes hosts from an existing set
sethostset sets the parameters and modifies the properties of a host set
showhostset displays the host sets defined on the HP 3PAR array and their members
createvvset create a new set of virtual volumes and provides the option of assigning one or more
existing virtual volumes to that set
removevvset removes a virtual volume set or virtual volumes from an existing set
setvvset sets the parameters and modifies the properties of a virtual volume set
showvvset displays the virtual volume sets defined on the HP 3PAR array and their members
28 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
• Create a host set called orahostset with a comment and containing one host called ora1
cli% createhostset -comment “My Domain Set” orahostset ora1
• Export the virtual volume vv1 to the members of the host set called orahostset with a LUN number of 2
cli% createvlun vv1 2 set:orahostset
29 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Host sets using the CLI (2 of 2)
30 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
• Create a VV set called oravvs with a comment, and add 10 sequentially named VVs starting with the VV called
oravl.0 through oravl.9
cli% createvvset -comment “Our Oracle VVs” -cnt 10 oravvs oravl.0
• Export the virtual volume set oravvs to the members of the host set called orahostset with LUN numbers of 1-10
cli% createvlun set:oravvs 1-10 set:orahostset
31 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtual volume sets using the CLI (2 of 2)
32 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
− removevlun − showvv
• VV sets
− createvlun
− removevlun
− createsv
− createvvcopy
− promotesv
− promotevvcopy
− updatevv
33 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtual Lock
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
• HP 3PAR Virtual Lock Software is an optional feature that enforces the retention period of any
volume or copy of a volume
• The Virtual Lock license is required
• Locking a volume prevents the volume data from being deleted, overwritten, or altered
(intentionally or unintentionally) before the retention period lapses
• Virtual Lock can be used on virtual volumes, virtual copies, full copies, and remote copies
35 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HP 3PAR Virtual Lock options
36 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
37 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Virtual Lock example: Create virtual volume
MC
SSMC
38 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
MC
SSMC
39 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
HP 3PAR Virtual Lock CLI
You can use the -retain and -exp options to set volume retention times with the following
commands:
• createvv
• setvv
• createsv
• creategroupsv
40 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Technet24.ir
• Create a thin provisioned volume of 10G named hp2 using the CPG cpg1 as the user CPG with a retention
time of 24 hours and expiration time of 72 hours:
cli% createvv –tpvv -retain 24h –exp 72h cpg1 hp2 10G
• Set/change the volume hp2 retention time to 36 hours and expiration time to 48 hours:
cli% setvv –retain 36h –exp 48h hp2
• Remove all expired volumes and do not ask for confirmation (force):
cli% removevv –f expired
41 © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.