
About migrate-ds-admin.pl
73
6.2.1. About migrate-ds-admin.pl
The migration script,
migrate-ds-admin.pl
, has flexible options that allow a variety of different
migration scenarios, including migrating between different different platforms. This options are listed in
Table 6.1, “migrate-ds-admin Options”
.
There is one required option with the migration script,
oldsroot
, which gives the directory path to the
old Directory Server. There is also one required argument,
General.ConfigDirectoryAdminPwd
,
which gives the password of the directory administrator for the old Directory Server. If either of these
are not supplied, the migration script will exit.
/usr/sbin/migrate-ds-admin.pl --oldsroot /opt/redhat-ds
General.ConfigDirectoryAdminPwd=password
NOTE
On Red Hat Enterprise Linux 5 (32-bit) machines, the
migrate-ds-admin
tool is in the
/usr/sbin
directory. On HP-UX machines, the
migrate-ds-admin
is in the
/opt/
dirsrv/sbin/
directory.
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
machine_new:/migrate/
opt/redhat-ds/
), while
the
actualsroot
parameter
sets the server root, (
/opt/
redhat-ds/
).