Migration of data - Directory Server

Hi ,
Is there a way to migrate all data from a directory server to another directory server? Is there any Sun documentation which explains this ? Should the directory structure of both directory servers match?
Regards,
Vivek

having just done this, you'd be wise to use a meta directory to keep the data synchronized once you load the data.
Make sure you have either persistent searches on or a changelog enabled on both sets of servers.

Similar Messages

  • How to migrate Sun One directory server to a new physical server install

    need help
    We have to move our existing installation of sun on directory server 5.2 to a new physical server.
    We have a new physical server with a new host name. I am trying to find an easiest way to take a snapshot of our existing server and put it on a new installation
    So will installing sun one directory server , its shows me two choices either to create a new instance or copy configuration from a existing server
    What do i choose and which is the fastest route to replicate my old server
    Thanks a bunch in advance
    Sganb

    Hi,
    I'm glad you're still using the old, glorious Sun One Directory Server 5.2, because it brings me back a lot of memories... But are you seriously talking of the 'plain' version, with no patches/hot fixes on top? If that's the case, you're using of a software that has been developed in 2004 and released in Jan 2005! Just for you to be aware, in the last *8* (eight) years a considerable number (in the magnitude of 10^3) of bugs, security problems and performance issues has been identified and fixed...
    However, to provide a better answer to your question, it would be important to understand the 'big picture' in terms of scenario and requirements:
    1) Is this a critical 24x7 service for which you need to perform an on-line migration or you have a 'maintenance window' during which the service may be switched off?
    2) Is the old server member of replication environment? If yes, how many masters/slaves do you have already? Shall the new server be part of this topology? What role shall it have?
    3) Would it be possible to make the the old server able to communicate with the new server?
    4) How big is the database that you've got to migrate? Do you have any requirement in terms of caches?
    5) Do you take backups on a regularly basis and have in place working (*tested*) backup/restore procedures?
    6) Is the new server conserving or changing the O.S. and architecture? [SPARC->SPARC, x86->x86, SPARC->x86, Solaris -> ? , 32 .vs. 64-bit? ]
    7) What are the steps you did to 'install' the software on the new server?
    Thanks,
    Marco
    P.S.: I don't wanna sound 'scaring' with all these questions, neither this should be intended as an 'hidden advertising' for Oracle Professional/Consulting Services, but the only way to not put in jeopardy your data is being aware of the risks, having the control of what's going on and ... possibly have a 'B' plan ;-)
    P.S.S.: My last suggestion is to consider a migration to a later release AS SOON AS POSSIBLE; the latest is ODSEE 11.1.1.7, which is available here:
    http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html
    and seems to work pretty well ;-)

  • Migrating users from Directory Server 4.16 to 5.2

    Hi, I'm trying to migrate users from an old Directory Server 4.16 and importing them to a new 5.2. I tried using the db2ldif script and it succeded in exporting everything into a single file. After I import that data into the new server I can't see those users with Delegated Administrator even though I can see them in the Directory Server. What am I doing wrong?? I also tried exporting single leaves from the server using the db2ldif but I haven't succeded, do you know of a way of doing it??

    You shouldn't need to create a mailbox manually. iMS will do that when it has something to put in it.
    I fully agree about locating the users, iDA is a little limited for how it finds the users in the user tree. It expects to find a DC tree for domains, and a tree for users. If all isn't exactly where it looks, it won't find anything.
    Messaging Server itself may be less restrictive. . .
    Much also depends on where the users came from, and your Messaging setup. iMS is capable of "using" directory entries that are correct for Messaging 4.x, but iDA is not. If you migrated from NMS 4.xx, and didn 't update the schema, then iDA won't find the users. . .

  • Error while migrating to Sun Directory Server 6.0

    Hi All,
    I am trying to migrate the Sun One Directory Server 5.2 to Sun Directory Server 6.0. I am getting the following error
    bash-3.2# ./dsmig migrate-config /var/Sun/mps/slapd-circb2bld3/ /var/SunDirectoryServer6.0/dsInst/
    Launching Configuration Migration of server instance /var/Sun/mps/slapd-circb2bld3 .....
    Enter the certificate database password:
    Starting server instance /var/SunDirectoryServer6.0/dsInst ..... Instance /var/SunDirectoryServer6.0/dsInst is already running (ns-slapd pid is 3868)
    Enter "cn=Directory Manager" password:
    Connecting to server localhost:389 .....
    Could not bind securely on "localhost:389".
    Remote host closed connection during handshake
    Details: SSL peer shut down incorrectly
    Could not create context for configuration migration.
    Operation "migrate-config" failed.
    Please help me.

    Please stop
    The migration guide has step by step instructions, including command line examples, are you using that as your reference?
    Your upgrade should be to (at a minimum) DSEE 6.3.1.1.1. Upgrading to 6.0 is upgrading to a release level that has no patches or fixes to the product. There are significant fixes to the migration command line tools. There is a good chance you will run into issues.
    You should install and review migration to ODSEE 11.1.1.7.0 (which would effectively be the 7.2 release of the DS).
    There is a specific guide for migration and upgrade, which includes migration from DS 5.2 to 11.x
    The full documentation collection for 11.1.1.7.0 is here
    http://docs.oracle.com/cd/E29127_01/index.htm
    The specific migration guide is here
    http://docs.oracle.com/cd/E29127_01/doc.111170/e28971/toc.htm
    See: Part II Migrating from ODSEE 5.2 to ODSEE 11g Release 1 (11.1.1.7.0)
    ODSEE 11.1.1.7.0 can be downloaded from here.
    http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html

  • Migrating from Directory Server 4.16 to Directory Server 5.2

    I'm trying to migrate from Netscape Directory Server 4.16 to Sun One Directory Server 5.2, I've followed all the instructions available and it never seems to work, the thing is after I run the migrateInstance5 script found in
    $SERVERROOT/bin/slapd/admin/bin , setting the new server on the same port as the old one, and I try to start the messaging server i get these error messages:
    [13/Oct/2004:13:26:45 -0600] sunblade [2644]: General Error: func=_configdrv_pset_fetch;error=could not access server's configuration in ldap: func=psetRealCreate; error=Entry does not exist
    NO configmsg_init error
    /opt/iplanet/server5: Starting STORE daemon ...[13/Oct/2004:13:26:45 -0600] sunblade [2661]: General Error: func=_configdrv_pset_fetch;error=could not access server's configuration in ldap: func=psetRealCreate; error=Entry does not exist
    ERROR: Configuration database initialization failed - see default logfile
    [13/Oct/2004:13:26:46 -0600] sunblade [2662]: General Error: func=_configdrv_pset_fetch;error=could not access server's configuration in ldap: func=psetRealCreate; error=Entry does not exist
    ERROR: Configuration database initialization failed - see default logfile
    ..............failed.
    ERROR: Failed to find process file after 90 seconds:
    /opt/iplanet/server5/msg-sunblade/config/pidfile.store
    Unable to verify if the STORE daemon started.
    Check the log file(s) under: /opt/iplanet/server5/msg-sunblade/log/default
    ERROR: The following services failed to start, or were already:
         STORE daemon
    ERROR: Unable to verify start of STORE daemon for:
         /opt/iplanet/server5
    Do NOT attempt an immediate restart. The STORE daemon may
    have started, but has not finished initializing.
    Check the process list for the 'stored' process; if it exists
    do not attempt to restart the server until the following file exists:
    /opt/iplanet/server5/msg-sunblade/config/pidfile.store
    You may also wish to check the log file(s) under:
    /opt/iplanet/server5/msg-sunblade/log/default
    Any ideas???

    I had already followed the instructions in the doc from the link you gave me and it still doesn't work. It would be nice to know how to do it, but now that I know how to install the Messaging Server 5.2 directly into the Directory Server 5.2 it isn't so important.
    thanks
    Eduardo

  • Error while starting Sun Directory Server 6.0

    Hello,
    I recently migrated from Sun Directory Server 5.2 to Sun Directory Server 6.0. I am trying to start the server. I get the following error
    bash-3.2# ./start-slapd
    Enter PIN for Internal (Software) Token:
    Enter PIN for Internal (Software) Token:
    [29/Mar/2013:11:39:47 -0400] - ERROR<4780> - SSL - conn=-1 op=-1 msgId=-1 - Security Initialization: Unable to authenticate to slot for cipher family cn=RSA,cn=encryption,cn=config ( error -8177 - The security password entered is incorrect. )
    Server not running!! Failed to start ns-slapd process.
    Please help me here. I dont know the PIN for Internal (Software) Token. Please help.

    Hi,
    it seems you're trying to start an instance which is configured for SSL, so at startup time, it's asking the default keystore password to access the internal security certificate/device.
    You should know that password.
    Thanks,
    Marco

  • Migrating data from Sun ONE directory server into openLDAP

    Hi,
    I was to migrate the data from Sun ONE directory server into openldap. Has anybody done this or know about this. Can you please share the steps that needs to be done.
    NOTE: I have exported the data into LDIF file but when I run with ldapadd into the open ldap
    ldap_add: Invalid syntax (21)
    additional info: objectClass: value #1 invalid per syntax
    Are there specific schemas that i need. Where can I find them?
    Thanks

    Why would you want to migrate data into an OpenLDAP server ?Good Question, let me explain you my problem with Sun DS.
    No Question DS is the better product (even Red Hat realized this).
    Problem: DS is not a base Solaris 10 OS component, for patch support
    you need some additional plan, now sun marketing nightmare comes ;o)
    Every year service plans are changed (want a SJES or a DS or a DSEE ?)
    so use solaris with OpenLDAP, or linus with NSDS.
    Sun please give us a Solaris Core Component called LDAP Server (no need for trillions of entries).
    joe

  • Problem with migrating data (SQL Server 2k offline data capture)

    Hi there,
    I try to migrate a SQL Server 2000 database to Oracle 10g (R2) using offline data capture. I following the online Tutorial “Migrate from Microsoft SQL Server to Oracle Database 10g Using Oracle Migration Workbench” and everything seems OK until “Migrating the tablespaces, users and user tables to the destination database” http://www.oracle.com/technology/obe/10gr2_db_vmware/develop/omwb/omwb.htm#t5. I have two errors on 2 (out of 85 ) tables saying “ Failed to create default for Table :
    ORA-00907: missing right parenthesis”. I checked the column/table names and they seems OK. I don’t understand why I got these errors. However, when I checked the ‘SA’ Schema in Oracle Enterprise Manager Console, I can see all the tables (including the two problem ones).
    I then carry on to the next step and tried to migrate data to the destination database (http://www.oracle.com/technology/obe/10gr2_db_vmware/develop/omwb/omwb.htm#t6) I am now stuck on step 5. “…copy the files from c:\omwb\data_files to the c:\omwb\Omwb\sqlloader_scripts\SQLServer2K\<timestamp>\Oracle directory…” I cannot find the ‘c:\omwb\data_files’ directory, in fact, I don’t have a directory called ‘data_files’ on my machine. I noticed the ‘c:\omwb\Omwb\sqlloader_scripts\SQLServer2K\<timestamp>\Oracle’ directory contains the all the 85 [tableName].ctl files (plus two other files: ‘sql_load_script’ and ‘sql_load_script.sh’). From the screenshots online, ‘c:\omwb\data_files’ seems contains files with the same name as the [tableName]. Therefore, I did a search with [tableName] but cannot find any apart from the [tableName].ctl file in the ‘c:\omwb\Omwb\sqlloader_scripts\SQLServer2K\<timestamp>\Oracle’ directory. What should I do next?
    OS: windows 2003 with SP1
    Oracle: 10g Release 2
    SQL Server 2000
    Any help would be extremely appreciated.
    Helen

    Helen,
    Sorry, I am new here. Could you please tell me (or point me to the related documents about) how to output the Oracle model as a script?Action-> Generate Migration Scripts
    And what do you mean by ‘The default conversion may have failed’? Do you mean data type mapping? I went through all the columns and tables and checked the data types in the Oracle model already. The processing for the default for a table column could have something the basic workbench default parser cannot handle.
    I hope you are finding the workbench to be a productive aid to migration.
    Regards,
    Turloch
    Oracle Migration Workbench Team

  • Migrating Netscape Directory Server 4.1 to a new server

    Hi,
    In the current production environment, we are using Netscape Directory Server 4.1 as the authentication with Siebel CRM system. The server hardware is old and there is a need to refresh the server. As Netscape Directory Server is the only supported/ certified LDAP with embedded functionalities in Siebel Financial Services 6.0.2.300, we are planning to upgrade only the server hardware and migrate all the user information from old server and the new one, with Netscape Directory Server 4.1 remained.
    I have studied the Netscape Directory Server 4.1 Deployment Guide and gone through the migration procedures, looks like the procedures are only applicable for migrating Netscape Directory Server to a newer version. There are no specific procedures mentioned for migrating Netscape Directory Server to the new server hardware with the same directory server version.
    I am seeking for detailed procedures of migrating Netscape Directory Server 4.1 to a new server hardware with the same directory server. Anyone has done this migration before? I thank you in advance for your valuable feedback.
    Sincerely,
    Julie

    Luckily, I have the technical documentation in hand, which contains all the configuration of the current server. So I need to use "db2ldif" to export the data. I am currently testing on the migration by following these steps:
    1. Install the new server.
    2. Stop the Netscape Directory Server and Netscape Administration Server services in old server.
    3. Copy the slapd-<server_name> folder from old server to a temp location of new server.
    4. Take the old server offline.
    5. Configure new server to have the exact configuration as the old server.
    6. Backup the existing slapd-<server_name> folder in new server, copy the slapd-<server_name> folder from the temp location to C:\Netscape\Server4 directory of new server.
    7. Start the Netscape Directory Server and Netscape Administration Server services in new server.
    Will try out your suggested method. Thank you so much for your feedback.
    Regards,
    Julie

  • Migration Directory server from Red Hat ES to Windows2003

    Hello!
    I have to migrate from Directory Server 6.0 on Linux Red Hat ES to Directory Server 6.2 on Microsoft Windows 2003.
    Can I use dsmig utility?
    Thanks!

    I don't think that dsmig will work as it was designed for migrating from 5.2 to 6.x
    But I think you can do it mostly with DSCC.
    Install the DSEE 6.2 binaries, configure the Console and register the 6.0 instance in it.
    Then create the new DS 6.2 instance with cloning the configuration. Data will need to be exported from the 6.0 and reimported in the 6.2.
    Regards,
    Ludovic.

  • Migrating Oracle Internet Directory Data

    We are trying to migrate oracle internet directory data from one of our test environments to the production environments. Both the environments are running on windows 2000 Operating Systems.
    We are followiing the procedures mentioned in the Oracle Application Server 10g Administrator's Guide for the migration. But in one of the sections there is a command that uses unix shell script files - catalog.sh
    This doesnt work in the windows environment, and only after completing this task I can proceed with the migration. Can anyone let us know if there is any windows equivalent file for this catalog.sh. How to proceed from here..

    Arnal,
    Is this really a Portal thread?
    Anyway... Maybe you have two options here (for example):-
    1. Either use the CYGWIN.
    2. Use the LDAPSEARC & LDAPADD to bring everything from Source to Target. In the middle change/substitue the necessary strings, ie, like for example domain.
    I hope it helps...
    Cheers,
    Pedro.

  • Migration of data from Netscape-Directory 4.1 to Sun Java System DS 5.2P6

    Hi all,
    I am in the process of migrating data from Netscape-Directory/4.1 B99.166.1013 to Sun Java(TM) System Directory Server/5.2_Patch_6 B2007.221.1746
    and I am new to this environment.
    please help me to to migrate only the data as we built DS5.2P6 on a new Hardware.
    Thanks,
    Sridhar

    First, thank for the answer.
    I tried,
    but Netscape and JES PAB are quite different.
    This is an entry Netscape:
    dn: cn=170695183, ou=testcomune, o=pab
    mail: [email protected]
    givenName;lang-it: Plutarco
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: pabperson
    cn;lang-it: Plutarco Plutone
    memberofpab: 117080712
    sn;lang-it: Plutone
    cn: 170695183
    And this is an entry JES:
    dn: un=ziopinoc6173be, ou=testcomune, o=pab
    mail: [email protected]
    un: ziopinoc6173be
    givenName: zio
    objectClass: top
    objectClass: person
    objectClass: organizationalPerson
    objectClass: inetOrgPerson
    objectClass: pabperson
    sn: pino
    cn: zio pino
    As you see, in dn JES appear un instead of cn.
    Attributes are little different.
    Really, in JES Communication Express I can see also the old entry of pab. But I can't edit them by click to "Display Name": all field appear empty in the opening window.
    So, I think two operation are needed:
    1) a script that modify attributes from netscape pab to JES pab.
    2) when I add a JES account, the pab is added in a tree that is not the netscape pab. The autocreate netscape pab was:
    ou=<uid>,o=pab
    the autocreate JES pab is:
    ou= <tree_of_account_on_his_root>,ou=<uid>,o=pab
    To avoid confusion, I would like keep old tree style also for new account without change it by hand in paburi attribute.
    Is that possible?
    Thank you very much again
    Marco

  • Data Migration - SSIS Transfer SQL Server Objects Task or something else

    Can someone please kindly help me with this.
    Scenario
    I have a requirement to transfer selected tables and views (with a specific schema) between two databases which reside in two different servers. In the interest of clarity I will call my databases DB_A and DB_B respectively. Please note that these databases
    are NOT on the same server.
    Transfer of these objects (tables & views) happens once a month. 99% of the objects in question will be of the same name and schema between the two databases as the ones migrated from the previous month. However, metadata definitions may change on DB_A
    and those changes are supposed to be reflected on DB_B along with the associated data. This therefore means that each time a transfer/migration happens; objects in DB_B are dropped first and completely replaced by objects from DB_A.
    Problem
    What is the best way to achieve this?
    My first attempt has been a go on the Transfer SQL Server Objects Task
    in SSIS. The problem that I have is that when using Transfer SQL Server Objects Task
    I don’t know how to filter objects in DB_A so that only objects with a specified schema can be migrated.
    Transfer SQL Server Objects Task appears to be the best solution to me to accomplish my requirement but I can’t filter the desired objects by schema. Someone suggested using C# but my C# skills are not that eloquent.
    May someone kindly help please, or possibly suggest any other way which can be handy to fulfil my requirements.
    Many thanks,
    Mpumelelo

    Hi Prashanth
    Thanks for your response. There is one problem though in my case. I’m sorry I forgot to mention this in the original question. When the objects are moved from BD_A to DB_B the schema in DB_B changes. That is, schemas are not the same between the source and
    the destination database. How do I handle that with the solution that you have suggested?
    Many thanks,
    Mpumelelo

  • Migration Users with MD5 Passwords to Directory Server 6.1 on Solaris 10

    Hi,
    We are currently in a requirement of migrating some users to a application database to inside LDAP. Currently Application maintained the passwords in the MD5 hash form. Typical 32 digit Hex value - 41da76f0fc3ec62a6939e634bfb6a342
    Is there a way we can migrate these Users password to directory Server as-is so that they don't end up facing the prospect of resetting post migration.
    I have done some of the initial ground work but seems to be missing other critical info if at all it's possible.
    I believe it's possible to have CRYPT password policy (which directory server uses from underlying OS) as one of the plug-ins to configure in a way that underlying CRYPT utility starts to process/provide/support MD5 hashes. I got it to work, my using the below command on DSEE instance:
    dsconf set-plugin-prop -p 389 CRYPT argument:'$md5$'
    But for some reasons the MD5 hash (Sun MD5 library) provides does not match with the original hash value. It's 22 char long (as I have not specified any salt length) so I am assuming it's Base64 encoded. I have a perl script which converts the original 32-digit hex values to a base64 encoded representation (which I have also verified with other open source tools)
    Is there a way I can tweak CRYPT utility or something so that it understands typical standard MD5 hashes. (Confused between Sun MD5 and BSD (Linux) MD5 - none of them seems to match standard MD5 generated value).
    Any leads on this would be really helpful ?

    Just to reclarify or throw more information:
    a password - cleartext value - testuser1 has 32-digit HEX value as - 41da76f0fc3ec62a6939e634bfb6a342
    Same password when converted to Base64 pattern becomes - Qdp28Pw+xippOeY0v7ajQg==
    But when I use pwdhash utility in DSE after configuring CRYPT to use MD5 hashes it becomes -
    {crypt}$md5$$LiB/H70zXr3xfQPoXVuUQ1
    I used below command :
    pwdhash -D /opt/SUNWdsee/dsee6/ds6/slapd-oha-dev -s CRYPT testuser1
    Actual hash value of pwdhash is -LiB/H70zXr3xfQPoXVuUQ1 with rest of the prefix is to meet RFC standard and salt and algo name separator.
    I am wondering if Sun MD5 default uses any salt even when I haven't used or DS does it. Or if any other MD5 option is there which can be used.
    Thanks,
    Gaurav

  • Migration from iplanet webserver to Sun Directory Server

    Hi,
    I have Oracle Iplanet WebServer Enterprise edition V6.0 SP2 in my dev environment. I would want to migrate the system to Sun Java System Directory Server V6.0. I have looked up the migration guide for Sun DS V6.0. But i could not find any reference to Iplanet WebServers.
    Can anybody please let me know the migration procedure for migrating from Iplanet Server to Sun Directory server.
    Any help would be appreicated
    Thank you
    Nowfal

    Please ignore this question since we have dropped the plan to migrate, instead set a new DS instance from the beginning

Maybe you are looking for