DS8000 Series Command-Line Interface User's Guide Metro Mirror Functions
Total Page:16
File Type:pdf, Size:1020Kb
IBM DS8000 Series Version 7 Release 5 Command-Line Interface User's Guide IBM GC27-4212-08 Note Before using this information and the product it supports, read the information in the Notices section. This edition applies to version 7, release 5, Modification 2 of theIBM DS8000 Series Command-Line Interface User’s Guide and to all subsequent releases and modifications until otherwise indicated in new editions. © Copyright IBM Corporation 2004, 2016. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About this book ........... vii Chapter 4. CLI commands ...... 45 Who should use this book ......... vii About CLI commands ........... 45 Conventions and terminology ........ vii Understanding the syntax diagrams ...... 46 Syntax diagram conventions......... vii Common command flags .......... 47 Publications and related information...... viii Framework commands .......... 48 Ordering IBM publications ......... xi dscli ................ 49 Sending comments ............ xi echo ................ 50 exit ................ 51 Summary of Changes ........ xiii help ................ 51 helpmsg .............. 52 Chapter 1. Introduction to the DS8000 quit ................ 53 setenv ............... 53 series................ 1 setoutput .............. 55 Overview of the DS8000 series ........ 1 showenv .............. 58 ver ................ 59 Chapter 2. Installing, upgrading, and Security commands............ 61 uninstalling the DS CLI ........ 3 User account and security commands .... 61 Operating systems that support the DS CLI .... 3 Data encryption and security commands ... 94 Installing the DS CLI ........... 4 User access security commands ...... 116 DS CLI preinstallation information ...... 4 Internet Protocol Security (IPSec) commands 124 Mounting the DS CLI installation CD ..... 6 Application key commands......... 137 Installing the DS CLI using the graphical mode.. 7 applykey .............. 137 Installing the DS CLI using the console mode .. 10 lskey ............... 138 Installing the DS CLI using the unattended Physical resource information commands .... 139 (silent) mode ............. 14 lsda ............... 140 Correcting the Java Virtual Machine Not Found lsframe .............. 142 Error ............... 15 lsstgencl .............. 144 Upgrading the DS CLI on your system ..... 16 lshba ............... 146 Uninstalling the DS CLI .......... 16 lsddm ............... 148 Uninstalling the DS CLI from your system using Storage complex configuration commands .... 152 graphical mode ............ 17 chsp ............... 152 Uninstalling the DS CLI using unattended (silent) setvpn............... 153 mode ............... 18 lsvpn ............... 154 Uninstalling the DS CLI using the console mode 18 showsp .............. 155 Uninstalling the DS CLI from a System i model 18 Storage unit configuration commands ..... 157 Running and configuring the DS CLI ...... 20 chsu ............... 158 Creating a default CLI profile ....... 21 lssu................ 159 Setting up user accounts using the DS CLI ... 27 showsu .............. 161 Activating your machine and feature licenses Storage image configuration commands .... 164 using the DS CLI ........... 30 chsi................ 165 OpenVMS system integration ....... 31 diagsi ............... 167 lsserver .............. 168 Chapter 3. Running the DS CLI .... 35 lssi ................ 170 showsi .............. 172 Logging into the DS CLI .......... 35 I/O port and host connection configuration Using the DS CLI single-shot command mode ... 36 commands .............. 176 Using the DS CLI script command mode .... 37 Storage image I/O port commands ..... 176 Using the DS CLI interactive command mode Host connection commands ....... 192 (history and reports) ........... 38 Storage configuration commands ....... 212 Obtaining the serial (storage image ID) number Array site specific commands ....... 212 using the DS CLI ............ 39 Array specific commands ........ 218 DS CLI command help .......... 39 Rank specific commands ........ 226 Obtaining and interpreting DS CLI exit codes ... 40 Extent pool specific commands ...... 239 DS CLI operational limitations ........ 42 Address group specific commands ..... 255 Messages in the CLI and management console Logical control unit specific commands.... 256 server ................ 42 CKD logical volume specific commands ... 267 © Copyright IBM Corp. 2004, 2016 iii Logical subsystem specific commands .... 300 Configuring new count key data storage using DS Fixed block logical volume specific commands 306 CLI................. 532 Volume group specific commands ..... 342 Creating count key data extent pools using the Advanced operation commands ...... 352 DS CLI .............. 532 Space-efficient storage commands ..... 355 Creating arrays for CKD volumes using the DS I/O Priority Management commands ..... 376 CLI................ 534 lsperfgrp .............. 376 Creating a rank for CKD volumes using the DS lsperfgrprpt ............. 378 CLI................ 535 lsperfrescrpt ............. 380 Creating logical control units for CKD volumes Resource Group commands ........ 382 using DS CLI ............ 536 chresgrp .............. 382 Creating count key data volumes using the DS lsresgrp .............. 383 CLI................ 537 manageresgrp ............ 384 Correcting a CKD volume configuration error 538 mkresgrp .............. 388 Configuring Fibre Channel I/O ports using the rmresgrp .............. 389 DS CLI .............. 539 showresgrp ............. 389 Managing your logical storage configuration ... 540 Copy Services commands ......... 391 Using DS CLI commands on i5/OS ..... 540 FlashCopy commands ......... 391 Modifying an extent pool ........ 542 Remote FlashCopy commands....... 415 Viewing extent pool status ........ 542 Remote Mirror and Copy path commands... 435 Viewing extent pool properties and performance Remote Mirror and Copy commands .... 448 metrics .............. 543 Global Mirror commands ........ 478 Deleting extent pools from a storage Global Mirror session commands ...... 495 configuration ............ 543 Offload file commands .......... 503 Viewing the array disk drive module status .. 544 offloadauditlog ............ 504 Viewing array status .......... 545 offloadfile ............. 506 Viewing properties for one array ...... 545 Removing arrays from a storage configuration Chapter 5. Configuring access and or a rank assignment .......... 546 security .............. 511 Adding a rank to an extent pool ...... 547 Modifying a rank ........... 548 Internet Protocol Security (IPSec) tasks ..... 511 Viewing rank status .......... 549 Creating an IPSec connection configuration file 511 Viewing properties for one rank ...... 549 Creating a PSK IPSec connection ...... 512 Correcting a rank-related configuration error 549 Creating a public key IPSec connection .... 513 Removing ranks from a storage configuration 550 Enabling or disabling an IPSec connection... 514 Modifying a logical control unit ...... 551 Listing IPSec connections ........ 514 Viewing logical control unit status ..... 552 Export an IPSec connection file ...... 515 Viewing properties for one logical control unit 552 Starting or stopping the IPSec server .... 516 Removing logical control units from a CKD Importing certificates .......... 516 storage configuration .......... 553 Listing certificates ........... 517 Chapter 6. Configuring and managing Chapter 7. Copy Services functions 555 logical storage ........... 519 FlashCopy functions ........... 555 Creating a FlashCopy relationship ..... 555 Configuring new fixed block storage using the DS Creating a persistent FlashCopy relationship 556 CLI................. 519 Viewing information about FlashCopy Creating extent pools for fixed block volumes relationships............. 556 using the DS CLI ........... 519 Deleting FlashCopy relationships ...... 557 Creating arrays for fixed block volumes using Creating remote FlashCopy transactions ... 558 the DS CLI ............. 521 Resynchronizing FlashCopy relationships ... 560 Creating a rank using the DS CLI ..... 522 Reversing a FlashCopy relationship ..... 560 Creating fixed block volumes using the DS CLI 523 Applying the FlashCopy revertible option to Creating LUN volumes for System i models .. 524 existing FlashCopy relationships ...... 561 Correcting a fixed block configuration error .. 526 Starting a background copy of a FlashCopy Creating fixed block volume groups using the relationship ............. 562 DS CLI .............. 527 Preventing write operations on FlashCopy target Creating a volume group for System i models 528 volumes .............. 563 Configuring Fibre Channel I/O ports using the Creating a FlashCopy target volume on an DS CLI .............. 529 existing Metro Mirror source volume .... 563 Creating SCSI host port connections using DS Discarding changes to FlashCopy target CLI................ 530 volumes .............. 564 Committing data to FlashCopy target volumes 565 iv DS8000 Series Command-Line Interface User's Guide Metro Mirror functions .......... 566 Using fast reverse restore processing to create Displaying the status of established paths ... 566 consistency .............. 610 Displaying the WWNN of a storage unit ... 566 Waiting for the background copy to complete .. 611 Creating remote mirror and copy paths.... 567 Reestablishing the FlashCopy relationships between Correcting a path-related configuration error 568 B volumes and C volumes ......... 611 Removing paths ..........