Ss49lv04 Lab Guide

226
IBM TotalStorage DS8000 - Implementation for Open Systems (Course code SS49) Student Exercises ERC 4.0 V5.1 cover

Transcript of Ss49lv04 Lab Guide

V5.1

cover

Front cover

IBM TotalStorage DS8000 Implementation for Open Systems(Course code SS49)

Student ExercisesERC 4.0

Student Exercises

TrademarksIBM is a registered trademark of International Business Machines Corporation. The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both: DB2 System p HACMP System x System i System z

Windows is a trademark of Microsoft Corporation in the United States, other countries, or both. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.

March 2008 editionThe information contained in this document has not been submitted to any formal IBM test and is distributed on an as is basis without any warranty either express or implied. The use of this information or the implementation of any of these techniques is a customer responsibility and depends on the customers ability to evaluate and integrate them into the customers operational environment. While each item may have been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will result elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. Copyright International Business Machines Corporation 2006, 2008. All rights reserved. This document may not be reproduced in whole or in part without the prior written permission of IBM. Note to U.S. Government Users Documentation related to restricted rights Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule Contract with IBM Corp.

V5.1Student Exercises

TOC

ContentsTrademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Exercises description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii Exercise 0. Lab Setup and preliminary instructions . . . . . . . . . . . . . . . . . . . . . . . . 0-1 0.1. Access to the LAB Environment from any locations . . . . . . . . . . . . . . . . . . . . 0-4 Exercise 1. DS8000 DSCLI Installation and Configuration . . . . . . . . . . . . . . . . . . . 1-9 1.1. Editing dscli.profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-13 1.2. Starting the DSCLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-15 1.3. Issue DSCLI commands to query the subsystem . . . . . . . . . . . . . . . . . . . . . 1-16 1.4. Create new userids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18 1.5. Create your dscli.profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21 Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent Pools . . . . . 2-25 Exercise 3. Windows Server Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39 Exercise 4. Windows Server attachment to the DS8000 . . . . . . . . . . . . . . . . . . . . 4-51 Exercise 5. AIX Server attachment to the DS8000 . . . . . . . . . . . . . . . . . . . . . . . . . 5-83 Exercise 6. Using the DS Information Center . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-139 Exercise 7. DS8000 Storage Manager Simulated Mode . . . . . . . . . . . . . . . . . . 7-151 Exercise 8. DS8000 Storage Manager Arrays, Ranks, and Extent Pools . . . . 8-169 Exercise 9. DS8000 Storage Manager FB Volumes, Volume Groups, and Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-181 Exercise 10. Configuring FlashCopy using EASY DSCLI . . . . . . . . . . . . . . . . . 10-199

Copyright IBM Corp. 2006, 2008Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Contents

iii

Student Exercises

iv

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.1Student Exercises

TMK

TrademarksThe reader should recognize that the following terms, which appear in the content of this training document, are official trademarks of IBM or other companies: IBM is a registered trademark of International Business Machines Corporation. The following are trademarks of International Business Machines Corporation in the United States, or other countries, or both: DB2 System p HACMP System x System i System z

Windows is a trademark of Microsoft Corporation in the United States, other countries, or both. Linux is a trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others.

Copyright IBM Corp. 2006, 2008Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Trademarks

v

Student Exercises

vi

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.1Student Exercises

pref

Exercises descriptionExercise 1: Designed to give a general view of the DS8000 DSCLI, and how to install it and use it to access the DS8000. Exercise 2: Designed to provide guidelines to create and show arrays, ranks, and extent pools using the DSCLI and available array sites. Each Each lab group (team) is given array site to use in a DS8000 subsystem. Exercise 3: Designed to provide guidelines to complete hardware preparation of a Windows server and inspection activities. Exercise 4: Designed to provide guidelines to use DSCLI to define host systems, to create FB volumes and to create volume groups for an Windows server on the DS8000 subsystem. Exercise 5: Designed to provide guidelines to use DSCLI to define host systems, to create FB volumes and to create volume groups for an AIX server on the DS8000 subsystem. Exercise 6: Designed to provide information to use the DS Information Center to get help and information related to the DS8000. Exercise 7: Designed to provide guidelines to use the DS8000 SM in simulated mode to configure your DS8000. Exercise 8: Designed to provide guidelines to use the DS8000 SM to configure and manage arrays, ranks, and extent pools. Exercise 9: Designed to provide guidelines to configure the DS8000 using the DS8000 Storage Manager and define the Open Systems. Exercise 10: Designed to provide guidelines to use Easy dscli to configure the DS8000. Copyright IBM Corp. 2006, 2008 Exercises description vii

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

viii

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise 0. Lab Setup and preliminary instructionsEstimated time00:20

What this exercise is aboutThe following instructions are intended to explain how this guide is organized, and to introduce the lab network diagram that shows the equipment available to you, the IP connections, and storage. Read the following notes before starting the labs, so you can get familiar with the lab environment.

What you should be able to doThe objectives of this lab exercise are the following : Understand the organization of this lab guide.

RequirementsBefore starting this exercise, your lab configuration has to be in the following state: All equipment connected to the different LANs and to the SAN SAN unconfigured (zoning).

Copyright IBM Corp. 2006, 2008

Exercise 0. Lab Setup and preliminary instructions

0-1

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

LAB ParametersAll the values of the common parameters (DS8000 parameters, FTP server, ) and the team-specific parameters (PC IP addresses, AIX server IP addresses, DS8000 LSS, ) that are used in this lab guide have written in a complementary document: __ a. This document is called: SS49 Lab Guide Parameter Table Each team will have to use its corresponding document to find the resources it could use during the lab exercises. Next, some instructions and reminders useful for setting up this workshop environment. Software to be available on network drive \\10.6.253.253\repository __ a. DS8000 Storage Manager and DSCLI. __ b. SANsurfer (Qlogic Management) and HBAnyware (Emulex Management). __ c. Putty (Terminal Emulator). __ d. Java JRE. __ e. SDDDSM for Windows 2003, and SDDPCM for AIX v5.3.

0-2

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

