Sei sulla pagina 1di 16

DS8800 Initial Setup

IP for DS8800:
10.10.10.10 ds8000mc (DS8800-HMC)
10.10.10.11 sspc (DS8800 SSPC)
Mask: 255.255.255.0
GW: 10.10.10.1

Step 1: Install DSCLI (DS command line interface)


install DSCLI command line on a server (download it from
ftp://ftp.software.ibm.com/storage/ds8000/updates/DS8K_Customer_Download_Files/CLI/ ), or
workstation. It's easier to use UNIX or Linux machine, to be able to create scripts.

Step 2: Update the admin password from HMC


From the workstation with DSCLI command line installed, connect to DS8000 HMC (also
available for Windows):
[root@aixsrv]/usr/bdl# /opt/ibm/dscli/dscli
Enter the primary management console IP address: 10.10.10.10
Enter the secondary management console IP address: 10.10.10.10
Enter your username: admin
Enter your password: admin
CMUC00201E : Authentication failure: Your password has expired. Change your
password with the chuser command.
Date/Time: August 9, 2011 1:51:03 PM CEST IBM DSCLI Version: 6.5.0.243 DS: -

Now update the password admin:


dscli> chuser -pw passw0rd admin
Date/Time: August 9, 2011 1:55:50 PM CEST IBM DSCLI Version: 6.5.0.243 DS: CMUC00134I chuser: User admin successfully modified.
dscli> chpass -expire 0 -fail 0
Date/Time: August 10, 2011 9:26:01 AM CEST IBM DSCLI Version: 7.6.10.511 DS:
CMUC00195I chpass: Security properties successfully set.
dscli> showpass
Date/Time: August 10,
Password Expiration
Failed Logins Allowed
Password Age
Minimum Length
Password History

2011 9:26:14 AM CEST IBM DSCLI Version: 7.6.10.511 DS:


0 days
0
0 days
6
4

Create additionnal users if needed:

dscli> mkuser -pw sspcpassw0rd -group admin sspcuser


Date/Time: August 10, 2011 9:26:51 AM CEST IBM DSCLI Version: 7.6.10.511 DS:
CMUC00133I mkuser: User sspcuser successfully created.
dscli> mkuser -pw readpassw0rd -group monitor readonly
Date/Time: August 10, 2011 9:27:09 AM CEST IBM DSCLI Version: 7.6.10.511 DS:
CMUC00133I mkuser: User readonly successfully created.
dscli> lsuser
Date/Time: August 10, 2011 9:27:17 AM CEST IBM DSCLI Version: 7.6.10.511 DS:
Name
Group
State
===========================
admin
admin
active
readonly
monitor active
secadmin
secadmin active
sspcuser
admin
active

Step 3: Register the license on the DS8000


Now you are ready to watch the DS8800 status; in orange, information needed for activation on
IBM Web site Data storage feature activation https://www.ibm.com/storage/dsfa
dscli> lssi
Date/Time: August 9, 2011 1:55:54 PM CEST IBM DSCLI Version: 6.5.0.243 DS: Name ID
Storage Unit
Model WWNN
State ESSNet
============================================================================
IBM.2107-75AA252 IBM.2107-75AA251 951
500507520BFFC3A2 Online Enabled
dscli> showsi IBM.2107-75AA252

Date/Time: August 9, 2011 4:16:40 PM CEST IBM DSCLI Version: 6.5.0.243 DS: IBM.210775AA252
Name.desc.IDIBM.2107-75AA252
Storage Unit..IBM.2107-75AA251
Model951
WWNN.500507520BFFC3A2
Signature.158f-76d9-dhf4-b11b
StateOnline
ESSNet..Enabled
Volume Group..V0
os400Serial2FC
NVS Memory.2.0 GB
Cache Memory..50.6 GB
Processor Memory.61.4 GB
MTS..IBM.2424-75AA251
numegsupported0

After registartion on IBM Web site, you 'll download a license key file, apply now the keys:
dscli> applykey -file keys.xml IBM.2107-75AA252

List activated keys:


dscli> lskey IBM.2107-75AA252
Date/Time: August 9, 2011 5:42:53 PM CEST IBM DSCLI Version: 6.5.0.243 DS:
IBM.2107-75AA252
Activation Key
Authorization Level (TB) Scope
==========================================================
Operating environment (OEL) 63.8
FB
Point in time copy (PTC)
off
FB

Step 4: Check your DS8000 configuration


List the enclosure:
dscli> lsstgencl IBM.2107-75AA252
Date/Time: August 9, 2011 2:26:43 PM CEST IBM DSCLI Version: 6.5.0.243 DS:
IBM.2107-75AA252
ID
Interfaces
interadd stordev cap
(GB) RPM
=============================================================================
========
IBM.2107-D02-06B9T/R1-S09 0x0230,0x0360,0x0231,0x0361
0x0
16 600.0
10000
IBM.2107-D02-06BF4/R1-S05 0x0260,0x0330,0x0261,0x0331
0x0
24 450.0
10000
IBM.2107-D02-06C5R/R1-S08 0x0032,0x0162,0x0033,0x0163
0x0
24 450.0
10000
IBM.2107-D02-06C5Y/R1-S07 0x0030,0x0160,0x0031,0x0161
0x0
24 450.0
10000
IBM.2107-D02-06C60/R1-S06 0x0262,0x0332,0x0263,0x0333
0x0
24 450.0
10000
IBM.2107-D02-06CNG/R1-S10 0x0232,0x0362,0x0233,0x0363
0x0
16 600.0
10000

List the disks:


dscli> lsddm IBM.2107-75AA252
Date/Time: August 9, 2011 2:27:03 PM CEST IBM DSCLI Version: 6.5.0.243 DS:
IBM.2107-75AA252
ID
DA Pair dkcap (10^9B) dkuse
arsite State
=============================================================================
IBM.2107-D02-06B9T/R1-P1-D1 2
600.0 unconfigured S9
Normal
IBM.2107-D02-06B9T/R1-P1-D2 2
600.0 unconfigured S10
Normal
IBM.2107-D02-06B9T/R1-P1-D3 2
600.0 unconfigured S10
Normal
IBM.2107-D02-06B9T/R1-P1-D4 2
600.0 unconfigured S9
Normal
IBM.2107-D02-06B9T/R1-P1-D5 2
600.0 unconfigured S9
Normal
IBM.2107-D02-06B9T/R1-P1-D6 2
600.0 unconfigured S9
Normal
IBM.2107-D02-06B9T/R1-P1-D7 2
600.0 unconfigured S10
Normal
IBM.2107-D02-06B9T/R1-P1-D8 2
600.0 unconfigured S10
Normal
IBM.2107-D02-06B9T/R1-P1-D9 2
600.0 unconfigured S7
Normal

IBM.2107-D02-06B9T/R1-P1-D10
IBM.2107-D02-06B9T/R1-P1-D11
IBM.2107-D02-06B9T/R1-P1-D12
IBM.2107-D02-06B9T/R1-P1-D13
IBM.2107-D02-06B9T/R1-P1-D14
IBM.2107-D02-06B9T/R1-P1-D15
IBM.2107-D02-06B9T/R1-P1-D16
IBM.2107-D02-06BF4/R1-P1-D1
IBM.2107-D02-06BF4/R1-P1-D2
IBM.2107-D02-06BF4/R1-P1-D3
IBM.2107-D02-06BF4/R1-P1-D4
IBM.2107-D02-06BF4/R1-P1-D5
IBM.2107-D02-06BF4/R1-P1-D6
IBM.2107-D02-06BF4/R1-P1-D7
IBM.2107-D02-06BF4/R1-P1-D8
IBM.2107-D02-06BF4/R1-P1-D9
IBM.2107-D02-06BF4/R1-P1-D10
IBM.2107-D02-06BF4/R1-P1-D11
IBM.2107-D02-06BF4/R1-P1-D12
IBM.2107-D02-06BF4/R1-P1-D13
IBM.2107-D02-06BF4/R1-P1-D14
IBM.2107-D02-06BF4/R1-P1-D15
IBM.2107-D02-06BF4/R1-P1-D16
IBM.2107-D02-06BF4/R1-P1-D17
IBM.2107-D02-06BF4/R1-P1-D18
IBM.2107-D02-06BF4/R1-P1-D19
IBM.2107-D02-06BF4/R1-P1-D20
IBM.2107-D02-06BF4/R1-P1-D21
IBM.2107-D02-06BF4/R1-P1-D22
IBM.2107-D02-06BF4/R1-P1-D23
IBM.2107-D02-06BF4/R1-P1-D24
IBM.2107-D02-06C5R/R1-P1-D1
IBM.2107-D02-06C5R/R1-P1-D2
IBM.2107-D02-06C5R/R1-P1-D3
IBM.2107-D02-06C5R/R1-P1-D4
IBM.2107-D02-06C5R/R1-P1-D5
IBM.2107-D02-06C5R/R1-P1-D6
IBM.2107-D02-06C5R/R1-P1-D7
IBM.2107-D02-06C5R/R1-P1-D8
IBM.2107-D02-06C5R/R1-P1-D9
IBM.2107-D02-06C5R/R1-P1-D10
IBM.2107-D02-06C5R/R1-P1-D11
IBM.2107-D02-06C5R/R1-P1-D12
IBM.2107-D02-06C5R/R1-P1-D13
IBM.2107-D02-06C5R/R1-P1-D14
IBM.2107-D02-06C5R/R1-P1-D15
IBM.2107-D02-06C5R/R1-P1-D16
IBM.2107-D02-06C5R/R1-P1-D17
IBM.2107-D02-06C5R/R1-P1-D18
IBM.2107-D02-06C5R/R1-P1-D19
IBM.2107-D02-06C5R/R1-P1-D20
IBM.2107-D02-06C5R/R1-P1-D21
IBM.2107-D02-06C5R/R1-P1-D22
IBM.2107-D02-06C5R/R1-P1-D23
IBM.2107-D02-06C5R/R1-P1-D24
IBM.2107-D02-06C5Y/R1-P1-D1
IBM.2107-D02-06C5Y/R1-P1-D2

2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

600.0
600.0
600.0
600.0
600.0
600.0
600.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0

unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured

S8
S7
S8
S7
S7
S8
S8
S11
S11
S12
S14
S15
S13
S13
S13
S14
S11
S13
S12
S14
S12
S16
S15
S16
S11
S12
S16
S16
S14
S15
S15
S5
S2
S1
S1
S2
S3
S2
S1
S2
S1
S3
S4
S6
S5
S4
S4
S6
S6
S5
S4
S6
S3
S5
S3
S4
S3

Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal

IBM.2107-D02-06C5Y/R1-P1-D3
IBM.2107-D02-06C5Y/R1-P1-D4
IBM.2107-D02-06C5Y/R1-P1-D5
IBM.2107-D02-06C5Y/R1-P1-D6
IBM.2107-D02-06C5Y/R1-P1-D7
IBM.2107-D02-06C5Y/R1-P1-D8
IBM.2107-D02-06C5Y/R1-P1-D9
IBM.2107-D02-06C5Y/R1-P1-D10
IBM.2107-D02-06C5Y/R1-P1-D11
IBM.2107-D02-06C5Y/R1-P1-D12
IBM.2107-D02-06C5Y/R1-P1-D13
IBM.2107-D02-06C5Y/R1-P1-D14
IBM.2107-D02-06C5Y/R1-P1-D15
IBM.2107-D02-06C5Y/R1-P1-D16
IBM.2107-D02-06C5Y/R1-P1-D17
IBM.2107-D02-06C5Y/R1-P1-D18
IBM.2107-D02-06C5Y/R1-P1-D19
IBM.2107-D02-06C5Y/R1-P1-D20
IBM.2107-D02-06C5Y/R1-P1-D21
IBM.2107-D02-06C5Y/R1-P1-D22
IBM.2107-D02-06C5Y/R1-P1-D23
IBM.2107-D02-06C5Y/R1-P1-D24
IBM.2107-D02-06C60/R1-P1-D1
IBM.2107-D02-06C60/R1-P1-D2
IBM.2107-D02-06C60/R1-P1-D3
IBM.2107-D02-06C60/R1-P1-D4
IBM.2107-D02-06C60/R1-P1-D5
IBM.2107-D02-06C60/R1-P1-D6
IBM.2107-D02-06C60/R1-P1-D7
IBM.2107-D02-06C60/R1-P1-D8
IBM.2107-D02-06C60/R1-P1-D9
IBM.2107-D02-06C60/R1-P1-D10
IBM.2107-D02-06C60/R1-P1-D11
IBM.2107-D02-06C60/R1-P1-D12
IBM.2107-D02-06C60/R1-P1-D13
IBM.2107-D02-06C60/R1-P1-D14
IBM.2107-D02-06C60/R1-P1-D15
IBM.2107-D02-06C60/R1-P1-D16
IBM.2107-D02-06C60/R1-P1-D17
IBM.2107-D02-06C60/R1-P1-D18
IBM.2107-D02-06C60/R1-P1-D19
IBM.2107-D02-06C60/R1-P1-D20
IBM.2107-D02-06C60/R1-P1-D21
IBM.2107-D02-06C60/R1-P1-D22
IBM.2107-D02-06C60/R1-P1-D23
IBM.2107-D02-06C60/R1-P1-D24
IBM.2107-D02-06CNG/R1-P1-D1
IBM.2107-D02-06CNG/R1-P1-D2
IBM.2107-D02-06CNG/R1-P1-D3
IBM.2107-D02-06CNG/R1-P1-D4
IBM.2107-D02-06CNG/R1-P1-D5
IBM.2107-D02-06CNG/R1-P1-D6
IBM.2107-D02-06CNG/R1-P1-D7
IBM.2107-D02-06CNG/R1-P1-D8
IBM.2107-D02-06CNG/R1-P1-D9
IBM.2107-D02-06CNG/R1-P1-D10
IBM.2107-D02-06CNG/R1-P1-D11

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
2
2
2
2
2
2
2
2
2
2
2

450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
450.0
600.0
600.0
600.0
600.0
600.0
600.0
600.0
600.0
600.0
600.0
600.0

unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured
unconfigured

S5
S4
S5
S6
S5
S6
S4
S3
S4
S5
S3
S1
S2
S2
S1
S2
S2
S3
S1
S6
S6
S1
S14
S11
S11
S15
S14
S16
S16
S12
S13
S12
S15
S12
S13
S14
S13
S16
S14
S15
S11
S12
S13
S11
S15
S16
S7
S10
S9
S7
S9
S8
S9
S10
S7
S7
S10

Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal

IBM.2107-D02-06CNG/R1-P1-D12
IBM.2107-D02-06CNG/R1-P1-D13
IBM.2107-D02-06CNG/R1-P1-D14
IBM.2107-D02-06CNG/R1-P1-D15
IBM.2107-D02-06CNG/R1-P1-D16

2
2
2
2
2

600.0
600.0
600.0
600.0
600.0

unconfigured
unconfigured
unconfigured
unconfigured
unconfigured

S8
S8
S8
S10
S9

Normal
Normal
Normal
Normal
Normal

List the arrays:


dscli> lsarraysite -dev IBM.2107-75AA252
Date/Time: August 9, 2011 2:51:45 PM CEST IBM DSCLI Version: 6.5.0.243 DS:
IBM.2107-75AA252
arsite DA Pair dkcap (10^9B) State
Array
=============================================
S1
0
450.0 Unassigned S2
0
450.0 Unassigned S3
0
450.0 Unassigned S4
0
450.0 Unassigned S5
0
450.0 Unassigned S6
0
450.0 Unassigned S7
2
600.0 Unassigned S8
2
600.0 Unassigned S9
2
600.0 Unassigned S10
2
600.0 Unassigned S11
3
450.0 Unassigned S12
3
450.0 Unassigned S13
3
450.0 Unassigned S14
3
450.0 Unassigned S15
3
450.0 Unassigned S16
3
450.0 Unassigned

Step 5: Setup the DS8000 IO ports


List DS8000 IO ports:
dscli> lsioport -dev IBM.2107-75AA252
Date/Time: August 9, 2011 2:47:35 PM CEST IBM DSCLI Version: 6.5.0.243 DS:
IBM.2107-75AA252
ID
WWPN
State
Type
topo portgrp
============================================================
I0030 500507520B0502FC Offline Fibre Channel-SW 0
I0031 500507520B0542FC Offline Fibre Channel-SW 0
I0032 500507520B0582FC Offline Fibre Channel-SW 0
I0033 500507520B05C2FC Offline Fibre Channel-SW 0
I0100 500507520B0602FC Offline Fibre Channel-SW 0
I0101 500507520B0642FC Offline Fibre Channel-SW 0
I0102 500507520B0682FC Offline Fibre Channel-SW 0
I0103 500507520B06C2FC Offline Fibre Channel-SW 0
I0230 500507520B1502FC Offline Fibre Channel-SW 0
I0231 500507520B1542FC Offline Fibre Channel-SW 0
I0232 500507520B1582FC Offline Fibre Channel-SW 0
I0233 500507520B15C2FC Offline Fibre Channel-SW 0
I0300 500507520B1602FC Offline Fibre Channel-SW 0
I0301 500507520B1642FC Offline Fibre Channel-SW 0
I0302 500507520B1682FC Offline Fibre Channel-SW 0
I0303 500507520B16C2FC Offline Fibre Channel-SW 0

Change IOports to SCSI-fcp:


dscli>
setioport
setioport
setioport
setioport

-topology
-topology
-topology
-topology

scsi-fcp
scsi-fcp
scsi-fcp
scsi-fcp

I0030
I0100
I0230
I0300

I0031
I0101
I0231
I0301

I0032
I0102
I0232
I0302

I0033
I0103
I0233
I0303

Step 6: Create Arrays and Ranks


[root@aixsrv]/opt/ibm/dscli# cat create_array.ksh
#!/usr/bin/ksh
CMD=/opt/ibm/dscli/dscli
PROFILE=/opt/ibm/dscli/profile/DS8000_1.profile
for i in S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16
do
$CMD -cfg $PROFILE mkarray -v off -bnr off -raidtype 5 -arsite $i
Done
dscli> lsarraysite
Date/Time: August 11, 2011 2:06:30 PM CEST IBM DSCLI Version: 7.6.10.511 DS:
IBM.2107-75AA252
arsite DA Pair dkcap (10^9B) State
Array
===========================================
S1
0
450.0 Assigned A0
S2
0
450.0 Assigned A1
S3
0
450.0 Assigned A2
S4
0
450.0 Assigned A3
S5
0
450.0 Assigned A4
S6
0
450.0 Assigned A5
S7
2
600.0 Assigned A6
S8
2
600.0 Assigned A7
S9
2
600.0 Assigned A8
S10
2
600.0 Assigned A9
S11
3
450.0 Assigned A10
S12
3
450.0 Assigned A11
S13
3
450.0 Assigned A12
S14
3
450.0 Assigned A13
S15
3
450.0 Assigned A14
S16
3
450.0 Assigned A15
dscli> lsarray
Date/Time: August 11, 2011 2:04:52 PM CEST IBM DSCLI Version: 7.6.10.511 DS:
IBM.2107-75AA252
Array State
Data
RAIDtype arsite Rank DA Pair DDMcap (10^9B)
====================================================================
A0
Unassigned Normal 5 (6+P+S) S1
0
450.0
A1
Unassigned Normal 5 (6+P+S) S2
0
450.0
A2
Unassigned Normal 5 (6+P+S) S3
0
450.0
A3
Unassigned Normal 5 (6+P+S) S4
0
450.0
A4
Unassigned Normal 5 (7+P)
S5
0
450.0
A5
Unassigned Normal 5 (7+P)
S6
0
450.0
A6
Unassigned Normal 5 (6+P+S) S7
2
600.0
A7
Unassigned Normal 5 (6+P+S) S8
2
600.0

A8
Unassigned
A9
Unassigned
A10
Unassigned
A11
Unassigned
A12
Unassigned
A13
Unassigned
A14
Unassigned
A15
Unassigned
#!/usr/bin/ksh

Normal
Normal
Normal
Normal
Normal
Normal
Normal
Normal

5
5
5
5
5
5
5
5

(6+P+S)
(6+P+S)
(6+P+S)
(6+P+S)
(6+P+S)
(6+P+S)
(7+P)
(7+P)

S9
S10
S11
S12
S13
S14
S15
S16

2
2
3
3
3
3
3
3

600.0
600.0
450.0
450.0
450.0
450.0
450.0
450.0

CMD=/opt/ibm/dscli/dscli
PROFILE=/opt/ibm/dscli/profile/DS8000_1.profile
for i in A0 A2 A4 A10 A12 A14
do
$CMD -cfg $PROFILE mkrank -v off -bnr off
done
for i in A1 A3 A5 A11 A13 A15
do
$CMD -cfg $PROFILE mkrank -v off -bnr off
done
for i in A6 A8
do
$CMD -cfg $PROFILE
done

mkrank

-v off -bnr off

-array $i -stgtype fb -extpool P0

-array $i -stgtype fb -extpool P1

-array $i -stgtype fb -extpool P2

for i in A7 A9
do
$CMD -cfg $PROFILE mkrank -v off -bnr off -array $i -stgtype fb -extpool P3
Done
dscli> lsextpool
Date/Time: August 11, 2011 2:40:46 PM CEST IBM DSCLI Version: 7.6.10.511 DS: IBM.2107-75AA252
Name
ID stgtype rankgrp status availstor (2^30B) %allocated available reserved numvols
===============================================================================================
extp_450_10_0 P0 fb
0 below
15058
0
15058
0
0
extp_450_10_1 P1 fb
1 below
15058
0
15058
0
0
extp_600_10_0 P2 fb
0 below
6346
0
6346
0
0
extp_600_10_1 P3 fb
1 below
6346
0
6346
0
0

sspc: username: Administrator / Passw0rd Domain: WORKGROUP


Admin password: Passw0rd Productivity Center: Passw0rd1
If Windows password is changed, you have to use the SSPC Password Tool to update all
passwords On the Desktop you can find the icon.
To start Web console, On the Desktop click on TIP Console Login: same as Windows

TPC 4.1 monitoring a DS8000


June 18th, 2009 Laurence Davenport 3 comments

I have been setting up TPC 4.1 for a customer over the past few days. The install went fine and
monitoring of DS4000, SVC was very easy. I then came to the DS8100 and found I had to fiddle
about before I could monitor it within TPC. This was mainly down to the pegasus CIM agent that
resides on the HMC (DS8000 management server). I wrote some notes of the process of getting the
CIM agent configured for use in TPC. I thought I would share them:
The following steps were taken when enabling the CIM agent for DS8000
1. Enable CIM agent on HMC
2. Check admin password on the DS Storage Manager Software on the HMC
3. Installing the DSCIMCLI on the TPC server
4. Configuring the CIM agent on the HMC
5. Adding CIM agent to TPC
6. Discovering managed devices
1. Enable CIM agent on HMC
Log call with IBM. They will enable the pegasus CIM agent on the HMC (this involves firewall
changes). For more info on the process see here http://www01.ibm.com/support/docview.wss?uid=ssg1S7001583&aid=1 (DS Open Application Programming
Interface Reference).
It is also useful to open a terminal session on the HMC and run the netstat a | grep LISTEN to see
the ports that are used by the CIM. The ports used will either be 6989 ot 5989. Check which ones
are used as you will need the information later.
2. Check admin password on the DS Storage Manager Software on the HMC
Go to http://<hmc ip address>:8451/DS8000/Login in a browser
login with admin (default password admin, it will prompt you to change it).
3. Installing the DSCIMCLI on the TPC server
Go to http://www-01.ibm.com/support/docview.wss?rs=0&uid=ssg1S4000557 and pick the download
link for the ZIP file of the DSMCIMCLI utility.
Unzip the file into a sensible location (in this example we will use d:\utils\IBMCLI\)
Add the bin folder to the path (edit the window envrionment variable PATH and add
d:\utils\IBMCLI\w2003\bin)

