Datasheet
Appendix A. CLI Setup and Configuration 585
Draft Document for Review January 29, 2013 12:52 pm 8068AppA-CLI.fm
Example: A-7 Throttling based on I/O
IBM_4939:FlexSystem_V7000:admin>chvdisk -rate 4000 ESXi-Redbooks
IBM_4939:FlexSystem_V7000:admin>lsvdisk ESXi-Redbooks
id 2
name ESXi-Redbooks
.
.
vdisk_UID 600507680185853FF000000000000011
throttling 4000
preferred_node_id 2
.
.
IBM_4939:FlexSystem_V7000:admin>
To disable I/O throttling, set the I/O rate to 0 (Example A-8).
Example: A-8 Disable I/O Throttling
IBM_4939:FlexSystem_V7000:admin>chvdisk -rate 0 ESXi-Redbooks
IBM_4939:FlexSystem_V7000:admin>lsvdisk ESXi-Redbooks
id 2
.
.
vdisk_UID 600507680185853FF000000000000011
throttling 0
preferred_node_id 2
.
.
IBM_4939:FlexSystem_V7000:admin>
FlashCopy example commands
The IBM Flex System V7000 Storage Node offers powerful FlashCopy functions, as
described in Chapter 9, “IBM Flex System V7000 Storage Node Copy Services” on page 341.
FlashCopy creation is a process that is often scripted. The commands to create a FlashCopy
are easy to discover if you create a FlashCopy in the GUI, and the CLI commands for your
system are listed when the creation completes.
Example A-9 shows you the required steps to prepare a reverse FlashCopy, and shows you
the FlashCopy command using the “Reverse” option. As you can see at the end of
Example A-9, FCMAP_rev_1 shows a restoring value of yes while the FlashCopy mapping is
copying. After it has finished copying, the restoring value field will change to no.
Example: A-9 Prepare reverse FlashCopy
IBM_4939:FlexSystem_V7000:admin>lsvdisk
id name IO_group_id IO_group_name status mdisk_grp_id mdisk_grp_name capacity type FC_id FC_name RC_id
RC_name vdisk_UID fc_map_count copy_count fast_write_state se_copy_count RC_change
5 Volume_FC_S 0 io_grp0 online 0 STGPool_0 5.00GB striped
600507680185853FF000000000000015 0 1 empty 0 no
6 Volume_FC_T 0 io_grp0 online 0 STGPool_0 5.00GB striped
600507680185853FF000000000000016 0 1 empty 0 no
7 Volume_FC_T1 0 io_grp0 online 0 STGPool_0 5.00GB striped
600507680185853FF000000000000017 0 1 empty 0 no
IIBM_4939:FlexSystem_V7000:admin>mkfcmap -source Volume_FC_S -target Volume_FC_T_S1 -name FCMAP_1 -copyrate 50
FlashCopy Mapping, id [0], successfully created