Data Domain: How to change the DDBoost user role to Admin[1]

           

   Article Number:     530097                                   Article Version: 3     Article Type:    Break Fix 
   

 


Product:

 

Data Domain

 

Issue:

 

 

Changing the role of the DDboost user gives below error:   
   
    Data Domain :  **** The DD System user role cannot be changed because this DDboost user owns one or more storage-units.
                                                           

 

 

Cause:

 

 

The ddboost user does not have the correct role to mount an NFS datastore on to the Data Domain, causing the instant access Restore fails.                                                            

 

 

Change:

 

 

We would first need to unassign the "DDBoost" user from the SU and then only we can make the role changes to the "DDBoost" user.                                                           

 

 

Resolution:

 

 

Perform the below steps:   
   
    1. Check the current SU configuration and the user assigned to the SU.   
   
    # ddboost storage-unit show   
    Name Pre-Comp (GiB) Status User Report Physical   
    Size (MiB)   
    ------------- -------------- ------ ------- ---------------   
    Avamar01 8550.7 RW DDBoost -   
    ------------- -------------- ------ ------- ---------------   
    D : Deleted   
    Q : Quota Defined   
    RO : Read Only   
    RW : Read Write   
    RD : Replication Destination   
   
    2. Assign the sysadmin user to the storage-unit.   
   
    #ddboost storage-unit modify Avamar01 user sysadmin   
   
    3. Check the SU config now, the user assigned to the SU should be changed to sysadmin from DDBoost.   
   
    #ddboost storage-unit show   
    Name Pre-Comp (GiB) Status User Report Physical   
    Size (MiB)   
    ------------- -------------- ------ ---- ---------------   
    Avamar01 8550.7 RW sysadmin -   
    ------------- -------------- ------ ---- ---------------   
    D : Deleted   
    Q : Quota Defined   
    RO : Read Only   
    RW : Read Write   
    RD : Replication Destination   
   
    4. Unassign the ownership of the ddboost user   
   
    #ddboost user unassign DDBoost   
   
    5. Change the role of ddboost user to admin.   
   
    # user change role DDBoost admin   
    Role changed for user "DDBoost".   
   
    6. As the ddboost have the admin role now, assign the ddboost ownership to the "DDBoost" user.   
   
    # ddboost user assign DDBoost   
    User "DDBoost" assigned to DD Boost.   
   
    7. Assign the "DDBoost" user to the storage-unit.   
   
    # ddboost storage-unit modify Avamar01 user DDBoost   
    Storage-unit "Avamar01" modified for user "DDBoost".   
   
    # ddboost storage-unit show       
        Name Pre-Comp (GiB) Status User Report Physical       
        Size (MiB)       
        ------------- -------------- ------ ------- ---------------
   
    Avamar01 8550.7 RW DDBoost -   
    ------------- -------------- ------ ------- ---------------   
    D : Deleted   
    Q : Quota Defined   
    RO : Read Only   
    RW : Read Write   
    RD : Replication Destination   
   
    8. Checked the role assigned to the "DDBoost" use now, it should be assigned as admin role.   
   
    # user show list   
    User list from node "localhost".   
    Name        Uid   Role       Last Login From   Last Login Time            Status    Disable Date   
    ---------   ---   --------   ---------------   ------------------------   -------   ------------   
    sysadmin    100   admin      10.159.xxx.xxx    Wed Jan 30 04:28:45 2019   enabled   never   
    DDBoost     500   admin      10.159.xxx.xxx    Sat Nov 10 21:31:17 2018   enabled   never   
    ---------   ---   --------   ---------------   ------------------------   -------   ------------   
   
    **The above procedure will assign the admin role to the DDBoost user.