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

Example: Specifying an Object ID with Logout, Creating and Managing Collections, Creating a Collection

Page 93 highlights

Parameter --output Abbr. --retry-count -w --retry-wait -r --user-name -u Argument always | error n n user-name Description Specifies when to display output to the console. Use error to display output only when an operation fails. Use always (default) to display all output from the operation. Specifies the number of times to retry a failed operation. For example, if you are creating a Smart Copy snapshot of two separate volumes and one is offline, the operation will attempt to connect every n seconds. Specifies the number of seconds to wait before retrying a failed operation. Specifies a particular user identity when multiple user names have been stored in the group access file. Example: Specifying an Object ID with Logout The following listing shows that a snapshot Smart Copy created by schedule user-hourly is currently logged in: # asmcli list smart-copy -vv Smart Copies Source: myhost.mycompany.com : /source/VolB Snapshot: 05-Jan-2017 17:05:57.846661 Status: Logged-in Description: Hourly snapshot of user space Schedule: user-hourly ObjectId: 8-b8b03d-7444e1f3e-626856b008bde08e Directory: /var/lib/equallogic/asm/smart-copies/asm-le-dk-test2.com /source-1-21a09d-9ce520990-c75a20bb9b1eb86f/ File: 20170105-220557.846661-8-b8b03d-7444e1f3e-626856b008bde08e.bcd volb --> volb-2017-01-05-17:03:01.225.1 on glengrp The logout command is entered with an object ID: # asmcli logout smart-copy --schedule user-hourly --source /source/VolB --object 8-b8b03d-7444e1f3e-626856b008bde08e Removing sessions to 1 Smart Copy target. Logged out volb-2017-01-05-17:03:01.225.1 on glengrp Successfully logged out from 1 target. Creating and Managing Collections Collections are related sets of mount points from which you create Smart Copies. ASMCLI provides several commands for creating and managing collections: • Creating a Collection • Listing Collections • Updating a Collection • Deleting a Collection Creating a Collection Use the asmcli create collection command to create a collection by providing a name and list of one or more mount points. For information about collections, see About Collections. Auto-Snapshot Manager Command Line Interface 93

  • 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

Parameter
Abbr.
Argument
Description
--output
always | error
Specifies when to display output to the console. Use
error
to display
output only when an operation fails. Use
always
(default) to display
all output from the operation.
--retry-count
-w
n
Specifies the number of times to retry a failed operation. For example,
if you are creating a Smart Copy snapshot of two separate volumes
and one is offline, the operation will attempt to connect every
n
seconds.
--retry-wait
-r
n
Specifies the number of seconds to wait before retrying a failed
operation.
--user-name
-u
user-name
Specifies a particular user identity when multiple user names have
been stored in the group access file.
Example: Specifying an Object ID with Logout
The following listing shows that a snapshot Smart Copy created by schedule
user-hourly
is currently logged in:
# asmcli list smart-copy -vv
========================================================
Smart Copies
========================================================
Source: myhost.mycompany.com : /source/VolB
Snapshot: 05-Jan-2017 17:05:57.846661
Status: Logged-in
Description: Hourly snapshot of user space
Schedule: user-hourly
ObjectId: 8-b8b03d-7444e1f3e-626856b008bde08e
Directory: /var/lib/equallogic/asm/smart-copies/asm-le-dk-test2.com
/source-1-21a09d-9ce520990-c75a20bb9b1eb86f/
File: 20170105-220557.846661-8-b8b03d-7444e1f3e-626856b008bde08e.bcd
volb --> volb-2017-01-05-17:03:01.225.1 on glengrp
The
logout
command is entered with an object ID:
# asmcli logout smart-copy --schedule user-hourly --source /source/VolB
--object 8-b8b03d-7444e1f3e-626856b008bde08e
Removing sessions to 1 Smart Copy target.
Logged out volb-2017-01-05-17:03:01.225.1 on glengrp
Successfully logged out from 1 target.
Creating and Managing Collections
Collections are related sets of mount points from which you create Smart Copies. ASMCLI provides several commands for creating and
managing collections:
Creating a Collection
Listing Collections
Updating a Collection
Deleting a Collection
Creating a Collection
Use the
asmcli create collection
command to create a collection by providing a name and list of one or more mount points. For
information about collections, see
About Collections
.
Auto-Snapshot Manager Command Line Interface
93