Users Guide

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