You are on page 1of 3

NetApp Knowledgebase - How to move Operations Manager (DataFabric Manager, DFM) database files

var monitor = true; function nextPage() { if(monitor == true) window.location.href = 'https://support.netapp.com'; else monitor = true; } function clickOnQ() { monitor=false; } Log Out NetApp Sites Library Communities Contact Us

Search Support Site

KB Home

Break Fix

FAQ

How To

Support Bulletins

Operations

Alerts

Glossary

Home

How To

How To Detail

Back

Feedback

Subscribe

Printable version

Email

Search Knowledgebase

Enter your question or KB ID


Average User Rating Please Rate this item (3 ratings) Did this article solve your issue? Yes Partially No Search

How to move Operations Manager (DataFabric Manager, DFM) database files


KB ID: 1011394 Version: 2.0 Published date: 12/06/2010 Categories: Troubleshooting, DataFabric Manager

Please let us know how we can improve this article and enter to win the Search,Share,Soar contest!

My Recent Searches

Welcome Harendra Kumar


Logout My Profile

Description
When moving the Operations Manager database files, does the log file location need to be changed?

My Subscriptions My Recommendations

Procedure
If the difference between a Windows and a Unix command is not listed below, the command is the same for both operating systems as written. To move the database and log files from one Operations Manager server to a different server: 1. On the old Operations Manager server, create a backup of the existing database and wait for the job to finish. Ensure no errors are thrown. dfm backup create 2. On the new Operations Manager server, set the dbDir and dbLogDir locations. The new locations in the example commands are subsets of the default install path: Windows dfm database set dbDir="C:\Program Files\NetApp\DataFabric\DFM\<new_db_location>" Unix dfm database set dbDir=/opt/NTAPdfm/<new_db_location> 3. On the new Operations manager server, determine the location of the databaseBackupDir dfm options list databaseBackupDir 4. Copy the backup file created in Step (2) to the new Operations manager server using standard file copy tools. The destination will be the output of Step (3) for databaseBackupDir. 5. Restore the database from the backup on the new Operations Manager server. dfm backup restore <backup_name> 6. Verify locations after backup restore match previous output. dfm option list databaseBackupDir dfm database get dbDir https://kb.netapp.com/support/index?page=content&id=1011394[9/16/2012 11:53:55 PM]

Additional Resources
Support Community Support Site Home Search, Share, Soar! Contest Follow @NetAppKB on Twitter

NetApp Knowledgebase - How to move Operations Manager (DataFabric Manager, DFM) database files dfm database get dbLogDir 7. Monitor the new Operations server. 8. Shut down the old Operations Manager server. It is NOT recommended to monitor/manage any single storage controller with more than one Operations Manager server. To move the database and log files from one location to different, non-default install location on the same Operations Manager server, use the dfm database command: 1. If you are moving the database file location on the same computer, stop all services and verify all services have stopped. dfm service stop dfm service list 2. Move the monitordb.db and monitordb.log files to the new location using standard file copy tools. 3. Set the dbDir and dbLogDir locations. The new locations in the example commands are subsets of the default install path: Windows dfm database set dbDir="C:\Program Files\NetApp\DataFabric\DFM\<new_db_location>" dfm database set dbLogDir="C:\Program Files\NetApp\DataFabric\DFM\<new_db_location>" Unix dfm database set dbDir=/opt/NTAPdfm/<new_db_location> dfm database set dbLogDir=/opt/NTAPdfm/<new_db_location> 4. Start Operations Manager services and verify all services have started. dfm service start dfm service list 5. Monitor the Operations Manager server. To move the database and log files from one location back to the default install location on the same Operations Manager server, use the dfm database command: 1. If you are moving the database file location on the same computer, stop all services and verify all services have stopped. dfm service stop dfm service list 2. Move the monitordb.db and monitordb.log files to the default install location using standard file copy tools. Windows default install location: C:\Program Files\Network Appliance\DataFabric\DFM\data" (Operations Manager pre-3.6) C:\Program Files\NetApp\DataFabric\DFM\data" on Windows (Operations Manager 3.6 and above) Unix default install location: /opt/NTAPdfm/data 3. Reset the dbDir and dbLogDir locations to defaults. dfm database set dbDir="" dfm database set dbLogDir="" 4. Start Operations Manager services and verify all services have started. dfm service start dfm service list 5. Monitor the Operations Manager server.

Connect, share and learn more with peers in the NetApp Support Community. Weekly contest: Search, share, soar! Win a NetApp t-shirt! https://kb.netapp.com/support/index?page=content&id=1011394[9/16/2012 11:53:55 PM]

NetApp Knowledgebase - How to move Operations Manager (DataFabric Manager, DFM) database files To optimize your search results, view the Knowledgebase search tips.

Rate this Page

Did this article solve your issue?

Contact Us | How To Buy | Feedback | Careers | Subscriptions | Privacy Policy | 2012 NetApp

https://kb.netapp.com/support/index?page=content&id=1011394[9/16/2012 11:53:55 PM]

You might also like