SSF01G04
SSF01G04
SSF01G04
Customer Browser
workstation
GUI server
DSCLI
Network
Network interface
interface client
client
Network
interface
server
Storage
network interface
– If you are using the Cisco MDS 9216 Multilayer Fabric Switch
• You must not enable its write acceleration feature
– The Remote Mirror and Copy commands might fail if this feature is enabled
– You must not start more than 100 DS CLI sessions simultaneously
• Starting more than 100 DS CLI sessions simultaneously can result in connection
problems
• Default directories:
• Windows: C:\Program Files\IBM\dscli
• AIX, HP, Linux, Sun Solaris,VMware: /opt/ibm/dscli
• iSeries: /ibm/dscli
2
© Copyright IBM Corporation 2011
DS8700 bundle level information
The URL for this information is different than that of the DS8100 or 8300.
http://www-01.ibm.com/support/docview.wss?uid=ssg1S4000853
• All of the functions available from the GUI are also available
through the DSCLI
– Flags
• Modify the command
• They provide additional information that directs the CLI to perform the command task
in a specific way
– Flags parameter
• Provides information that is required to implement the command modification
– That is specified by a flag
– Command parameters
• Provide basic information that is necessary to perform the command task
• When a command parameter is required, it is always the last component of the
command
– It is not preceded by a flag
dscli>
dscli> mkuser
mkuser –pw
–pw SS49demo
SS49demo –group
–group admin
admin DSCLIdemo
DSCLIdemo
• Report tasks
– Global report
• ls<keyword>
– Example: lsuser, lsarray
– Specific report
• show<keyword>
– Example: showuser <user_name>, showarray <array_ID>
• Interactive mode:
– Use this mode to process multiple transactions
• When these transactions cannot be incorporated into a script
dscli>
dscli> lsuser
lsuser
C:\...\dscli> dscli
C:\...\dscli> dscli –hmc
–hmc 10.6.253.120
10.6.253.120 –user
–user Team7
Team7 –passwd
–passwd pwdTeam7
pwdTeam7 -script
-script SSF0demo.script
SSF0demo.script
C:\Program
C:\Program Files\ibm\dscli>
Files\ibm\dscli> dscli
dscli
Enter
Enter the
the primary
primary management
management console
console IP
IP address:
address: 10.6.253.127
10.6.253.127
Enter
Enter the secondary management console IP address:
the secondary management console IP address:
Enter
Enter your
your username:
username: Team7
Team7
Enter
Enter your
your password:
password:
Date/Time:
Date/Time: April
April 29,
29, 2011
2011 4:38:05
4:38:05 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
dscli>
dscli>
## DS
DS CLI
CLI Profile
Profile
##
## Management
Management Console/Node
Console/Node IP
IP Address(es)
Address(es)
## hmc1
hmc1 and
and hmc2
hmc2 are
are equivalent
equivalent to
to –hmc1
–hmc1 and
and –hmc2
–hmc2 command
command option
option
hmc1:
hmc1: 10.6.253.127
10.6.253.127
#hmc2:
#hmc2: 127.0.0.1
127.0.0.1
##
#Default
#Default target
target Storage
Storage Image
Image ID
ID
## “devid”
“devid” and
and “remotedevid”
“remotedevid” are
are equivalent
equivalent to
to
## -dev
-dev storage_image_id
storage_image_id and
and –remotedev
–remotedev storage_image_id
storage_image_id command
command options
options
devid:
devid: IBM.2107-75BV321
IBM.2107-75BV321
#remotedevid: IBM.2107-AZ12341
#remotedevid: IBM.2107-AZ12341
##
username:
username: team12
team12 Optional
password:
password: educ4storage
educ4storage
##
© Copyright IBM Corporation 2011
Topic 6: DS8000 configuration
• Password rules
– The password must meet the following criteria.
• Be 6 - 16 characters long
• Must contain 5 or more letters, and it must begin and end with a letter
• Must contain 1 or more numbers
• Cannot contain the user’s user ID
• Is case-sensitive
dscli>
dscli> chpass
chpass [-expire
[-expire <number>]
<number>] [-fail
[-fail <number>]
<number>] [-pol
[-pol <pol_name>]
<pol_name>]
• Command syntax
dscli>
dscli> applykey
applykey [-keypw
[-keypw <key>[<....>]
<key>[<....>] ]] [-file
[-file <file_name>]
<file_name>] <storage_image_ID>
<storage_image_ID>
dscli>
dscli> rmarray
rmarray [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-quiet]
[-quiet] <array_ID>[,<array_ID>]
<array_ID>[,<array_ID>]
• Creating an array
dscli>
dscli> mkarray
mkarray –raidtype
–raidtype 55 –arsite
–arsite S3
S3
Date/Time:
Date/Time: April
April 12,
12, 2011
2011 5:51:08
5:51:08 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00004I
CMUC00004I mkarray:
mkarray: Array
Array A2
A2 successfully
successfully created.
created.
dscli>
dscli>
dscli>
dscli> mkarray
mkarray –raidtype
–raidtype 10
10 –arsite
–arsite S4
S4
Date/Time:
Date/Time: April
April 12,
12, 2011
2011 5:54:02
5:54:02 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00004I
CMUC00004I mkarray:
mkarray: Array
Array A3
A3 successfully
successfully created.
created.
dscli>
dscli>
• Deleting an array
dscli>
dscli> rmarray
rmarray A3
A3
Date/Time:
Date/Time: April
April 12,
12, 2011
2011 5:55:43
5:55:43 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00005W
CMUC00005W rmarray:
rmarray: Are
Are you
you sure
sure you
you want
want to
to delete
delete array
array a3?
a3? [y/n]:y
[y/n]:y
CMUC00006I
CMUC00006I rmarray:
rmarray: Array
Array A3
A3 successfully
successfully deleted.
deleted.
dscli>
dscli>
dscli>
dscli> rmrank
rmrank [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-quiet]
[-quiet] <rank_ID>
<rank_ID> [<rank_ID>]
[<rank_ID>]
• Creating a rank
dscli>
dscli> mkrank
mkrank –array
–array A2
A2 –stgtype
–stgtype fb
fb –extpool
–extpool P2
P2
Date/Time:
Date/Time: April
April 12,
12, 2011
2011 6:12:50
6:12:50 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00007I mkrank: Rank R2 successfully created.
CMUC00007I mkrank: Rank R2 successfully created.
dscli>
dscli>
dscli>
dscli> mkrank
mkrank -array
-array A3
A3 -stgtype
-stgtype fb
fb -extpool
-extpool P3
P3
Date/Time:
Date/Time: April
April 12,
12, 2011
2011 6:13:58
6:13:58 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00007I
CMUC00007I mkrank:
mkrank: Rank
Rank R3
R3 successfully
successfully created.
created.
dscli>
dscli>
• Deleting a rank
dscli>
dscli> rmrank
rmrank R2
R2
Date/Time:
Date/Time: April
April 12,
12, 2011
2011 6:15:35
6:15:35 PM
PM CEST
CEST IBM
IBM DSCLI
DSCLI Version:
Version: 6.5.15.72
6.5.15.72 DS:
DS: IBM.2107-75Y9111
IBM.2107-75Y9111
CMUC00009W rmrank: Are you sure you want to delete rank R2? [y/n]:y
CMUC00009W rmrank: Are you sure you want to delete rank R2? [y/n]:y
CMUC00010I
CMUC00010I rmrank:
rmrank: Rank
Rank R2
R2 successfully
successfully deleted.
deleted. NOTE:
NOTE: The
The rank
rank might
might still
still be
be visible
visible to
to
queries
queries until
until reformatting
reformatting completes.
completes.
dscli>
dscli>
dscli>
dscli> rmfbvol
rmfbvol [-dev
[-dev <storage_image_ID>]
<storage_image_ID>] [-quiet]
[-quiet] [-safe]
[-safe] <volume_ID>
<volume_ID> [<volume_ID>]
[<volume_ID>]
3. True or False: The DS8000 CLI can create configuration xml files
which can be downloaded to the DS8000 subsystem and used to
configure the DS8000.
3. True or False: The DS8000 CLI can create configuration xml files which can be
downloaded to the DS8000 subsystem and used to configure the DS8000.
The answer is false. The DSCLI is an installable package for the DS8000. It manages the
hardware real-time and has no offline capability. It does not allow XML files to be imported or
exported.
4. True or False: The DS8000 CLI supports Copy Services commands to allow users
to automate their FlashCopy or Metro Mirror copies.
The answer is true. The DSCLI is the primary Copy Services interface for the DS6000 or
DS8000.
5. True or False: The DS8000 CLI can be used to configure a DS8000 or a DS6000.
The answer is true. The DSCLI can be used to configure either a DS6000 or DS8000.