IBM DS6000 Series Server User Manual


 
Chapter 10. DS CLI 213
You can also confirm the status of the FlashCopy by using the Web Copy Services GUI, as
shown in Figure 10-8.
Figure 10-8 FlashCopy status via the ESS 800 Web Copy Services GUI
10.10.4 Using DS CLI commands via a single command or script
Having translated a saved task into a DS CLI command, you may now want to use a script to
execute this task upon request. Since all tasks must be authenticated you will need to create
a userid.
Creating a user ID for use only with ESS 800
When using the DS CLI with an ESS 800, authentication is performed by using a userid and
password created with the ESS Specialist. If you have an ESS 800, but not a DS8000 or
DS6000 offline configurator, or an S-HMC, then you will not be able to create an encrypted
password file. Instead you will need to specify the password and userid in the script file itself.
This is no different than with the current ESS CLI, except that userids created using the ESS
800 Web Copy Service Server are not used (the userid used is an ESS Specialist userid).
If you have DS CLI access to a DS offline configuration tool, S-HMC or DS Storage
Management console, then you can create an encrypted password file. This will allow you to
avoid specifying the password or userid in plain text, in any script or profile.
Procedure to create an encrypted password file
User management with the DS CLI is via the mkuser command to create userids, and the
chuser command to change passwords. These commands must be issued by a userid in the
admin group. There is also rmuser to remove a userid. An example is:
mkuser -group op_copy_services -pw tempw0rd csadmin
In this example, a userid called csadmin has been created which can be used either for CLI
authentication or to log on to the DS Storage Manager GUI. The password is
tempw0rd and
the user is a member of the
op_copy_services group. This means the user cannot configure
storage or create other users, but can manage Copy Services relationships. When the userid
is first used, the password has to be changed. In this example, the user changes the
password to
passw0rd:
chuser -pw passw0rd csasdmin
Now if a password file is needed, it will need to be created with the managepwfile command.
An example is:
managepwfile -action add -name csadmin -pw passw0rd