3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

16.2
About mySnapshot
3PAR InForm OS CLI Administrator’s Manual InForm OS Version 2.2.4
16.2 About mySnapshot
mySnapshot is a copy utility that uses an access control list to associate a user with certain
administrative permissions and specified storage resources. Once these administrative
permissions are granted for the specified resources, the user can easily replace and restore
copies of their own test database with the InForm CLI
updatevv command. This enables users
who normally only have
browse capabilities on the InServ storage system to be able to update
specific snapshots with more recent snapshots, a process usually only permitted for users with
an
edit privilege level or higher. This enables faster turnaround times for developers who
need to have their snapshots refreshed and alleviates workload for storage administrators.
16.3 Setting Administrative Permissions
To enable a user to easily replace and restore copies of a test database using mySnapshot, it is
necessary to set administrative permissions for that user. Administrative permissions are set
with the InForm CLI
setuseracl command. In order to use this command, you must have at
least an
Edit privilege level. See 3.7 User Privilege Levels on page 3.10 for additional details.
The following example shows how to set administrative permissions for user
testuser1 to
allow
testuser1 to update copies of virtual volumes test.rw1 and test.rw2:
This command sets the access control list (ACL) for user
testuser1, therefore enabling this
user access to the updatevv command for the specified volumes only (in this example,
test.rw1 and test.rw2). The updatevv command is described further in the following
section, 16.4 Replacing Virtual Volume Snapshots on page 16.3.
NOTE: See 3.7 User Privilege Levels on page 3.10 for more information about
privilege levels and permissions.
cli% setuseracl testuser1 updatevv test.rw1 test.rw2
NOTE: In place of the specific virtual volume names used in the above example, it
is also possible to specify a pattern. See the InForm OS Command Line Interface
Reference for additional details.