Thursday, June 2, 2022

Moving ADAudit Plus from one server/drive to another

 

  • Stop the ADAudit Plus server (Start → Run → type services.msc → Stop "ManageEngine ADAudit Plus" ).
  • Stop the DB,
    Open a command prompt as an administrator
    Navigate to <installation dir>\ManageEngine\ADAudit Plus\bin
    Execute StopDB.bat
  • Remove the ADAudit Plus service,
    Open a command prompt as an administrator
    Navigate to <installation dir>\ManageEngine\ADAudit Plus\bin
    Execute the command : wrapper.exe -r ..\conf\wrapper.conf
    Note: The 4th step found below, is required only for build numbers 6000 and above.
  • Remove the ADAudit Plus - DataEngine service,
    Open a command prompt as an administrator
    Navigate to <installation dir>\ManageEngine\ADAudit Plus\apps\dataengine-xnode\bin
    Execute the command : dataengine-xnode.bat -r
  • Copy the entire ADAudit Plus folder to the new server or drive.
  • Ensure both folder sizes are the same.
  • Open the command prompt [with Administrative privileges] <installation-directory>\ManageEngine\ADAudit Plus\bin → Execute InstallNTService.bat.</installation-directory>
  • Open the command prompt [as an administrator]\ManageEngine\ADAudit Plus\bin → Execute initPgsql.bat.
  • If you want to start the product as service, go to Services.msc → 'ManageEngine ADAudit Plus' Service → Right click on properties → Click on 'Log on' tab and select 'This Account' → Provide the suitable credentials.

Note: If you are using MS SQL server as your database and if the MS SQL server is running in a remote computer- Download and install SQL native client, command line utilities, and ODBC Driver; in the computer on which ADAudit Plus is running.

SQL Server version Command Line Utilities (cmdlnutils) Native Client (ncli) ODBC Driver (odbc)
2008 https://www.microsoft.com/en-in/download/details.aspx?id=44272 https://www.microsoft.com/en-in/download/details.aspx?id=44272 Not needed.
2012 https://www.microsoft.com/en-in/download/details.aspx?id=36433 https://www.microsoft.com/en-us/download/details.aspx?id=50402 Not needed.
2014 https://www.microsoft.com/en-US/download/details.aspx?id=53164 Not needed. https://www.microsoft.com/en-in/download/details.aspx?id=36434
2016, 2017, and 2019 https://www.microsoft.com/en-us/download/details.aspx?id=56833 Not needed. https://www.microsoft.com/en-us/download/details.aspx?id=56833

Note: Native client, command line utilities, and ODBC driver versions have to be the same as the MS SQL version (to which the DB and/or data is to be moved).
Note: If you want to change the location of the archived files as well, kindly contact support.

No comments:

Post a Comment