Add a new environment variable called DSAGENT_HOME and point it to d:\utils\IBMCLI\w2003


Open a command prompt and type:
dsmcimcli -help
this will give you all the help text for the command.
4. Configuring the CIM agent on the HMC
The config work is all done through the DSCIMCLI on the TPC server. You cant manage the CIM
locally to the HMC. First list the devices being managed by the CIM:
Dscimcli s https://<hmc ip address>:6989 u superuser:passw0rd lsdev -l
Type IP

IP2

Username

===== =============== =============== =========


This shows no devices being managed.
To add devices use the following command:
dscimcli -s https://<hmc ip address>:6989 -u superuser:passw0rd mkdev <hmc ip address> -type ds
-user admin -password <stg mgmr password>
Device successfully added.
Where:
-u superuser:passw0rd = the CIM agent username and password (not HMC or the storage manager
password)
-user admin -password <stg mgmr password> = the Storage Manager username and password (see
step 2 for details)
When you repeat the lsdev command you will see the following:
Type IP

IP2

Username

===== =============== =============== =========


DS

10.20.30.40

admin

5. Adding CIM agent to TPC


Within TPC navigate to Administrative Services -> Data Sources -> CIMOM Agents
Click Add CIMOM
Fill in the details as below:

Field

Value

Description

