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

Example 6: Creating a Smart Copy When a Password Is Required, Smart Copies found.

Page 68 highlights

Smart Copies Source: myhost.mycompany.com : /mnt/asm-acl Replica: 02-Feb-2017 14:58:37.692088 ObjectId: b-6d91c1-b5427dfda-ccfc656a321b56aa asm-acl on windev33-grp --> asm-acl.1-2017-02-02-01:50:58.533.1 on HitStore4 1 Smart Copy found. # asmcli create smart-copy --object b-6d91c1-b5427dfda-ccfc656a321b56aa --type clone Created clone asm-acl-clone-2017:02:02-14:59:38.424 on HitStore4 # asmcli list smart-copy --type clone Smart Copies Source: myhost.mycompany.com : /mnt/asm-acl Clone: 02-Feb-2017 14:59:38.424281 ObjectId: 0-498326-5e4f5afec-e9b4a8185760f3b8 asm-acl on windev33-grp --> asm-acl-clone-2017:02:02-14:59:38.424 on HitStore4 1 Smart Copy found. Example 6: Creating a Smart Copy When a Password Is Required In the first part of this example, the group access file for Group2 does not contain a password and ASMCLI prompts for one when you create a Smart Copy. If the group access file contained multiple identities, you could specify one with the --user-name option. # asmcli create smart-copy --source /test10 /test11 /test12 Password for user user-voladmin on 1.2.3.120: ****** All mount points (3) have been frozen. Created snapshot User-test-12-2017-02-20-11:03:17.25257 on Group2 Created snapshot User-test-10-2017-02-20-11:03:17.25258 on Group2 Created snapshot User-test-11-2017-02-20-11:03:17.25259 on Group2 All mount points (3) have been thawed. Successfully created a Smart Copy from 3 targets. The next part of this example shows the list smart-copy command, which does not require group access and ASMCLI does not prompt you for a password. # asmcli list smart-copy Smart Copies Source: User-voladmin.mycompany.com : /test10 /test11 /test12 Snapshot: 16-Feb-2017 13:05:05.279150 ObjectId: 2-4acff9-7641b679e-063072c486b4578b User-test-10 --> User-test-10-2017-02-16-13:03:39.25255 on Group2 User-test-11 --> User-test-11-2017-02-16-13:03:39.25256 on Group2 User-test-12 --> User-test-12-2017-02-16-13:03:39.25254 on Group2 Snapshot: 20-Feb-2017 11:04:46.292034 ObjectId: c-f5e7be-8b47cb3db-9c6d744d93d25f84 User-test-10 --> User-test-10-2017-02-20-11:03:17.25258 on Group2 User-test-11 --> User-test-11-2017-02-20-11:03:17.25259 on Group2 User-test-12 --> User-test-12-2017-02-20-11:03:17.25257 on Group2 2 Smart Copies found. 68 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

Smart Copies
========================================================
Source: myhost.mycompany.com : /mnt/asm-acl
Replica: 02-Feb-2017 14:58:37.692088
ObjectId: b-6d91c1-b5427dfda-ccfc656a321b56aa
asm-acl on windev33-grp --> asm-acl.1-2017-02-02-01:50:58.533.1 on HitStore4
1 Smart Copy found.
# asmcli create smart-copy --object b-6d91c1-b5427dfda-ccfc656a321b56aa
--type clone
Created clone asm-acl-clone-2017:02:02-14:59:38.424 on HitStore4
# asmcli list smart-copy --type clone
========================================================
Smart Copies
========================================================
Source: myhost.mycompany.com : /mnt/asm-acl
Clone: 02-Feb-2017 14:59:38.424281
ObjectId: 0-498326-5e4f5afec-e9b4a8185760f3b8
asm-acl on windev33-grp --> asm-acl-clone-2017:02:02-14:59:38.424
on HitStore4
1 Smart Copy found.
Example 6: Creating a Smart Copy When a Password Is Required
In the first part of this example, the group access file for Group2 does not contain a password and ASMCLI prompts for one when you
create a Smart Copy. If the group access file contained multiple identities, you could specify one with the
--user-name
option.
# asmcli create smart-copy --source /test10 /test11 /test12
Password for user user-voladmin on 1.2.3.120: ******
All mount points (3) have been frozen.
Created snapshot User-test-12-2017-02-20-11:03:17.25257 on Group2
Created snapshot User-test-10-2017-02-20-11:03:17.25258 on Group2
Created snapshot User-test-11-2017-02-20-11:03:17.25259 on Group2
All mount points (3) have been thawed.
Successfully created a Smart Copy from 3 targets.
The next part of this example shows the
list smart-copy
command, which does not require group access and ASMCLI does not
prompt you for a password.
# asmcli list smart-copy
========================================================
Smart Copies
========================================================
Source: User-voladmin.mycompany.com : /test10 /test11 /test12
Snapshot: 16-Feb-2017 13:05:05.279150
ObjectId: 2-4acff9-7641b679e-063072c486b4578b
User-test-10 --> User-test-10-2017-02-16-13:03:39.25255 on Group2
User-test-11 --> User-test-11-2017-02-16-13:03:39.25256 on Group2
User-test-12 --> User-test-12-2017-02-16-13:03:39.25254 on Group2
Snapshot: 20-Feb-2017 11:04:46.292034
ObjectId: c-f5e7be-8b47cb3db-9c6d744d93d25f84
User-test-10 --> User-test-10-2017-02-20-11:03:17.25258 on Group2
User-test-11 --> User-test-11-2017-02-20-11:03:17.25259 on Group2
User-test-12 --> User-test-12-2017-02-20-11:03:17.25257 on Group2
2 Smart Copies found.
68
Auto-Snapshot Manager Command Line Interface