VNX - Backing up Usermapper DBMS backup and compact tUserMapper and Secmap DBMS to save space for the nasdb backup. (Dell EMC Correctable)
Summary: How to backup usermapper DBMS and compact Usermapper and Secmap DBMS to save space for the nasdb backups
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
New users were added to Active Directory to access the Datamover.
As time goes by and more and more users are added and removed from Active Directory,
New Users access the Datamover using Microsoft Windows SID which need to be mapped to UID and GID
The usermapper database will automatic create a new UID and GID from the Windows SID
The usermapper database can get very large.
The self healing feature of the Database may not be enough for the nasdb backup to complete and require some extra manual help to compact the nasdb for it to complete.
As time goes by and more and more users are added and removed from Active Directory,
New Users access the Datamover using Microsoft Windows SID which need to be mapped to UID and GID
The usermapper database will automatic create a new UID and GID from the Windows SID
The usermapper database can get very large.
The self healing feature of the Database may not be enough for the nasdb backup to complete and require some extra manual help to compact the nasdb for it to complete.
Cause
New users were added to Active Directory to access the Datamover and therefore the usermapper become very large and could not be backup with out manual help to compact the usemapper database.
Resolution
Here are the steps
Read and understand the steps
if your are not sure, don't run these steps and ask for help from a senior TSE
1. login as nasadmin
2. How many Datamovers are they all in contact state?
/nas/sbin/getreason
3. How many Active Datamovers and VDMs
nas_server -list -all
4. What is current nasdb backup stats
date ; nas_logviewer /nas/log/sys_log | grep backup | tail -20
5. what is the state of usermapper on the Datamovers
server_usermapper ALL
6. Just in case this is part of NAS IP Replication, is this the source or the destination
If its the source hopefully, usermapper is configure as secondary
nas_cel -list
nas_replicate -list
7. List size of the directory and files by Date time order
df -k /celerra/backup/ /nas/var/backup/
ls -altr /celerra/backup/ /nas/var/backup/
8. What is the size of dbms items
server_dbms ALL -db -list |awk -F: '/^Size/ { a+=$2} END { print a}'
/nas/sbin/dbms_backup -totalsize
9. Check what time the nasdb runs
grep backup /nas/site/cron.d/nas_sys
10. Run the nasdb backup manualy to see the error message
/nas/sbin/nasdb_backup /nas /celerra/backup 1
11. Run the following cmds - If there are any failures, stop and consult with a senior TSE
server_usermapper server_2 -Export -user /home/nasadmin/usermapper_backup_2016_10_10_user
server_usermapper server_2 -Export -group /home/nasadmin/usermapper_backup_2016_10_10_group
server_dbms server_2 -db -compact Usermapper
/nas/sbin/dbms_backup -totalsize
server_dbms server_2 -db -compact Secmap
/nas/sbin/dbms_backup -totalsize
12. Re-run the NASDB backup - did it work?
/nas/sbin/nasdb_backup /nas /celerra/backup 1
13. What is current nasdb backup stats
date ; nas_logviewer /nas/log/sys_log | grep backup | tail -20
14. List size of the directory and files by Date time order after the compact
df -k /celerra/backup/ /nas/var/backup/
ls -altr /celerra/backup/ /nas/var/backup/
Affected Products
VNX1 SeriesProducts
Celerra, VNX1 Series, VNX2 SeriesArticle Properties
Article Number: 000056560
Article Type: Solution
Last Modified: 11 Oct 2024
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.