Upgrading a remote instance of a previous version with the idsimigr command

Use the idsimigr command with the -u parameter to upgrade a remote directory server instance or proxy server instance of a previous supported version to version 11.0.1.

Before you begin

You must complete the following tasks before you upgrade an instance with the idsimigr command with the -u parameter: You can also upgrade a remote instance with backup files by using Instance Administration Tool. For more information, see Upgrading a remote instance of a previous version with Instance Administration Tool.

About this task

After you complete the upgrade process, the idsimigr command creates an instance of 11.0.1 on the computer with the information from the remote instance.

Procedure

  1. Back up the database of a directory server instance (with Versions 6.4, 8.0, 8.0.1, 10.0, 10.0.1, 10.0.2, 10.0.3, and 10.0.4) that is on a remote computer with the idsdb2ldif command.
    Important: If you are upgrading a proxy server instance, do not back up database. Proxy server does not contain a database that is associated with it.
    idsdb2ldif -I instance_name -o inst_out.ldif
    For more information about the idsdb2ldif command, see the Command Reference.
  2. Complete IBM® Verify Directory Version 11.0.1 installation on a computer to which you want to upgrade the remote instance.
  3. To back up the schema and configuration files of the remote instance, run the migbkup command of the version to which you want to upgrade:
    Operating systemCommand to run:
    Microsoft™Windows migbkup.batdrive_name\idsslapd-instance_namebackup_directory
    AIX andLinux migbkupuser_home_dir/idsslapd-instance_namebackup_directory
    Directory Suite Virtual Appliance 8.0.1 sds migration_tools migbkup This command createsmigbkup.tar inCustomOut folder.
    The migbkup command is in the tools subdirectory of the IBM Verify Directory installation media.
  4. Copy the backup directory, backup_directory, which you created with migbkup, from the remote computer to the computer with IBM Verify Directory. Extract migbkup.tar file.
  5. Copy the database backup file, inst_out.ldif, from the remote computer to the computer with IBM Verify Directory.
  6. Run the idsadduser command to create the local operating system user to own the instance.
    For example, on AIX or Linux:
    idsadduser -u instance_name -w password -l /home/instance_name -g idsldap -n
    On Windows:
    idsadduser -u instance_name -w password -n
  7. Run the idsimigr command with the -I and -u parameters to create an instance with the backup data of the remote instance.
    idsimigr -I instance_name -u backup_directory
  8. Configure a database, suffix, and administrator DN and password for the directory server instance.
    Important: If you are upgrading a proxy server instance, do not run the idscfgdb command to configure a database.
    idscfgdb -I instance_name –a db_admin_id –w db_admin_pwd –t db_name –l db_location

    Optionally, configure the suffix, administrator DN, and password if these settings are not migrated from the ibmslapd.conf file.

    idscfgsuf -I instance_name –s suffix   
    idsdnpw -I instance_name –u admin_DN –p admin_PWD   
  9. Run the idsldif2db command to import the database backup file, inst_out.ldif, to the upgraded directory server instance. For large ldif files use the idsbulkload command to import the data.
  10. After completing the data import from an ldif file, run the idsrunstats command to optimize the database.
    idsrunstats -I instance_name
  11. Start the ibmslapd process and the administration server of the instance.
    On AIX/Linux:
    ibmslapd -I instance_name -n
    ibmdiradm -I instance_name 
    On Windows - Use Windows Services Panel to start services, "IBM Verify Directory Instance V11.0.1 - <instance_name>" and "IBM Verify Directory Admin Server V11.0.1 - <instance_name>".
  12. Take backup of the instance.
    For more information, see Directory server backup.