LAB EnvironmentTeams are assigned numbers 1 to 6 which are used to qualify resources requiring a number. Equipment available for each team: __ 1. One Windows Server having a network access to all following equipment, with one FC Adapter (HBA) and connected to the SAN fabric. __ 2. One AIX Server connected by 2 FC adapters (HBA) to the SAN fabric. __ 3. One DS8000 storage system connected to the SAN by 2 FC ports. __ 4. A dedicated VSAN used to interconnect the equipment on the SAN (servers and DS8000).

Copyright IBM Corp. 2006, 2008

Exercise 0. Lab Setup and preliminary instructions

0-3

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

0.1. Access to the LAB Environment from any locations__ 1. Right-click on the OpenVPN icon in the windows Taskbar, and click on connect. __ a. If several certificates are installed on the workstation, you will have to select the good one. Be sure to use the certificate generated for the current class, not an old one

__ 2. If the authentication is based on a user ID and Password, you are prompted to enter it:

__ 3. If the authentication is based on a certificate you have installed, the connection immediately start.

0-4

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 4. Connection can then start . (example).

__ 5. After connection, you see message similar to the following example:

__ 6. You can then connect to the Montpellier course infrastructure computers.

Copyright IBM Corp. 2006, 2008

Exercise 0. Lab Setup and preliminary instructions

0-5

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 7. Now, you can connect to the lab environment using the Remote Desktop Connection tool from you local PC. __ a. Start > Programs > Accessories > Communications > Remote Desktop Connection

__ 8. Entrer the local IP address that refers to your Windows Server, using information provided in the TEAMx Specific Parameters worksheet. __ a. Example: 10.6.228.46 (Team6)

__ b. Click the Connect button to process. __ 9. Then log on to the Windows Server with the account/password specified in your TEAMx Specific Parameters worksheet.

0-6

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise SummaryAt the end of this exercise, your lab configuration has to be in the following state: Ready to work. You are now completed all the steps of this exercise.

End of exercise

Copyright IBM Corp. 2006, 2008

Exercise 0. Lab Setup and preliminary instructions

0-7

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

0-8

IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise 1. DS8000 DSCLI Installation and ConfigurationEstimated time00:40

What this exercise is aboutThis exercise provides an opportunity to use the DS8000 command line interface to query information about the hardware configuration and setup profiles for accessing a sample of creating scripts to execute commands or a list of commands. First you will complete the Management software installation by installing DSCLI agent on you Windows server.

What you should be able to doAt the end of this exercise, you should be able to: - Install the DSCLI for DS8000 compatible with the level of DS8000 installed microcode. - Access the DSCLI profile and update it to access the DS8000 hardware configuration. - Display the DS8000 storage unit and storage image. - Use the DSCLI help command. - Use the single shot and DSCLI interactive modes.

RequirementsBefore starting this exercise, your lab configuration has to be in the following state: - Windows Server correctly connected to the LAN and the SAN. - Zoning correctly configured.

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-9

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Software installation and initial setup__ 1. Verify if a DSCLI version is already installed and if yes, uninstall it.

__ 2. Install DSCLI software on your Windows Server from the Network Drive. Information You can find all required software for this lab directly on network drive. This network drive has to be mounted on your Windows Server. If this not the case, you can map the Network drive from your Windows Server like in the following example.

1-10 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-11

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 3. Install DSCLI software on your Windows Server using all default parameters.

1-12 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

1.1. Editing dscli.profileInformation To update the dscli.profile', access the dscli profile in c:/Program Files/IBM/dscli/profile' and edit the dscli.profile using Notepad or Wordpad. You want to modify the IP address of the hmc1' to the IP address of your DS8000. You also want to change the devid' to the current serial DS8000_SID of your DS8000.

__ 1. In order to access the dscli.profile, open Windows Explorer.

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-13

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 2. Edit the dscli.profile and change the hmc1: and devid: fields with information provided in your Lab Worksheet. Then save the dscli.profile (same name).

1-14 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

1.2. Starting the DSCLI__ 1. Bring up the DSCLI command window from the DSCLI icon on the desktop.

__ 2. Start the DSCLI. __ a. Enter dscli (you are prompted for username and password). __ b. Refers to you Lab Worksheet for username and password.

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-15

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

1.3. Issue DSCLI commands to query the subsystem__ 1. Enter lssu l command.

__ a. What is the model of this DS8000 subsystem? _________________ __ b. What has the user named this storage facility? _________________ __ c. What is the storage unit ID? _______________________________ __ d. What is the description of the storage facility? _________________ __ 2. Enter lssi l command.

__ a. What is the storage image name? ___________________________ __ b. What is the storage image ID? ______________________________

1-16 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Enter showsi ibm.2107- command.

__ a. What is the current state of the storage image? _________________ __ b. What is the WWN of the storage image? ______________________

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-17

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

1.4. Create new userids__ 1. Enter lsuser command.

__ a. What userids are defined to the DSCLI? ______________________ __ b. What group are these IDs a part of? _________________________ __ 2. Observe the syntax for the mkuser command to get more information, issue help mkuser.

Information So, let's make a new userid. The password is a first-time password. You are required to change it the first time you log in.

1-18 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Enter mkuser pw -group admin command. __ a. Use passw0rd as default password'. __ b. Use SS49TeamX as userid' (where X' is your team number).

__ 4. Exit the DSCLI, enter exit and press [Enter] key. Now, log on with the userid and password you created in the previous step.

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-19

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 5. Change your password using the chuser pw -group admin command. __ a. Use teamXpwd as password' (where X' is your team number). __ b. Use SS49TeamX as userid' (where X' is your team number).

__ 6. You have now set your permanent password. Enter showpass command.

__ a. What is the expiration of this password? ______________________ __ 7. Close the dscli session when you are finished.

1-20 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

1.5. Create your dscli.profile__ 1. In the dscli.profile', enter your team account and password like in the following example.

__ 2. Save your dscli.profile', as SS49TeamX.profile.

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-21

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 3. Verify now that you can start DSCLI session without having to enter any parameter (account and password). __ a. Use dscli -cfg profile/ command.

Warning During all the following labs, we recommended you to use DSCLI in single shot mode' (like in this example) rather than in interactive mode to prevent problems on Management Console if too many sessions are opened in the same time.

1-22 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise SummaryAt the end of this exercise, your lab configuration has to be in the following state: Team account defined on theDS8000. On the Windows Server, a DSCLI profile created allowing DSCLI working in single shot mode on the DS8000. You are now completed all the steps of this exercise.