Host

10.20.30.40

Ip of the HMC

Port

6989

Port that the CIM is using on the HMC

Username

superuser

CIM agent username

password

Passw0rd

CIM agent password

Interoperability Namespace

/root/ibm

All IBM interop are this value. Other vendors


use different values eg /interop, /root/emc

Protocol

https

CIM agent protocol

The CIMOM will appear on the list.


6. Discovering managed devices
Once the CIMOM is added we need to discover the devices that it is managing. With the TPC GUI
navigate to Administrative Services ->Discovery. Right click on CIMOM and select Run Now.
Monitor the job and the logs, you should see the logs detail that the DS8000 being discovered.
Hope that is useful to someone

An example of IBM DS8000 command flow (2007-06-13 6:12 p.m.)


Category: storage

dscli> lsarraysite-dev IBM.2107-75L2351


Date / Time: 2007 05 22 54 32 seconds IBM DSCLI Version: 5.1.730.216 DS the: IBM.210775L2351
arsite DA Pair dkcap (10 ^ 9B) State Array
=============================================
S1 is 0 146.0 Unassigned S2, 0 146.0 Unassigned The S3 0 146.0 Unassigned S4, 0 146.0 Unassigned The S5 0 146.0 Unassigned S6, 0 146.0 Unassigned The S7 0 146.0 Unassigned The S8 0 146.0 Unassigned S9, 2 146.0 Unassigned The S10 2 146.0 Unassigned Of S11 2 146.0 Unassigned The S12 2 146.0 Unassigned S13, 2 146.0 Unassigned S14 2 146.0 Unassigned S15 2 146.0 Unassigned S16 2 146.0 Unassigned dscli> mkarray-dev IBM.2107-75L2351-raidtype 10-arsite S1
Date / Time: 2007 05 22 at 56 pm and 46 seconds IBM DSCLI Version: 5.1.730.216 DS the:
IBM.2107-75L2351
CMUC00004I mkarray: Array A0 successfully created.
dscli> mkarray-dev IBM.2107-75L2351-raidtype 10-arsite S2
Date / Time: 2007 05 22 58 16 seconds IBM DSCLI Version: 5.1.730.216 DS the: IBM.210775L2351
CMUC00004I mkarray: Array A1 successfully created.
dscli> mkarray-dev IBM.2107-75L2351-raidtype 5-arsite S3
Date / Time: 2007 05 22 at 59 minutes and 19 seconds IBM DSCLI Version: 5.1.730.216 DS
the: IBM.2107-75L2351
CMUC00004I mkarray: Array A2 successfully created.
dscli> mkarray-dev IBM.2107-75L2351-raidtype 5-arsite S4
Date / Time: 2007 05 22 at 59 minutes and 37 seconds IBM DSCLI Version: 5.1.730.216 DS
the: IBM.2107-75L2351
dscli> mkrank-dev IBM.2107-75L2351-array A3-stgtype fb-wait
Date / Time: February 22, 2007 at 06 O'clock 03 minutes 24 seconds of the IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351

