Thursday, October 31, 2013

Workaround to dump NetWorker database using nsrmmdbasm in NW 8.x

In NetWorker 8.x, due to permission issue, we cannot dump the database out using nsrmmdbasm (assume both nsrexecd and nsrd are run as local system).  To workaround the issue after discuss with support.  There are two workarounds.

1. Start the Networker Remote Exec service and the Backup and Remote Exec service using the same administrator account you are logged into the system.

2. Use the “at” windows command to run nsrmmdbasm under the SYSTEM account.

I choose option 2.  First download a copy of PSexec from Sysinternals and unzip it to a folder. 
Then open Command Prompt as Administrator. 

cd to the folder with PSexec tools. 

Run the following command in command prompt
PSEXEC -i -s -d CMD
This will open up a new command window

Run "whoami /user" to confirm the new command window is run as local system.

Then run the nsrmmdbasm to dump the mm out as a flat file. 
nsrmmdbasm -s "C:\Program Files\EMC NetWorker\nsr\mm\mmvolume6" > mmdb.dump
 
 
 
 

Saturday, October 19, 2013

packages prerequisite for installing VMtools in CentOS VM

Just image my laptop and building all the VMs again with newer version of OS.  Need to install VMtools on the new CentOS 6 VM but forget the list of packages required.  Find VM kb2002290.

To resolve this issue, run this command before installing VMware Tools:
yum install kernel-devel kernel-headers gcc mkinitrd