HP 3PAR StoreServ 7200 2-node HP 3PAR StoreServ 7000 Storage Service Guide (QR - Page 52

Creating and Exporting Test Volumes, HP 3PAR OS Command, Line Interface Reference

Page 52 highlights

1. In the CLI, verify connection to a host before defining a host: 192.168.46.249 cli% showhost 2. Define a new system host as follows: 192.168.46.249 cli% createhost -persona ... where is the host persona ID number, is the name of the test host, and is the WWN of an HBA in the host machine. This HBA must be physically connected to the storage system. 3. After you have defined a system host for each physically connected WWN, verify host configuration information for the storage system as follows: 192.168.46.249 cli% showhost 4. Use the controlport command to set each target port as follows: 192.168.46.249 cli% controlport config [-ct loop | point] where is the name of the disk, host, or rcfc. The -ct subcommand sets the connection type and is optional. Use loop for the disk; loop or point for the host; and point for rcfc. The specifies the controller node, PCI slot, and PCI adapter port to be controlled. 5. When finished setting each connected target port, verify that all ports are set correctly. 192.168.46.249 cli% showport -par Creating and Exporting Test Volumes For more information about the commands used in this section, see the HP 3PAR OS Command Line Interface Reference. To create and export test volumes: 1. In the CLI, create a common provisioning group test to verify the system can create and export virtual volumes. 192.168.46.249 cli% createcpg test_cpg 2. Create a virtual volume. 192.168.46.249 cli% createvv test0 256 3. Create a VLUN of the virtual volume for export to the host. 192.168.46.249 cli% createvlun test0 0 4. Verify that the host can access the VLUN. 52 Installing Storage Software Manually

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

1.
In the CLI, verify connection to a host before defining a host:
192.168.46.249 cli% showhost
2.
Define a new system host as follows:
192.168.46.249 cli%
createhost -persona <hostpersonaval> <hostname> <WWN>...
where
<hostpersonaval>
is the host persona ID number,
<hostname>
is the name of the
test host, and
<WWN>
is the WWN of an HBA in the host machine. This HBA must be physically
connected to the storage system.
3.
After you have defined a system host for each physically connected WWN, verify host
configuration information for the storage system as follows:
192.168.46.249 cli%
showhost
4.
Use the
controlport
command to set each target port as follows:
192.168.46.249 cli%
controlport config <connmode> [-ct loop | point]
<node:slot:port>
where
<connmode>
is the name of the disk, host, or rcfc. The
-ct
subcommand sets the
connection type and is optional. Use
loop
for the disk;
loop
or
point
for the host; and
point
for rcfc. The
<node:slot:port>
specifies the controller node, PCI slot, and PCI
adapter port to be controlled.
5.
When finished setting each connected target port, verify that all ports are set correctly.
192.168.46.249 cli%
showport -par
Creating and Exporting Test Volumes
For more information about the commands used in this section, see the
HP 3PAR OS Command
Line Interface Reference
.
To create and export test volumes:
1.
In the CLI, create a common provisioning group test to verify the system can create and export
virtual volumes.
192.168.46.249 cli% createcpg test_cpg
2.
Create a virtual volume.
192.168.46.249 cli%
createvv <usr_CPG> test0 256
3.
Create a VLUN of the virtual volume for export to the host.
192.168.46.249 cli%
createvlun test0 0 <hostname>
4.
Verify that the host can access the VLUN.
52
Installing Storage Software Manually