CMUC00007I mkrank: Rank R0 successfully created.


dscli> mkextpool-dev IBM.2107-75L2351-rankgrp 0-stgtype fb fb_extpool1
Date / Time: February 22, 2007 at 06 O'clock 07 minutes 04 seconds IBM DSCLI Version:
5.1.730.216 DS the: IBM.2107-75L2351
CMUC00000I mkextpool: Extent pool P0 successfully created.
dscli> mkextpool-dev IBM.2107-75L2351-rankgrp 1-stgtype fb fb_extpool2
Date / Time: February 22, 2007 at 06 O'clock 07 sub-16 seconds of the IBM DSCLI Version:
5.1.730.216 the DS: IBM.2107-75L2351
CMUC00000I mkextpool: Extent pool P1 successfully created.
dscli> mkrank-dev IBM.2107-75L2351-array A2-stgtype fb-wait-extpool P0
Date / Time: February 22, 2007 06 09 05 sec IBM DSCLI Version: 5.1.730.216 the DS the:
IBM.2107-75L2351
CMUC00007I mkrank: Rank R1 successfully created.
dscli> chrank-dev IBM.2107-75L2351-extpool P0 R0
Date / Time: 06 O'clock on the afternoon of February 22, 2007 12 49 seconds IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUC00008I chrank: Rank R0 successfully modified.
dscli> lsrank-dev IBM.2107-75L2351
Date / Time: On the afternoon of February 22, 2007, 14 minutes and 20 seconds the IBM
DSCLI Version: 5.1.730.216 the DS the: IBM.2107-75L2351
ID Group State datastate Array RAIDtype extpoolID stgtype
================================================== ========
Of R0 0 Normal the Normal A3, 5 the P0 fb
Of R1 0 the Normal the Normal A2, the P0 fb
dscli> mkfbvol-dev IBM.2107-75L2351-extpool P0-cap 10-name SVC_4G_GA3_ # h 10001005
Date / Time: February 22 2007 PM 16 minutes and 03 seconds the IBM DSCLI Version:
5.1.730.216 the DS: IBM.2107-75L2351
CMUC00025I mkfbvol: FB volume 1000 successfully created.
CMUC00025I mkfbvol: FB volume 1001 successfully created.
CMUC00025I mkfbvol: FB volume 1002 successfully created.
CMUC00025I mkfbvol: FB volume 1003 successfully created.
CMUC00025I mkfbvol: FB volume 1004 successfully created.
CMUC00025I mkfbvol: FB volume 1005 successfully created.
dscli> lsextpool-dev IBM.2107-75L2351
Date / Time: February 22, 2007, the afternoon of 06 at 17 points and 07 seconds of the IBM
DSCLI Version: 5.1.730.216 the DS: IBM.2107-75L2351
Name ID stgtype rankgrp status availstor (2 ^ 30B)% allocated available reserved numvols
==================================================

