214
DS6000 Series: Concepts and Architecture
Having added the userid called
csadmin
, the password has been saved in an encrypted file
called
security.dat
. By default, the file is placed in:
c:\Documents and settings\<Windows user name>\DSCLI\security.dat
or
$HOME/dscli/security.dat
You can however use the
-pwfile
parameter to place this file anywhere.
Setting up a profile
Having created a userid, you will need to edit the profile used by the DS CLI to store the
S-HMC IP address (or fully qualified name) and other common parameters. By default profile
is located at C:\Program Files\IBM\dscli\profile\dscli.profile or /opt/ibm/dscli/dscli.profile. An
example of a
secure
profile is shown in Example 10-15.
Example 10-15 Example of a dscli.profile file
#DS CLI Profile
#
# Management Console/Node IP Address(es) are specified using the hmc parameter
# hmc1 and hmc2 are equivalent to -hmc1 and -hmc2 command line options.
# hmc1 is cluster 1 of 2105 800 23953
hmc1:10.0.0.1
#hmc2:127.0.0.1
# Username must be specified if a password file is used
username: csadmin
# Password filename is the name of an encrypted password file
# This file is located at C:\Program Files\IBM\dscli
pwfile: security.dat
# Default target Storage Image ID
# If the -dev parameter is needed in a command then it will default to the value here
# "devid" is equivalent to "-dev storage_image_ID"
# the default server that DS CLI commands will be run on is 2105 800 23953
devid: IBM.2105-23953
If you don’t want to create an encrypted password file, or do not have access to a simulator or
real DS MC, then you can specify the password in plain text. This is done either at the
command line or in a script or in the profile. This is not recommended since the password
itself is now not as secure. An example of a profile that contains plain text authentication
details is shown in Example 10-16.
Example 10-16 Example of a DS CLI profile that specifies the username and password
#DS CLI Profile
# hmc1 is cluster 1 of 2105 800 23953
hmc1:10.0.0.1
#The username to log onto the ESS
username: csadmin
# The password for csadmin:
password: passw0rd
Содержание System storage DS6000 Series
Страница 2: ......
Страница 5: ...iii...
Страница 6: ...iv DS6000 Series Concepts and Architecture...
Страница 18: ...xvi DS6000 Series Concepts and Architecture...
Страница 24: ...xxii DS6000 Series Concepts and Architecture...
Страница 26: ...2 DS6000 Series Concepts and Architecture...
Страница 44: ...20 DS6000 Series Concepts and Architecture...
Страница 46: ...22 DS6000 Series Concepts and Architecture...
Страница 68: ...44 DS6000 Series Concepts and Architecture...
Страница 88: ...64 DS6000 Series Concepts and Architecture...
Страница 136: ...112 DS6000 Series Concepts and Architecture...
Страница 138: ...114 DS6000 Series Concepts and Architecture...
Страница 218: ...194 DS6000 Series Concepts and Architecture...
Страница 242: ...218 DS6000 Series Concepts and Architecture...
Страница 266: ...242 DS6000 Series Concepts and Architecture...
Страница 298: ...274 DS6000 Series Concepts and Architecture...
Страница 352: ...328 DS6000 Series Concepts and Architecture...
Страница 392: ...368 DS6000 Series Concepts and Architecture...
Страница 396: ...372 DS6000 Series Concepts and Architecture...
Страница 404: ...DS6000 Series Concepts and Architecture DS6000 Series Concepts and Architecture...
Страница 405: ......