User roles
A user role is a set of privileges that is assigned to a user or user group to allow the user or user group to perform certain tasks and manage certain sessions.
To be assigned to a role, each user or group of users must have a valid user ID or group ID in the user registry on the management server.
Both individual users and a group of users can be assigned to a role. All users in a group are assigned the role of the group. If a user is assigned to one role as an individual and a different role as a member of a group, the user has access to the permissions of the role that has greater access.
Restricting access to sessions prevents unwarranted administrative access. This is especially useful in an open environment, where there can be many storage administrators who are responsible for their servers, applications, databases, file systems, and so on.
By default, the user that was defined during installation is granted access to Copy Services Manager and assigned to the Administrator role.
Copy Services Manager provides a set of predefined user roles: Monitor, Operator, User Administrator and Administrator.
For information on assigning and modifying user roles, see Managing security.
Monitor
Monitors can view the health and status in the Copy Services Manager GUI and CLI; however, they cannot modify or perform any commands or actions.
- All storage systems and storage system details
- All connections and connection details
- All sessions and session details
- All path information
- Management server status and details
- When should a Monitor be used:
- A user or group should be set to a Monitor when you only want to provide that user or group the ability to view the status of the sessions and various server connections. Examples might include upper management or an external team that does not directly manage the replication, but might need to know whether their data is currently protected.
Operator
- Adding or removing a session. The user ID that created the session is automatically granted access to manage that session.
- Performing actions on an assigned session, such as start, flash, terminate, and suspend.
- Modifying session properties.
- Adding copy sets to a session. The session operator can add volumes to a copy set only when the volume is not protected and not in another session.
- Removing copy sets from a session.Note: Starting with Copy Services Manager 6.2.10, operators can no longer add copy sets to a session. This new behavior prevents operators from adding volumes that are in use, or are meant for another session or operator, including in multi-tenancy environments. Because Copy Services Manager sees all the volumes on a storage system, an administrator needs to add the copy sets to ensure that volumes are used by the correct sessions and operators.
- Adding Peer To Peer Remote Copy (PPRC) paths, and removing paths with no hardware relationships.
PPRC paths are a common resource used in Copy Services Manager
sessions and also in a
DS8000® storage system relationship that is established
between two common logical subsystems (LSSs).Notes:
- The session operator cannot issue a force removal of a path.
- A path can also be auto-generated when starting a session.
- Monitoring health and status, including viewing the following information:
- All storage systems and storage system details
- All connections and connection details
- All sessions and session details
- All path information
- Management server status and details
- Packaging program error (PE) log files
When you select the Operator role, you must indicate which sessions the Operator has access to. You can either choose individual sessions from a list of sessions, or select the all sessions option. If you select all sessions, then the Operator will have the ability to manage all existing sessions, as well as automatically managing any new sessions that get created.
- When should an Operator be used:
- A user or group should be set to an Operator when you only want to provide that user or group the ability to manage one or more sessions, but not the ability to manage higher level features, such as user access or server connections. Examples might include a multi-tenancy situation where more than one group is using the same Copy Services Manager server for replication, and you do not want one group to affect the replication of another.
User Administrator
- Creating and Removing basic users
- Granting permissions to users and groups of users
- Managing LDAP or Active Directory authentication
- Packaging program error (PE) log files
- When should a User Administrator be used:
- A user or group should be set to a User Administrator when you only want to provide that user or group the ability to manage the permissions of other users on the server.
Administrator
- Granting permissions to users and groups of users
- Adding or removing a session. The user ID that created the session is automatically granted access manage that session.
- Performing actions on all sessions, such as start, flash, terminate, and suspend
- Modifying session properties
- Adding and removing copy sets from a session. The administrator can add volumes to a copy set only when the volume is not protected and not in another session.
- Protecting volumes and removing volume protection
- Adding or removing storage system connections
- Modifying connection properties
- Assigning or changing storage system locations
- Upload new certificates in the GUI
- Adding PPRC paths and removing paths with no hardware relationships. PPRC paths are a common
resource used in Copy Services Manager sessions and also in a
DS8000 storage-system relationship that is established
between two common logical subsystems (LSSs).Note: A path can also be auto-generated when starting a session.
- Managing management servers. The standby management server is a common resource that is available to multiple sessions.
- Packaging program error (PE) log files
- Monitoring health and status, including viewing the following information:
- All storage systems and storage system details
- All connections and connection details
- All sessions and session details
- All path information
- Management server status and details
- When should an Administrator be used:
- A user or group should be set to an Administrator when you want that user or group to have all permissions on the server, including granting new permissions to other users, or managing replication sessions. Examples include environments where the same user or group that is managing the replication is also managing the security for the server.
Automation
- Create or delete sessions
- Add or remove copy sets to sessions
- Issue commands to sessions
- View all sessions and modify properties
- Create log packages
- Create database backups
- Create hardware connections
- Manage active and standby servers
- Manage, create, delete, and run scheduled tasks
- Create new users
- Change authority for existing users
- Add LDAP-based users
- Export license keys
- Manage notifications like setup SNMP or email alerts
- Set up DS8000 heartbeat
- Automation user for running scheduled tasks only
- In addition to allowing the Automation user access through CLI and GUI, the Administrator can also limit the Automation user to run scheduled tasks only. To allow the Automation user to run scheduled tasks only, the Administrator must select the Only run Scheduled Tasks check box while creating a new Automation user. When the Only run Scheduled Tasks check box is selected, the Allow GUI access check box is disabled. Automation users that are created to run scheduled tasks only, can login either through REST API or CLI.
- When should an Automation be used:
- A user or group should be set to automation when the user or group is meant for running commands through external automation. This user role will bypass dual control for commands that are issued through an external automation tool. Examples include setting up automation through a Copy Services Manager CLI script which is invoked by a batch job. You can define the script to use an automation user so that a second user does not have to approve the command if dual control is enabled on the server. When setting up automation through an Ansible playbook, you can define the calls to use an automation user so that a second user does not have to approve the command if dual control is enabled on the server.