===========================================
fb_extpool1 P0 fb 0 below 1438 7 1438 0 12
fb_extpool2 P1 fb 1 below 0 100 0 0 0
dscli> mkvolgrp-dev IBM.2107-75L2351-hosttype SVC-volume 1000-1005,2000-2005
SVC_4G_GA3_GRP
Date / Time: On the afternoon of February 22, 2007 06 20 minutes and 54 seconds the IBM
DSCLI Version: 5.1.730.216 the DS the: IBM.2107-75L2351
CMUC00030I mkvolgrp: Volume group V0 successfully created.
dscli> showvolgrp-dev IBM.2107-75L2351 v0
Date / Time: On the afternoon of February 22, 2007 06 21 27 seconds IBM DSCLI Version:
5.1.730.216 DS the: IBM.2107-75L2351
Name SVC_4G_GA3_GRP
ID of V0
Type the SCSI the Mask
Vols 1000 1001 1002 1003 1004 1005 2000 2001 2002 2003 2004 2005
dscli> lshostconnect-dev IBM.2107-75L2351-unknown
Date / Time: On the afternoon of February 22, 2007 06 21 45 seconds IBM DSCLI Version:
5.1.730.216 DS: IBM.2107-75L2351
WWNN WWPN ESSIOport
=============================================
20000000C941841D 10000000C941841D I0100, I0331
20000000C941841E 10000000C941841E I0100, I0331
5005076801002EB1 5005076801402EB1 I0030
5005076801002EB1 5005076801102EB1 I0030
5005076801002EB1 5005076801302EB1 I0032
5005076801002EB1 5005076801202EB1 I0032
5005076801002EEC 5005076801202EEC I0032
5005076801002EEC 5005076801102EEC I0030
5005076801002EEC 5005076801302EEC I0032
5005076801002EEC 5005076801402EEC I0030
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801402EB1-hosttype SVCvolgrp V0-ioport I0032 SVC_4G_GA3_1
4
Date / Time: February 22, 2007 at 06 O'clock 27 points 13 seconds IBM DSCLI Version:
5.1.730.216 DS the: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0000 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801102EB1-hosttype SVCvolgrp V0-ioport I0032 SVC_4G_GA3_1
A
Date / Time: February 22, 2007 at 06 O'clock 27 points 34 seconds IBM DSCLI Version:
5.1.730.216 DS the: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0001 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801202EB1-hosttype SVC-

