Migrate-ds-admin.pl, Section 7.4.10, “migrate-ds-admin.pl – Red Hat 8.1 User Manual

Page 229

Advertising
background image

Option

Alternate
Options

Description

General.ConfigDirectoryAdminPwd=password

Required. This is the password for the
configuration directory administrator of the
old Directory Server (the default username
is admin).

--oldsroot

-o

Required. This is the path to the server root
directory in the old 7.1 Directory Server
installation. The default path in 7.1 servers
is /opt/redhat-ds/.

--actualsroot

-a

This is used for migrating between two
machines to specify the real path to the
current server root directory in the old 7.1
Directory Server installation if that directory
is mounted on a networked drive or
tarballed and moved to a relative directory.
In that case, the oldsroot parameter sets
the directory from which the migration is run
(such as
m achine_new:/m igrate/opt/redhat-
ds/
), while the actualsroot parameter
sets the server root, (/opt/redhat-ds/).

--instance

-i

This parameter specifies a specific
instance to migrate. This parameter can be
used multiple time to migrate several
instances simultaneously. By default, the
migration script migrates all Directory
Server instances on the machine.

--file=name

-f name

This sets the path and name of the .inf
file provided with the migration script. The
only parameter is the
General.ConfigDirectoryAdminPwd
parameter, which is the configuration
directory administrator's password. Any
other configuration setting is ignored by the
migration script.

--cross

-c or -x

This parameter is used when the Directory
Server is being migrated from one machine
to another with a different architecture. For
cross-platform migrations, only certain data
are migrated. This migration action takes
database information exported to LDIF and
imports into the new 8.1 databases.
Changelog information is not migrated. If a
supplier or hub is migrated, then all its
replicas must be reinitialized.

--debug

-d[dddd]

This parameter turns on debugging
information. For the -d flag, increasing the
number of d's increases the debug level.

--logfile name

-l

This parameter specifies a log file to which
to write the output. If this is not set, then the
migration information is written to a
temporary file, named
/tm p/m igrateXXXXX.log.
To disable logging, set /dev/null as the
logfile.

7.4 .10. migrate-ds-admin.pl

The migrate-ds-admin.pl script is used to migrate a Directory Server 7.1 instance to Directory
Server 8.1. Migration can happen between instances on on the same machine, on different machines, or
on different platforms. This script migrates both the Directory Server instances and the Administration
Server for the 7.1 deployment.

Red Hat Directory Server 8.1 Configuration and Command Reference

229

Advertising