Setting up DBA user for Unified Management Server
Unified Management Server (UMS) uses the DBA user ID (also referred to as UMS DBA user ID) for requesting several backend system and subsystem services. UMS uses this ID both on behalf of a logged-in user and without any user interaction.
Role for DBA user in Unified Management Server
Unified Management Server uses the DBA user ID in the following contexts:
- On behalf of a logged-in user: The DBA user ID performs actions that require elevated privileges that the logged-in user does not have. For example, UMS uses the DBA user ID for some actions during a subsystem registration, which is initiated by a logged-in user.
- Without a logged-in user: The DBA user ID performs background tasks that the UMS initiates without user interaction. For example, UMS uses the DBA user ID for subsystem discovery.
IBM recommends using a service user ID (also referred to as a technical user) as the DBA user ID. A service user ID represents a system function and is not associated with an individual.
The DBA user ID and the UMS logged-in user ID that initiates a task or action have different purposes and different security requirements. This documentation describes the security requirements for each role separately. The same user ID can be used as both the DBA user and the started task user. In that case, the user ID must meet the security requirements for both roles.
You can define a DBA user ID as the UMS default DBA user ID. All experience products require the default DBA user ID.
You can use this default DBA user ID for all registered Db2 subsystems. You can also define a specific DBA user for an individual Db2 subsystem when registering it for Db2® Administration Foundation or Db2 DevOps Experience. For information about specifying a subsystem-specific DBA user, see Registering Db2 subsystems. IMS Administration Foundation always uses the default UMS DBA user ID for all registered IMS data sharing groups.
Whether the DBA user ID is the default one or a subsystem-specific one, it requires a specific set of privileges to perform the backend system and subsystem tasks. Some user ID characteristics and privileges that are common across Db2 and IMS, and others are specific to a particular subsystem type.
- Common requirements for a DBA user ID
- Every DBA user ID must have the following characteristics:
- A DBA user ID must have an OMVS segment.
- A DBA user ID must be assigned a UID and a GID in OMVS.
- A DBA user ID has z/OSMF user privileges for its z/OS jobs REST services and z/OS data set and file REST services.
Note: These privileges require the TSO segment that is added to the DBA user ID. For details, see 'Configure the z/OS jobs REST services' topic and 'Configure the z/OS data set and file REST services' topic in z/OS Management Facility Configuration Guide.
- Db2-specific privileges for a DBA user ID
- The default DBA user ID is used for Db2 subsystem discovery. For backend processing related to Db2 Administration Foundation or Db2 DevOps Experience features, you can use either the default DBA user ID or a subsystem-specific DBA user ID.
- IMS-specific privileges for a DBA user ID
- The default DBA user ID is used for IMS object discovery and all backend processing for IMS Administration Foundation features. The default DBA user ID must have the following privileges when IMS Administration Foundation is activated:
- IMS system administrator or IMS system programmer privileges for each IMS subsystem used for UMS. For more information, see Security setup for IMS Administration Foundation.
- ALTER access to the temporary data sets that has the high-level qualifier defined by
imsTempDatasetHLQparameter. For more information, see the description for the PARMLIB member IZPIMSPM in Installing IMS Administration Foundation.
Specifying the UMS DBA user
-
- Method 1: Specifying a DBA user by user ID and encryption token
- In this method, the UMS DBA user and its password must be encrypted by using an encryption key. A cryptographic token must be created to access the key. The user must specify the default DBA user by its user ID and the token in the UMS configuration. During the UMS installation process, the user ID and a user-provided password are encrypted by using the key and stored for the use of UMS. The default DBA user ID and its token are specified in the configuration parameter section of
components.izp.security.pkcs11. For details, see Step 2: Installing Unified Management Server.You can change this default DBA user ID for a Db2 subsystem when you register it for Db2 Administration Foundation or Db2 DevOps Experience. For details on how to specify a DBA user that is specific to a Db2 subsystem, see Registering Db2 subsystems.
-
- Method 2: Specifying a DBA user by certificate
- In this method, you need to specify a key ring of a certificate that is associated with the default UMS DBA user ID in the UMS configuration. Using a protected user ID as the default DBA user ID is recommended. For details on preparing the DBA user ID and its associated certificate and key ring, see Configuring the DBA user by using a certificate.
com.rocketsoft.izp.avoidDb2ConnectionsInSystemDiscovery=true. For details on how to specify the JVM argument, see the parameter components.izp.server.javaArgs in Step 2: Installing Unified Management Server.com.rocketsoft.izp.avoidDb2ConnectionsInSystemDiscovery=true is the default.For details on how to configure UMS and IMS Administration Foundation for Method 2, see Installing IMS Administration Foundation and its subsections.