volgrp V0-ioport I0030 SVC_4G_GA3_1


2
Date / Time: 06 O'clock on the afternoon of February 22, 2007 27 47 seconds IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0002 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801302EB1-hosttype SVCvolgrp V0-ioport I0030 SVC_4G_GA3_1
3
Date / Time: 06 O'clock on the afternoon of February 22, 2007 27 56 seconds IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0003 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801102EEC-hosttype SVCvolgrp V0-ioport I0032 SVC_4G_GA3_2
A
Date / Time: 06 O'clock on the afternoon of February 22, 2007 29 01 seconds IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0004 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801402EEC-hosttype SVCvolgrp V0-ioport I0032 SVC_4G_GA3_2
4
Date / Time: 06 O'clock on the afternoon of February 22, 2007 29 09 seconds IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0005 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801202EEC-hosttype SVCvolgrp V0-ioport I0030 SVC_4G_GA3_2
4
Date / Time: On the afternoon of February 22, 2007 at 29 points, 28 seconds of the IBM DSCLI
Version: 5.1.730.216 the DS: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0006 successfully created.
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801202EEC-hosttype SVCvolgrp V0-ioport I0030 SVC_4G_GA3_2
2
Date / Time: 06 O'clock on the afternoon of February 22, 2007 29 56 seconds IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUN02492E mkhostconnect: Unable to create the SCSI host port. Another SCSI host port
exists with the same worldwide por
t name and a conflicting the port ID.
dscli> lshostconnect-dev IBM.2107-75L2351
Date / Time: On the afternoon of February 22, 2007, 30 minutes and 12 seconds the IBM
DSCLI Version: 5.1.730.216 the DS the: IBM.2107-75L2351
Name ID WWPN HostType Profile portgrp volgrpID ESSIOport
==================================================
===========================================
SVC_4G_GA3_14 0000 5005076801402EB1 SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_11 0001 5005076801102EB1 SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_12 0002 5005076801202EB1 SVC San Volume Controller 0 V0 I0030