End of exercise

Copyright IBM Corp. 2006, 2008

Exercise 1. DS8000 DSCLI Installation and Configuration

1-23

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

1-24 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent PoolsEstimated time01:30

What this exercise is aboutThis exercise provides an opportunity to use the DS8000 command line interface (DSCLI) to create/verify DDMs, array sites, arrays, ranks, and exten pools for the DS8000 storage subsystem.

What you should be able to doAt the end of this exercise, you should be able to: - List the DDMs that are associated with the DS8000 storage unit. - Create an array, rank, extent pools using DSCLI. - List the array sites, and determine the arrays assigned to your team. - List the ranks, and extent pools assigned to your team. - Use the single shot and DSCLI interactive modes.

RequirementsBefore starting this exercise, your lab configuration has to be in the following state: - Windows Server correctly connected to the LAN and the SAN. - Zoning correctly configured.

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-25

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

List the DDMs and arraty sites on this subsytemLet's see how many disks drives, array sites you have in this subsystem. __ 1. Enter the lsarraysite command.

Information So, you have 16 array sites, S1 to S16. Some of them are unassigned and will be used during this exercise to create your array (you could use the mkarray command). Two arraysites will be assigned per Team.

__ a. Team1 uses the 1st and 2nd unassigned arraysites = S____ and S____ __ b. Team2 uses the 3rd and 4th unassigned arraysites = S____ and S____ __ c. Team3 uses the 5th and 6th unassigned arraysites = S____ and S____ __ d. Team4 uses the 7th and 8th unassigned arraysites = S____ and S____ __ e. Team5 uses the 9th and 10th unassigned arraysites = S____ and S____ __ f. Team6 uses the 11th and 12th unassigned arraysites = S____ and S____

2-26 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 2. Enter the lsddm command with no parameters to get a syntax for the command.

__ 3. Now, enter the lsddm command.

Information So, you have a lot of disks, don't you?. 128 disks, I believe. Let's list the array sites. Array sites in a DS8000 are made up of 8 disks ( means 128/8 = 16 array sites).

