Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 64

Creating and Managing Smart Copies, Creating a Smart Copy the First Time, Creating a Smart Copy

Page 64 highlights

Example 2: Deleting Group Access Information for All Users To delete all credentials and group information for eqlgroup1, the --user-name option is omitted: # asmcli delete group-access --name eqlgroup1 Creating and Managing Smart Copies ASMCLI provides commands for creating and managing Smart Copies. This section provides the following information: • Creating a Smart Copy • Listing Available Smart Copies • Deleting a Smart Copy For additional Smart Copy operations, see the following information: • Logging In to and Out of Smart Copies • Mounting and Unmounting Smart Copies • Restoring a Smart Copy Creating a Smart Copy the First Time When you create a Smart Copy the first time, you can set up your environment so ASMCLI will not require that you specify an identity each time you create the Smart Copy. 1. Create an administrator identity on the PS Series group. Dell recommends that you restrict unauthorized access by setting up pool or volume administration accounts. See the Dell EqualLogic PS Series Group Manager Administrator's Guide. 2. Save one or more administrator user names and passwords in a group access file. If you do not specify the password as an option, ASMCLI will prompt you for the password (see examples in steps 3 and 4). For more information on creating and managing passwords, see Creating and Managing Group Access Files. # asmcli create group-access --name PS-group-name --ip-address ip-address --username user-name If you have not defined the PS group name, specify the IP address. For example: # asmcli create group-access --name -PSGroup2 --ip-address 192.x.x.xx --username=sample-voladmin Password for sample-voladmin on PSGroup2: 3. Create a Smart Copy of a given mount point (default type is snapshot) by specifying a user name. If you did not set up a group access file in Step 2, ASMCLI prompts for a password. asmcli create smart-copy --source mount-point --username user-name NOTE: The interactive installation script asks if you want to enter and save passwords for each PS Series group IP it discovers. If you answer Yes, these login credentials are saved in a group access file. For features provided by the installation script, see Installation Results. Creating a Smart Copy Use the asmcli create smart-copy command to create a Smart Copy of a volume. For general information about Smart Copies, see About Smart Copies. asmcli create smart-copy Command Syntax The command syntax is as follows: # asmcli create smart-copy --collection collection-name | -c --source mount-point1 [mount-point2...] | -s [--comment comment-string | -C] [--destination directory | -d] 64 Auto-Snapshot Manager Command Line Interface

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127

Example 2: Deleting Group Access Information for All Users
To delete all credentials and group information for
eqlgroup1
, the
--user-name
option is omitted:
# asmcli delete group-access --name eqlgroup1
Creating and Managing Smart Copies
ASMCLI provides commands for creating and managing Smart Copies. This section provides the following information:
Creating a Smart Copy
Listing Available Smart Copies
Deleting a Smart Copy
For additional Smart Copy operations, see the following information:
Logging In to and Out of Smart Copies
Mounting and Unmounting Smart Copies
Restoring a Smart Copy
Creating a Smart Copy the First Time
When you create a Smart Copy the first time, you can set up your environment so ASMCLI will not require that you specify an identity
each time you create the Smart Copy.
1.
Create an administrator identity on the PS Series group. Dell recommends that you restrict unauthorized access by setting up pool or
volume administration accounts. See the
Dell EqualLogic PS Series Group Manager Administrator’s Guide
.
2.
Save one or more administrator user names and passwords in a group access file. If you do not specify the password as an option,
ASMCLI will prompt you for the password (see examples in steps 3 and 4). For more information on creating and managing
passwords, see
Creating and Managing Group Access Files
.
# asmcli create group-access --name
PS-group-name
--ip-address
ip-address
--username
user-name
If you have not defined the PS group name, specify the IP address. For example:
# asmcli create group-access --name -PSGroup2 --ip-address 192.x.x.xx
--username=sample-voladmin
Password for sample-voladmin on PSGroup2:
3.
Create a Smart Copy of a given mount point (default type is snapshot) by specifying a user name. If you did not set up a group access
file in Step 2, ASMCLI prompts for a password.
asmcli create smart-copy --source
mount-point
--username
user-name
NOTE:
The interactive installation script asks if you want to enter and save passwords for each PS Series group IP it
discovers. If you answer Yes, these login credentials are saved in a group access file. For features provided by the
installation script, see
Installation Results
.
Creating a Smart Copy
Use the
asmcli create smart-copy
command to create a Smart Copy of a volume. For general information about Smart Copies,
see
About Smart Copies
.
asmcli create smart-copy Command Syntax
The command syntax is as follows:
# asmcli create smart-copy
--collection
collection-name
| -c
--source
mount-point1 [mount-point2...]
| -s
[--comment
comment-string
| -C]
[--destination
directory
| -d]
64
Auto-Snapshot Manager Command Line Interface