SVC_4G_GA3_13 0003 5005076801302EB1 SVC San Volume Controller 0 V0 I0030


SVC_4G_GA3_21 0004 5005076801102EEC SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_24 0005 5005076801402EEC SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_24 0006 5005076801202EEC SVC San Volume Controller 0 V0 I0030
dscli> mkhostconnect-dev IBM.2107-75L2351-wwname 5005076801302EEC-hosttype SVCvolgrp V0-ioport I0030 SVC_4G_GA3_2
3
Date / Time: On the afternoon of February 22, 2007, 30 minutes and 30 seconds the IBM
DSCLI Version: 5.1.730.216 the DS the: IBM.2107-75L2351
CMUC00012I mkhostconnect: Host connection 0007 successfully created.
dscli> lshostconnect-dev IBM.2107-75L2351
Date / Time: On the afternoon of February 22, 2007, 30 minutes and 33 seconds the IBM
DSCLI Version: 5.1.730.216 the DS the: IBM.2107-75L2351
Name ID WWPN HostType Profile portgrp volgrpID ESSIOport
==================================================
===========================================
SVC_4G_GA3_14 0000 5005076801402EB1 SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_11 0001 5005076801102EB1 SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_12 0002 5005076801202EB1 SVC San Volume Controller 0 V0 I0030
SVC_4G_GA3_13 0003 5005076801302EB1 SVC San Volume Controller 0 V0 I0030
SVC_4G_GA3_21 0004 5005076801102EEC SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_24 0005 5005076801402EEC SVC San Volume Controller 0 V0 I0032
SVC_4G_GA3_24 0006 5005076801202EEC SVC San Volume Controller 0 V0 I0030
SVC_4G_GA3_23 0007 5005076801302EEC SVC San Volume Controller 0 V0 I0030
dscli> chhostconnect-dev IBM.2107-75L2351-name SVC_4G_GA3_22 0006
Date / Time: February 22, 2007 at 06 O'clock 31 minutes 18 seconds of the IBM DSCLI
Version: 5.1.730.216 DS: IBM.2107-75L2351
CMUC00013I chhostconnect: Host connection 0006 successfully modified.
dscli>