__ a. Find the 8 disk drives assigned to your Array Site? _______________

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-27

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Create a array from your arraysites on this subsystemYou should be able to make an array in RAID5 from your array sites assigned to your team. __ 1. Enter the mkarray -raidtype 5 -arsite SX command (where X' is your assigned array sites) (I will configure arraysites S7 and S8 affected to Team3).

__ a. Which arrays are created for your team? A____ and A____ __ 2. Enter the lsarray command to list the arrays.

__ a. Which DA pair is assigned to your array? ___________________ __ b. Which Rank is assigned to your array? _____________________

2-28 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Enter the lsddm -usage spare command.

__ a. Which disk of your array is spare disk (if exist)? ________________ __ b. How many spare disk are defined in your DA pair?______________

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-29

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Create a rank for your array on this subsystemLet's add our array to rank. This process formats the rank into extents of either CKD or FB for the type of storage we want to have. We assume most of you want FB storage. __ 1. Enter the mkrank command command to get the syntax.

Information You need a storage type, an array ID, and an extent pool ID. But wait, you have not created an extent pool yet, so just leave that part off.

2-30 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 2. Enter the mkrank -stgtype FB -array AX command (where X' is one of the array number you are created in a previous lab), repeat this command to configure your second array(I will configure A10 and A11 assigned to Team5).

__ a. Which Rank ID is assigned to your array? ___________________ __ 3. Enter the lsrank command.

__ a. Why your both ranks are in Unassigned' state? _________________

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-31

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 4. Enter the lsarray command to list the arrays.

__ a. On which DA pair is assigned your 1st array? ___________________ __ b. Which Rank is assigned to this array? _____________________ __ c. On which DA pair is assigned your 2nd array? ___________________ __ d. Which Rank is assigned to this array? _____________________

2-32 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Create an FB Extent Pool on this subsystemYou should be able to make an extent pool. Information You need to have some extent pools for server 0 and some extent pools for server 1. So each odd Team (1, 3, and 5) will create an odd Extent Pool, and each even Team (2, 4, and 6) will create an even Extent Pool.

__ 1. Enter the mkextpool command to get the command syntax.

Information You specify rankgrp' to specify which server (0 or 1) and the stgtype' (FB or CKD). The pool name is optional, but it is recommended to specify which pool and format in the name.

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-33

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 2. Enter the mkextpool -rankgrp Y -stgtype FB ExtPool_TeamX command. (I will configure for Team6) __ a. Where Y' is 0 (Team 2, 4, 6) or 1 (Team 1, 3 ,5) __ b. Where X' is your Team number

__ c. What is the extent pool created for your team? ___________________ __ 3. Enter the lsextpool command.

Information Notice that there is no storage in the pool yet. You have just created a pool. Now you need to assign a rank to it.

2-34 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 4. Let's assign your both ranks. Enter the chrank command to get the syntax.

Information You just need to specify the extent pool ID or PX and the rank ID or RX.

__ 5. Enter the chrank -extpool PX RY command, and repeat this command to assign your second rank to the same extentpool. (I will configure for Team5, that in this presentation uses R10 and R11 and Extent pool P7) __ a. Where X' is your extent pool number. __ b. Where Y' is your rank number.

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-35

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 6. Great! Now let's display the ranks and the extent pools. Enter the lsrank command.

Information Remember, all the other teams are doing this too, so there are a lot of ranks and extent pools.

__ 7. Enter the lsrank l command.

2-36 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 8. Enter the lsextpool command. You should get a display that shows the extent pools and the available storage in each pool.

__ 9. Enter the lsarray command. Your configuration is now complete (array site, array, rank).

Copyright IBM Corp. 2006, 2008

Exercise 2. DSCLI DDMs, Array Sites, Arrays, Ranks, and Extent

2-37

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Exercise SummaryYou are now completed all the steps of this exercise.

End of exercise

2-38 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise 3. Windows Server PreparationEstimated time00:40

What this exercise is aboutThis exercise provides you to complete hardware preparation of your Windows Server and inspection activities.

What you should be able to doAt the end of this exercise, you should be able to: Verify the hardware and initial environment of your Windows Server. Perform necessary cleanup tasks. Install System and SAN management software on the Windows Server.

RequirementsBefore starting this exercise, your lab configuration has to be in the following state: - All equipments connected to the different LANs and so the SAN. - SAN configured with zoning (and/or VSAN). - The following software are available on the Network Drive'. - Emulex drivers. - HBAnyware Utility Program (Emulex Management).

Copyright IBM Corp. 2006, 2008

Exercise 3. Windows Server Preparation

3-39

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Windows Server VerificationRefers to your Lab Worksheet to discover the lab environment for your team and make the required verifications. __ 1. Right-click on the My Computer icon, then select Manage. __ 2. From the Computer Management windows, select Device Manager, and verify that your FC adapter is correctly seen in SCSI and RAID controllers directory.

__ 3. Verify that you can ping the SAN switches and the AIX server from your Windows Server. __ a. Can you ping your AIX Server? __________________________

3-40 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Install HBAnyware, the FC HBA Manager__ 1. Install the HBAnyWare software on your Windows Server. You will find the installation package in the Network Drive'.

__ 2. Install the SCSIport Miniport Driver on your Windows Server.

Copyright IBM Corp. 2006, 2008

Exercise 3. Windows Server Preparation

3-41

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 3. Accept the default folder specified to install this software.

__ 4. When installation process is completed, press the Finish button to continue.

3-42 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 5. Install the AutoPilot Installer software. Press the Next> button to process.

__ 6. At the installation Complete screen, press the Finish button.

Copyright IBM Corp. 2006, 2008

Exercise 3. Windows Server Preparation

3-43

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Using the HBAnyware FC HBA Manager on the ServerVerify that your Windows Server is correctly connected to the FC Switches. Use HBAnyware utility program to get all information about your Windows Server FC configuration, especially the WWPN of the FC adapter. Verify its value with the information written on your Lab Worksheet documentation. __ 1. Start HBAnyware from your desktop.

__ 2. The main panel of the HBAnyware Utility program is displayed.

3-44 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Highlight any FC adapter. Notice that the Link Status is equal to Operational when your server is connected to a switch port.

__ a. Address Node WWN: ______________________________________ __ b. Address Port WWN: _______________________________________ __ c. Port type : _______________________________________________ __ d. Supported Class of Service: _________________________________

Copyright IBM Corp. 2006, 2008

Exercise 3. Windows Server Preparation

3-45

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 4. Return to the HBAnyware Utility window and verify the status of your second FC adapter, and explore the adapter information.

__ a. Address Node WWN: ______________________________________ __ b. Address Port WWN: _______________________________________ __ c. Port type : _______________________________________________ __ d. Supported Class of Service: _________________________________

3-46 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

HBAnyware FC HBA Manager Diagnostics__ 1. To perform diagnostics, click the Diagnostics tab in the right pane of the HBAnyware Uility window. The following screen will appear.

__ 2. At the Diagnostics screen, click the Advanced Diagnostic Tests button.

Copyright IBM Corp. 2006, 2008

Exercise 3. Windows Server Preparation

3-47

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 3. At the next screen, check the Internal Loopback box in the Loopback Tests folder, and check the 100 radio button in the Test Cycles area.

__ 4. Check the Echo Test box in the End-to-End (Echo) Test folder, then click the Select from list to select one WWPN addresses from the target list (the DS8000 in our case). Click the Start button to initiate the test.

3-48 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 5. Tests are started, waiting for the final results.

Copyright IBM Corp. 2006, 2008

Exercise 3. Windows Server Preparation

3-49

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Exercise SummaryAt the end of this exercise, your lab configuration has to be in the following state: Necessary SAN management software installed on each Windows Server. You are now completed all the steps of this exercise.

End of exercise

3-50 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Exercise 4. Windows Server attachment to the DS8000Estimated time01:40

What this exercise is aboutThis exercise provides an opportunity to use the DS8000 command line interface (DSCLI) to define host systems, create FB volumes, and create volume groups for the DS8000 storage subsystem. You will first check different information from the DS8000 system like IO ports, storage configuration, .

What you should be able to doAt the end of this exercise, you should be able to: - Get general information from the DS8000 system. - Define all its Windows Server on the DS8000. - Create different volumes and map them to your server. - Define a volume group. - Verify how the volumes are discovered from the Windows Server. - Verify how the volumes are managed by the multipathing software (SDD).

RequirementsBefore starting this exercise, your lab configuration has to be in the following software. SAN zoning correctly defined to allow the servers accessing the DS8000 volumes. DS8000 CLI working with the DS8000 from the Windows.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-51

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Multipathing Driver Installation (SDDDSM)You can find Windows SDDDSM driver in your Network Drive' (refers to your Lab Worksheet documentation). __ 1. Install the SDDDSM software on your Windows Server.

__ 2. Type yes to start the SDDDSM installation process.

4-52 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. At the end of the installation, enter yes to restart your Windows Server.

__ 4. Verify that SDDDSM Multipath driver is installed on your Windows Server.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-53

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

DS8000 Systems General Information__ 1. Start a DSCLI session on the DS8000 system.

__ 2. Verify I/O ports configuration with command lsioport, and identify the I/O ports of the DS8000 that are used for this course (refers tou your Lab Worksheet documentation).

__ a. What is the ID for your 1st Port WWN? _________________________ __ b. What is the ID for your 2nd Port WWN? _________________________

4-54 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. For more detail about each I/O ports configuration use the showioport command.

__ 4. Verify also Extent Pool configuration with lsextpool command. Each Team Pair (1 and 2; 3 and 4; 5 and 6) will use two specific Extent Pools (odd and even).

__ a. Extent pool ID for Team 1 and Team 2? _______________________ __ b. Extent pool ID for Team 3 and Team 4? _______________________ __ c. Extent pool ID for Team 5 and Team 6? _______________________

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-55

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Windows Server DefinitionYou should be able to make FB volumes, but first you need to define the host definition and the port. Host definitions and port definitions are required for open systems to defined the volume group which contains the FB volumes and maps to the hosts and ports we defined. Windows Under Windows OS, use software SANsurfer to find Port WWN of your Windows server FC adapters. If you have SDD installed, you can also use its command gethba to get the Port WWN of your adapters.

__ 1. Now let's define the Windows host connection. First enter the mkhostconnect command without any parameter to get the syntax.

Note The parameters you need to use are the wwname, -hosttype, and ioport parameter.

__ 2. From DSCLI, you can use the help lshosttype command to know the list of host types' parameters.

4-56 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Define your Windows Server on the DS8000 with information required. Use the mkhostconnect -wwname -hosttype -ioport command. __ a. Replace by the Port WWN of your Windows server. __ b. Replace by Win2000. __ c. Replace by the list of the DS8000 ports (i.e. I0100,I0102). __ d. Replace by SS49WinTeamX (where X is your Team number).

Note Repeat this command if your Windows Server uses a second FC adapter card.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-57

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 4. Verify your host configuration using the lshostconnect command.

__ a. What is the Host ID associated with your server? _________________ __ b. (in this example host SS49WinTeam6 is known as 0004). __ 5. To obtain information about only your host, use the lshostconnect command.

__ a. Verify that your Port WWN is correct.

4-58 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 6. To obtain more details about your host, use the showhostconnect command.

Note You can see that actually there are no Volume Group assigned to your Host Server.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-59

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Volume Groups creationNow you can make the volume groups to connect the volumes (not defined) and the host connections (already defined). __ 1. Enter the mkvolgrp command without any parameter to get the syntax.

Note The parameters you need to use is the type parameter. (scsimap 256 for Windows, scsimask for AIX, and os400mask for iSeries ).

__ 2. You can also check which of the other servers are using the same type (scsimask) with the lshosttype type scsimap256 command.

4-60 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Define one Volume Group for your Windows Server. Use the mkvolgrp type command. __ a. Replace by scsimap256 (Windows server). __ b. Replace by SS49TeamX-VolGrp (where X' is your Team number).

__ 4. Verify your Volume Group configuration. Use the lsvolgrp command.

__ a. What is the VolumeID associated with VolGrp? ________________ __ b. (in the example host SS49Team6-VolGrp is known as V0).

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-61

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Volume FB Creation (Windows)Now you can configure and create the FB volumes for your Windows Server. The volume IDs are a four-digit number, where the LSS number is the first two digits and the last two digits are the volume number from 00-FF. __ 1. Enter the mkfbvol command without any parameter to get the syntax.

Note The parameters you need to use are the cap, -name, -volgrp, and extpool parameter.

4-62 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 2. Define a first volume of 5GB, on the even Extent Pool. Use the mkfbvol -cap -name -volgrp -extpool -eam command. __ a. Replace by 5 (default unit is GB). __ b. Replace by SS49TeamX-Vol1 (where X' is your Team number). __ c. Replace by your volume group number (see the lsvolgrp results). __ d. Replace by the EVEN extent_pool defined for your team. __ e. Replace by rotateexts defined for this course. __ f. Replace by the even LSS defined for this course (E0 in this example), as E0XY (or F0XY) (where X' is your Team number and Y' is your volume number, usually 0).

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-63

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 3. Define a second volume of 10GB, on the odd Extent Pool. Use the mkfbvol -cap -name -volgrp -extpool command. __ a. Replace by 10 (default unit is GB). __ b. Replace by SS49TeamX-Vol2 (where X' is your Team number). __ c. Replace by your volume group number (see the lsvolgrp results). __ d. Replace by the ODD extent_pool defined for your team. __ e. Replace by rotateexts defined for this course. __ f. Replace by the odd LSS defined for this course (E1 in this example), as E1XY (or F1XY) (where X' is your Team number and Y' is your volume number, usually 0).

4-64 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 4. Verify the volumes you are configured. Use the lsfbvol command.

__ 5. Show the configuration of each of your volumes in detail. Use the showfbvol command.

__ a. On how many number of ranks your fbvol is placed? ______________

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-65

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 6. Verify the volume group you are configured. Use the showvolgrp command.

4-66 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Assign your Volume Group to your Windows ServerTo finish your configuration, you need to modify Volume Group to add the corresponding Windows Server FC adapter. __ 1. Enter the chhostconnect command without any parameter to get the syntax.

Note The parameters you need to use is the volgrp parameter.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-67

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 2. Assign your Volume Group to your Windows Server. Use the chhostconnect -volgrp command. __ a. Replace by your Volume Group number (here V0). __ b. Replace by the ID assigned to your host (here 0004).

__ 3. Verify your configuration. Use the showhostconnect command.

4-68 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Volumes Discovery on the Windows Server__ 1. From the Windows Server, right-click on My Computer icon, Manage, then from the Computer Management windows, select Disk Management.

Note You have to see your 2 disks (5 GB and 10GB). If necessary, start Rescan Disk action.

Note If you see more than 2 disks on your Windows Server, it could be a problem with SDD driver. Check if installed and with which version. If necessary, deinstall and reinstall the correct SDD version.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-69

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 2. From the Windows Server, right-click on (here) Disk2, and select initialize Disk, then initialize all disks displayed. Click OK button to proceed.

4-70 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 3. Right-click on the Unallocated panel of Disk1, and select New Partition, then format your disk (you can use any free letter and any volume name).

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-71

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 4. Open Windows Explorer to verify that your two new logical drivce exist on your Windows Server.

4-72 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Working with FB Volumes on the DS8000 and Windows ServerNow you have received logical disk from the DS8000, modify the volume size of your first volume on the DS8000 and verify what happens on the Windows Server. __ 1. Connect to the DSCLI, and use the chfbvol command without any parameter to get the syntax.

Note The parameters you need to use are the cap parameter.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-73

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 2. Use the chfbvol -cap command. __ a. Replace by 10 (default unit is GB). __ b. Replace by the volume ID of your first volume (here E060).

__ 3. From your Windows Server, Computer Management > Disk Management.

4-74 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 4. Use the diskpart Windows tool to increase the logical drive capacity on your Windows Server. Opne a Command Prompt Window, and type diskpart commands.

__ 5. Enter the list volume command to display all disk drives used on your Windows server.

__ a. Note the number associated with the volume you want to modify (here volume 3).

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-75

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 6. Enter the select volume X command (where X' by the volume number). Then enter the extend command to access the new capacity.

__ 7. Verify the result on the Computer Management window of your server.

4-76 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty

Deleting FB VolumesThis part provides an opportunity to use the DS8000 command line interface (DSCLI) to delete volumes. You should be able to delete a single FB volume without affecting other volumes in the arrays or ranks. __ 1. Enter the rmfbvol command without any parameter to get the syntax.

Note So, it looks like Volume_ID is all that's required here. Let's remove volumes in your volume group, the Windows volumes.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-77

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

__ 2. Enter the rmfbvol command to remove your volume, and reply yes. Repeat this command to delete your two volumes.

__ 3. Enter the lsfbvol command to verify your volumes have been removed from the DS8000. __ 4. Let's remove the volume group from the host connection. Enter the chhostconnnect -volgrp none command to remove the volume group to your host.

4-78 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 5. Enter the showhostconnnect command to verify your configuration.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-79

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Deleting Volumes GroupsThis part provides an opportunity to use the DS8000 command line interface (DSCLI) to delete volume groups. If you are no volumes associated with the volume group, it should be safe to delete it as long as there there are no further uses planned for this host or set of volumes. __ 1. Enter the rmvolgrp command without any parameter to get the syntax.

Note So, it looks like Volume_Group_ID is all that's required here. Let's remove your volume group, the Windows volume group.

4-80 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.2Student Exercises

EXempty __ 2. Enter the rmvolgrp command to remove your volume group, and reply yes.

Copyright IBM Corp. 2006, 2008

Exercise 4. Windows Server attachment to the DS8000

4-81

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Exercise SummaryAt the end of this exercise, your lab configuration has to be in the following state: You have been able to discover on your Windows Server the volumes created. You have no DS8000 volume mapped to your 2 Windows Servers. You are now completed all the steps of this exercise.

End of exercise

4-82 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

Exercise 5. AIX Server attachment to the DS8000Estimated time01:40

What this exercise is aboutThis exercise provides an opportunity to use the DS8000 command line interface (DSCLI) to define host systems, create FB volumes, and create volume groups for the DS8000 storage subsystem. You will first check different information from the DS8000 system like IO ports, storage configuration, .

What you should be able to doAt the end of this exercise, you should be able to: - Get general information from the DS8000 system. - Define its AIX Server on the DS8000. - Create different volumes and map them to your server. - Define a volume group. - Verify how the volumes are discovered from the AIX Server. - Verify how the volumes are managed by the multipathing software (SDDPCM).

RequirementsBefore starting this exercise, your lab configuration has to be in the following software. - The AIX server booted. - SAN zoning correctly defined to allow the servers accessing the DS8000 volumes.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-83

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

AIX Server Definition__ 1. Open a telnet session on the AIX server.

__ 2. Find the WWPNs of its two FC adapters with lscfg -v | more command.

5-84 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 3. You can also use the lscfg -vl fcsX | grep Network command (where X' is equal to 0 or 1) to find the Port WWN address of each FC adapter of your AIX server.

__ a. What is the Port WWN of fcs0 ? ___________________________ __ b. What is the Port WWN of fcs1? ____________________________ __ 4. You can also verify in which mode the FC adapters are connected to the SAN. Use the lsattr -EI fcsX command (where X' is equal to 0 or 1).

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-85

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

DS8000 Systems General Information__ 1. Start a DSCLI session on the DS8000 system.

__ 2. From the dscli, check the WWPNs of the DS8000 FC adapters used in your configuration (refers tou your Lab Worksheet documentation). Enter the showioport command.

__ a. What is the WWPN of your 1st IO Port? ______________________ __ b. What is the WWPN of your 2nd IO Port? ______________________

5-86 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 3. Verify also Extent Pool configuration with lsextpool command. Each Team Pair (1 and 2; 3 and 4; 5 and 6) will use two specific Extent Pools (odd and even).

__ a. Extent pool ID for Team 1 and Team 2? _______________________ __ b. Extent pool ID for Team 3 and Team 4? _______________________ __ c. Extent pool ID for Team 5 and Team 6? _______________________

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-87

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

AIX Server DefinitionYou should be able to make FB volumes, but first you need to define the host definition and the port. Host definitions and port definitions are required for open systems to defined the volume group which contains the FB volumes and maps to the hosts and ports we defined. __ 1. Now let's define the AIX host connection. First enter the mkhostconnect command without any parameter to get the syntax.

Note The parameters you need to use are the wwname, -hosttype, and ioport parameter.

__ 2. From DSCLI, you can use the help lshosttype command to know the list of host types' parameters.

5-88 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 3. Define your AIX Server on the DS8000 with information required. Use the mkhostconnect -wwname -hosttype -ioport command. __ a. Replace by the Port WWN of your AIX server. __ b. Replace by pSeries __ c. Replace by the list of the DS8000 ports (i.e. I0100,I0102). __ d. Replace by SS49AIXTeamX (where X is your Team number) .

Note Repeat this command if your AIX Server uses a second FC adapter card.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-89

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 4. Verify your host configuration using the lshostconnect command.

__ a. What are the Host IDs associated with your server? _______________ __ b. (in this example host SS49AIXTeam6 is known as 0000). __ 5. To obtain information about only your host, use the lshostconnect command.

__ a. Verify that your both Port WWNs, if exist, are correct.

5-90 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 6. To obtain more details about your host, use the showhostconnect command.

Note You can see that actually there are no Volume Group assigned to your Host Server.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-91

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

Volume Groups creationNow you can make the volume groups to connect the volumes (not defined) and the host connections (already defined). __ 1. Enter the mkvolgrp command without any parameter to get the syntax.

Note The parameters you need to use is the type parameter. (scsimap256 for Windows, scsimask for AIX, and os400mask for iSeries ).

__ 2. You can also check which of the other servers are using the same type (scsimask) with the lshosttype type scsimask command.

5-92 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 3. Define one Volume Group for your AIX Server. Use the mkvolgrp type command. __ a. Replace by scsimask (AIX server). __ b. Replace by SS49AIXTeamX_VolGrp (where X' is your Team number).

__ 4. Verify your Volume Group configuration. Use the lsvolgrp command.

__ a. What is the VolumeID associated with VolGrp? ________________ __ b. (in the example SS49AIXTeam6_VolGrp is known as V0).

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-93

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

Volume FB Creation (AIX)Now you can configure and create the FB volumes for your AIX Server. The volume IDs are a four-digit number, where the LSS number is the first two digits and the last two digits are the volume number from 00-FF. __ 1. Enter the mkfbvol command without any parameter to get the syntax.

Note The parameters you need to use are the cap, -name, -volgrp, and extpool parameter.

5-94 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 2. Define a first volume of 5GB, on the even Extent Pool. Use the mkfbvol -cap -name -volgrp -extpool -eam command. __ a. Replace by 5 (default unit is GB). __ b. Replace by AIXTeamX_Vol1 (where X' is your Team number). __ c. Replace by your volume group number (see the lsvolgrp results). __ d. Replace by an EVEN extent_pool (from Team 2, 4, or 6). __ e. Replace by rotateexts __ f. Replace by the even LSS defined for this course (E0 in this example), as E0X0 (or F0X0) (where X' is your Team number).

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-95

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 3. Define a second volume of 10 GB on the odd Extent Pool. Use the mkfbvol -cap -name -volgrp -extpool -eam command. __ a. Replace by 10 (default unit is GB). __ b. Replace by AIXTeamX_Vol2 (where X' is your Team number). __ c. Replace by your volume group number (see the lsvolgrp results). __ d. Replace by an ODD extent_pool (from Team 1, 3, or 5). __ e. Replace by rotateexts __ f. Replace by the odd LSS defined for this course (E1 in this example), as E1X0 (or F1X0) (where X' is your Team number).

5-96 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 4. Verify the volumes you are configured. Use the lsfbvol command.

__ 5. Verify the volume group you are configured. Use the showvolgrp command.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-97

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

Assign your Volume Group to your AIX ServerTo finish your configuration, you need to modify Volume Group to add the corresponding AIX Server FC adapter. __ 1. Enter the chhostconnect command without any parameter to get the syntax.

Note The parameters you need to use is the volgrp parameter.

5-98 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 2. Assign your Volume Group to your Windows Server. Use the chhostconnect -volgrp command. __ a. Replace by your Volume Group number (here V0). __ b. Replace by the ID assigned to your host (here 0000).

__ 3. Verify your configuration. Use the showhostconnect command.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-99

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

AIX Server Setup__ 1. Open a Telnet session (with putty) on your AIX Server. __ 2. First, verify your AIX level with the oslevel or instfix -i | grep ML command.

__ 3. Verify from AIX OS how you see your FC adapters and the different drivers attached to them with : __ a. lsdev -Cc adapter | grep fc

5-100 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

__ b. lsdev | grep f

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-101

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

CleanupNote To start working on a clean configuration, it is recommended to perform some verifications and removals. Check that you have NO Fibre Channel disks still in state defined on your server and if necessary, remove them. Also delete the vpath devices (SDD), Be careful; you must export the volume group before destroying the hdisk. To finish, check if SDD or SDD PCM are installed, and if necessary, remove them.

__ 1. Use the lsdev -Cc disk command to check if some DS8000 FC disks are defined.

__ 2. Remove all drives provided by the DS8000 (2107), normally there are no drives. Use the rmdev -dl command. __ a. example: rmdev dl hdiskX (where X' is the drive announced from the DS8000 (2107)).

5-102 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 3. Remove filesets devices.fcp.disk.ibm.rte. __ a. lslpp l | grep devices.fcp.disk.ibm.rte

__ b. If exist, remove them using installp u devices.fcp.disk.ibm.rte __ 4. Remove filesets devices.fcp.disk.array.rte. __ a. lslpp l | grep devices.fcp.disk.array.rte

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-103

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ b. If exist, remove them using installp u devices.fcp.disk.array.rte

__ 5. Remove also the sdd driver if installed. Verify that sdd driver has been installed. Use the lslpp -l | grep sdd command. If yes, execute the following steps.

__ a. installp u devices.sddpcm.XX.rte (replace XX' by the correct number). __ b. installp u devices.fcp.disk.ibm.mpio.rte __ 6. Now, your system is healthy.

5-104 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

SDD PCM DownloadTo download all the AIX required filesets, execute the following steps.

__ 1. Connect your AIX to the FTP server using information specified in your Lab Worksheet.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-105

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 2. Access to the correct subdirectory.

__ 3. Download the following files in your AIX. __ a. devices.fcp.disk.ibm.mpio.rte.tar __ b. devices.sddpcm.61.rte.tar

5-106 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 4. Close the ftp session using the quit command, then uncompress the tar files with the following command : __ a. tar -xvf

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-107

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

SDD PCM Installation and Verification__ 1. Enter smit in the AIX prompt to access the System Management interface. __ 2. From the Software Installation and Maintenance window, select Software Installation and Maintenance then press [Enter].

__ 3. From the Software Installation and Maintenance window, select Install and Update Software then press [Enter].

5-108 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 4. From the Install and Update Software window, select Install Software then press [Enter].

__ 5. From the Install Software window, type a [ /home/root] in the Entry Field' for INPUT device / directory for software, then press [Enter].

__ 6. From the Install Software window, press [F4] to display the list of all available software you can install. __ 7. From the SOFTWARE to install window, select the both software you are downloaded from the ftp server, then press [Enter].

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-109

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 8. From the Install Software window, press [Enter] twice.

__ 9. When installed, exit from smitty using the [F10] command. __ 10. After this, reboot the system using the reboot command. __ 11. Verify your configuration using the lslpp l | grep sddpcm command.

5-110 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

Volume discovery on the AIX serverFrom your telnet session on the AIX server, perform the following commands to discover the DS8000 volumes. __ 1. You can run cfgmgr command to discover the new LUNs. __ 2. Use the lspath command to list the path that allow the server to access directly the hdisks.

__ 3. You can see the hdisk associated to your LUN using the lsdev Cc disk command.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-111

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 4. check all the paths seen by MPIO on the different disks (LUNs) with the lspath H l hdiskX command (here hdisk3 and hdisk4).

__ 5. Then, check the paths with the following SDDPCM commands: __ a. pcmpath query adapter

5-112 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

__ b. pcmpath query device

__ 6. You can identify the DS8000 volumes with the lsattr El hdiskX command.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-113

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 7. However, you can verify on your configuration the IDs of your volumes using another command (volume IDs are visible in the Serial Number parameter). Use the lscfg -v -l hdiskX command.

__ 8. In this test you will show the rate on the different paths. You can notice that the rate is averaging between all the paths. You have to run the iostat -m -d hdiskX 1 command (use to stop the test).

5-114 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

Working with Logical Volume on the AIX server__ 1. Query the ODM again and verify that you see both logical volumes represented as hdisks using the lsdev C | grep 2107 command (where 2107 refers to DS8000).

__ 2. From the command line run the smit vg command. The System Management Interface Tool open in the volume group panel.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-115

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 3. Select Add a Volume Group, then Add an Original Volume Group. __ a. Volume Group name: SS49TeamXVG0 (where X' is your Team number).

__ 4. Notice the asterisk next to PHYSICAL VOLUME names. The asterisk indicates a required field. Press the down arrow up to highlight PHYSICAL VOLUME names.

5-116 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 5. Press [F4] to see the list of available hdisks, or enter your first DS8000 disk.

__ 6. Using the output from step 5, use your arrow keys to select the 1st hdisk that you know to be associated with your DS8000 and press [Enter].

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-117

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 7. The hdisk you selected is now listed in the PHYSICAL VOLUME names field. Press [Enter].

__ 8. You will be prompted with a dialog box asking ARE YOU SURE?. Press [Enter] again.

__ 9. When the makvg command finished press [F10].

5-118 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 10. Execute the same steps to assign your 2nd hdisk. __ a. Volume Group name: SS49TeamXVG1 (where X' is your Team number).

__ 11. Next, type smit fs to enter the File System panel of smitty. We can skip creating an LV as it will be done automatically when the FS is created.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-119

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 12. Select Add/Change/Show/Delete File Systems, select Enhanced Journaled File Systems, select Add an Enhanced Journaled File System.

__ 13. From the Volume Group Name window select SS49TeamXVG0 which is the Volume Group created and press [Enter]. If you are creating the second FS use SS49TeamXvg1.

5-120 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 14. The first option highlighted is Unit Size. Press [F4] and select Megabytes as your unit size. __ 15. Press the [Down Arrow] key one time of highlight Number of units. Enter the amount of megabytes to use for the VG. Note If you created your Volume Group from a 1GB Logical Volume then you would want to use around 980 megabytes. Trying to use 1024 megabytes to get the full 1GB would fail.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-121

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 16. Press the [Down Arrow] key one time of select Mount Point. Enter /disk1 as the mount point. Click [Enter].

__ 17. When the command completes, press [F10] key to exit smit fs.

5-122 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 18. Execute the same step to attach your second Volume Group.

__ 19. Now mount the file systems you created using the mount /diskX command (where X' is equal to 1 or 2).

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-123

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 20. Use the mount command that show two newest File Systems; /disk1 and /disk2 and correspond to hdisk1 and hdisk2.

__ 21. Use the df -k command.

__ a. What is the size of your 1st volume (/disk1)? ___________________ __ b. What is the size of your 2nd volume (/disk2)? ___________________

5-124 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 22. Use the lsvg command to display the list of all Volume Groups defined.

__ 23. Use the lsvg command to display the content of your Volume Group.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-125

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

Working with FB Volumes on the DS8000 and AIX serverNow you have received logical disk from the DS8000, modify the volume size of your first volume on the DS8000 and verify what happens on the AIX Server. __ 1. Connect to the DSCLI, and use the chfbvol command without any parameter to get the syntax.

Note The parameters you need to use are the cap parameter.

5-126 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 2. Use the chfbvol -cap command. __ a. Replace by 10 (default unit is GB). __ b. Replace by the volume ID of your first volume (here E010).

__ 3. You noticed correctly that the Logical Volume is now 10 GB in size. Go back to the host and type df -k command.

__ a. Still the same right? _______________________

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-127

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

Note There are a few ways to do this, to get it to recognize the additional storage space, one requires users NOT being able to access the drives concurrently and one that doesn't stop the system.

Note First, the steps to add the space truly Dynamically'. We gave the Logical Volume more space from the Storage Subsystem in the previous steps, now let's look at where we we are now from the UNIX host side of things.

__ 4. From your # prompt, type the lsvg command.

5-128 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 5. From your # prompt, type the lslv fslv0x command (depending the results of your previous df k command).

__ 6. Then we'll change the volume group first to grow' it. Use the chvg -g SS49TeamXVG0 command.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-129

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 7. Type df -k command again and see that the file system is STILL the same, unchanged size.

__ 8. Now type the file system change chfs a size=10000M /disk1 command with the TOTAL news size.

__ a. What? It still didn't work? _______________________

5-130 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 9. Oh, I forgot to tell you about this step, didn't I?. If you see 0516-787 extendlv: Maximum allocation for logical volume fslv00 is 613, then type this chlv -x command with a suitable number. __ a. chlv -x 10240 fslv0x (1024 x 10GB)

__ 10. Try again the chfs command. __ a. chfs -a size=+5G /disk1

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-131

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 11. Use the df -k command.

Note Now the LUN shows the additional space. And there was no outage from the user side. It would at least make sure nothing vital is going on at the time of this maneuver.

Note the other technique involves stopping the application, umount the file system, varyoffvg the volume group, varyonvg it back on, and remount the file system. Simple enough, yes it IS intuitive, usage had to be stopped.

5-132 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty

Deleting FB VolumesThis part provides an opportunity to use the DS8000 command line interface (DSCLI) to delete volumes. You should be able to delete a single FB volume without affecting other volumes in the arrays or ranks. __ 1. Enter the rmfbvol command without any parameter to get the syntax.

Note So, it looks like Volume_ID is all that's required here. Let's remove volumes in your volume group, the Windows volumes.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-133

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Student Exercises

Student Exercises

__ 2. Enter the rmfbvol command to remove your volume, and reply yes. Repeat this command to delete your two volumes.

__ 3. Enter the lsfbvol command to verify your volumes have been removed from the DS8000. __ 4. Let's remove the volume group from the host connection. Enter the chhostconnnect -volgrp none command to remove the volume group to your host.

5-134 IBM TotalStorage DS8000 - Implementation for Open Systems

Copyright IBM Corp. 2006, 2008

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.3Student Exercises

EXempty __ 5. Enter the showhostconnnect command to verify your configuration.

Copyright IBM Corp. 2006, 2008

Exercise 5. AIX Server attachment to the DS8000

5-135