Pricing  Get Quote
 
 

How to migrate the ADSelfService Plus installation from one machine to another

Description

This article will guide you through the process for migrating the ADSelfService Plus installation from one machine to another.

For steps to back up the ADSelfService Plus database and restore it in the same instance, refer to this webpage.

Important:

  1. Before you start the migration process, please update your ADSelfService Plus installation to the latest build from the Service Pack webpage.
  2. Do not uninstall ADSelfService Plus from the old machine until you have confirmed that the new installation works correctly.
Note: If you have enabled high availability or load balancing in the old machine, follow the steps mentioned in the appendix in addition to the steps given below.

Steps to migrate your ADSelfService Plus installation

Step 1: Identify the database

  • Open the ADSelfService Plus installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus).
  • Navigate to the conf folder in the ADSelfService Plus installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus\conf).
  • Open database_params.conf file in a text editor, and locate the driver name to identify the database that is being used by ADSelfService Plus.
  • The version of PostgreSQL database should be the same on both the old and new machines. If the database of the existing installation is older than the new machine's database, contact the ADSelfService Plus support team for further guidance.
  • The version of PostgreSQL can be detected by running the command pgsql\bin>postgres.exe -V from the command prompt within the pgsql folder in the location where ADSelfService Plus is installed (usually C:\Program Files\ManageEngine\ADSelfService Plus).
  • If the backend database is MySQL or MicrosoftSQL, then contact the ADSelfService Plus support team for migration guidance.

Step 2: Back up the ADSelfService Plus database from the old machine

Method 1: Offline manual backup

  • Start the Command Prompt as an administrator by right-clicking Command Prompt and selecting Run as Administrator.
  • Navigate to the bin folder in the installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus) by using the cd command.
  • Now, execute the command backupDB.bat to back up the database.
  • Execute the command backupDB.bat. This will back up the database.
  • A folder named Backup will be created at ADSelfService Plus installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus\Backup) and it will contain the database back-up in compressed file format (e.g., OfflineBackup_20230926151025.ezip).

Method 2: Backup using the ADSelfService Plus admin portal

  • Log in to the ADSelfService Plus portal with admin credentials.
  • Go to Admin > Product Settings > Auto Backup.
  • In the Auto Backup page, enter your preferred file path (By default the installation directory file path will be mentioned).
  • Click on Backup Now.
  • A folder named Backup will be created at ADSelfService Plus installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus\Backup) and it will contain the database back-up in compressed file format (e.g., 081224-1547.ezip)

    Method 2: Backup using the ADSelfService Plus admin portal

Step 3: Back up the necessary files

  • Backup the ZohoCreator file: Copy the ZohoCreator.properties file present in ADSelfService Plus conf folder under the installation directory (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\conf\ZohoCreator.properties).
  • Back up all patch files (Optional): Copy the patch folder present in ADSelfService Plus installation directory (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\patch).
  • Back up all customized language files (Optional): Navigate to the installation directory, and copy the resources folder within. (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\resources)
  • Back up the customized login page (Optional): Navigate to the adssp folder under the installation directory, and copy the html, images, resources, and styles folders (Default location is C:\Program Files\ManageEngine\ADSelfService Plus\webapps\adssp).
  • Back up all SSL certificates (Optional): If you have enabled the HTTPS option for ADSelfService Plus in the old machine, then, navigate to the conf folder in the installation directory, and copy the server.xml, web.xml, and SSL keystore. (For example: server.keystore) files (Default location is C:\Program Files\ManageEngine\ADSelfService Plus\conf).
  • Backup the MPM folder (Optional): If you have enabled the mobile app deployment feature, then, backup the MPM folder (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\MPM).

    Note: The reason we are backing up folders from the old machine is because some folders can be lost during the migration process. Lost files, like the language or login agent-related files, should be restored in the new machine. If they are not restored, any customizations made to the language file or the login agent will not work correctly in the new machine.

