HP 3PAR StoreServ 7400 2-node HP 3PAR StoreServ 7000 Storage Service Guide - Page 52

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

Page 52 highlights

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. 5. Repeat steps 1 through 4 for each host. 6. From the SP, type exit to stop the CLI session, then type x and press Enter to return to the SP main menu. Type x and press Enter again to exit. Type exit and press Enter to log off the SP. Disconnect the cables between the SP and the maintenance PC. 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

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.
5.
Repeat steps 1 through 4 for each host.
6.
From the SP, type
exit
to stop the CLI session, then type
x
and press
Enter
to return to the
SP main menu. Type
x
and press
Enter
again to exit. Type
exit
and press
Enter
to log off
the SP. Disconnect the cables between the SP and the maintenance PC.
52
Installing Storage Software Manually