You can choose whether to migrate the LDAP directory data directly (online) or run the utility in preview mode (write an audit of the migration to an LDIF-formatted file).
Use one of the following options to specify whether to use online or preview mode:
-o directs commdirmig to update the LDAP directory immediately. When you choose -o, commdirmig migrates the directory data.
-a AuditLDIFFile directs commdirmig to write the migration audit to the LDIF-formatted file you specify. The directory entries are not changed. Choose this option to perform a dry run of the migration.
If you want to run the utility in preview mode, do not specify the -o option.
By default, commdirmig runs in preview mode (writes the migration audit to the LDIF file). It does not migrate the directory data online.
The default AuditLDIFFile is named commdirmig.audit.ldif.n
where n is a random number appended to the file name when the LDIF file is generated. The appended number makes the file name unique, which prevents the utility from overwriting any existing LDIF file. For example:
commdirmig.audit.ldif.1126206446358
A new AuditLDIFFile is created whenever the maximum audit LDIF file size is exceeded. The file size is set by the -m LogMaxSize option.
The default paths for the AuditLDIFFile are as follows:
/var/opt/SUNWcomm/log/commdirmig.audit.ldif
/var/opt/sun/comms/commcli/log/commdirmig.audit.ldif
commdirmig -o
commdirmig -a /home/user/migration.audit.ldif