Step 4: Restore the ADSelfServicePlus database in the new machine

  • Install ADSelfService Plus on the new machine. Note that the version, or the build number of both old and new installations must be the same.
    Note: If you do not know the build number of your old ADSelfService Plus installation, contact our support team.
  • Stop the ADSelfService Plus, whether it is being run as an application or as a service.
  • If you have followed the steps under Step 3, then:
    • Paste the ZohoCreator.properties file under ADSelfService Plus conf folder under the ADSelfService Plus installation directory (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\conf\).
    • Paste the patch folder under the installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus).
    • Paste the resources folder under the installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus).
    • Paste the html, images, resources, and styles folders in the adssp folder. (By default: C:\Program Files\ManageEngine\ADSelfService Plus\webapps\adssp).
    • Paste the server.xml, web.xml, and the SSL keystore files in the conf folder (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\conf).
    • Paste the MPM folder under the installation directory (By default: C:\Program Files\ManageEngine\ADSelfService Plus).
  • Copy the customer-config.xml from the existing old conf folder, rename the file to new-customer-config.xml and place that in the conf folder of the new installation directory (Default location: C:\Program Files\ManageEngine\ADSelfService Plus\conf).
  • Copy and paste the compressed (ZIP) file (from Step 2) under the bin folder (By default: C:\Program Files\ManageEngine\ADSelfService Plus\bin).
  • Open the Command Prompt as an administrator (right-click Command Prompt and select Run as Administrator).
  • Navigate to the bin folder (By default: C:\Program Files\ManageEngine\ADSelfService Plus\bin).
  • Now, execute the following command:

    RestoreDB.bat <offline backup file> -p <password> true
    E.g.:restoreDB.bat 081224-1547.zip -p <password> true

    The password for the database backup file could be one of two types:

    1. Default password: This is the reverse string of the filename. For the filename mentioned above, the password would be "7451-422180".
    2. Admin-configured password: This is the custom password that was configured in the admin portal before creating the database backup. The Change Password For Database Backup Files option under Admin → Connection → General Settings is used for this.
  • If you have forgotten the password to the backup file, but have access to the ADSelfService Plus installation directory, the encrypted password can be obtained from the customer-config.xml file (by default under C:\Program Files\ManageEngine\ADSelfService Plus\conf\customer-config.xml), and you can contact support@adselfserviceplus.com to decrypt it. If not, the backup will be inaccessible and a new backup will have to be created.
  • Start ADSelfService Plus.

Appendix

1. Steps to follow for high availability setup during migration

  • If you are migrating the primary ADSelfService Plus server that is part of a high availability setup, follow the steps below:
    • Access the ADSelfService Plus web-console after shutting down the primary server. You will automatically be redirected to the standby server.
    • Disable High Availability (Navigate to Admin → Enterprise essentials → High Availability) in the standby server.
    • The primary and standby servers will restart automatically.
    • Migrate the primary ADSelfService Plus installation from the old machine to the new machine.
    • Once the migration is complete, enable High Availability on the new machine by following these steps.
  • If you are migrating a standby ADSelfService Plus server that is part of a high availability setup, you can simply install ADSelfService Plus in a new machine and add it to the high availability setup by modifying the high availability configuration through the primary ADSelfService Plus server.

2. Steps to follow for load balancing setup during migration

  • If you are migrating the primary ADSelfService Plus node of a load balancing setup, follow the steps below:
    • Login to ADSelfService Plus in the old machine that acts as the primary node, using administrator credentials.
    • Go to Admin → Enterprise essentials → Load balancing. In the load balancing configuration window, click on Remove to delete all load balancing configuration from the old machine.
      Notes: The restoration of the backup will not automatically restore the load balancing configuration. It has to be manually configured. The secondary nodes have to be configured again as well. During the migration process, ADSelfService Plus will not be accessible to the users.
    • ADSelfService Plus will now automatically restart.
    • Migrate the primary ADSelfService Plus node from the old machine to the new machine.
    • Once the migration is complete, you can configure load balancing in the new machine by following these steps.
  • To migrate secondary ADSelfService Plus nodes that are part of a load balancing setup, install ADSelfService Plus in the new machine, and add that as a secondary node by modifying the load balancing configuration through the primary node, while removing the unused node.

Request for Support

Need further assistance? Fill this form, and we'll contact you rightaway.

  • Name
  •  
  • Business Email *
  •  
  • Phone *
  •  
  • Problem Description *
  •  
  • Country
  •  
  • By clicking 'Submit' you agree to processing of personal data according to the Privacy Policy.
Highlights

Password self-service

Free Active Directory users from attending lengthy help desk calls by allowing them to self-service their password resets/ account unlock tasks. Hassle-free password change for Active Directory users with ADSelfService Plus ‘Change Password’ console. 

One identity with Single sign-on

Get seamless one-click access to 100+ cloud applications. With enterprise single sign-on, users can access all their cloud applications with their Active Directory credentials. Thanks to ADSelfService Plus! 

Password/Account Expiry Notification

Intimate Active Directory users of their impending password/account expiry by mailing them these password/account expiry notifications.

Password Synchronizer

Synchronize Windows Active Directory user password/account changes across multiple systems, automatically, including Office 365, G Suite, IBM iSeries and more. 

Password Policy Enforcer

Ensure strong user passwords that resist various hacking threats with ADSelfService Plus by enforcing Active Directory users to adhere to compliant passwords via displaying password complexity requirements.

Directory Self-UpdateCorporate Search

Portal that lets Active Directory users update their latest information and a quick search facility to scout for information about peers by using search keys, like contact number, of the personality being searched.

ADSelfService Plus trusted by

Embark on a journey towards identity security and Zero Trust