This section describes how to migrate FTP from Netware or OES to OES 11 SP1.
Make sure your setup addresses the following requirements before you migrate FTP to the destination platform.
Pure-FTPd
NetWare 6.5 SP8
OES 11 SP1
The following three scenarios are supported for FTP migration:
Consolidation on the Same Tree
Consolidation on a Different Tree
Transfer ID on the Same Tree
For details on these three scenarios, see Section 1.3, Migration Scenarios.
For all three scenarios, eDirectory should be running so eDirectory users can log in.
When the migration is complete, the FTP parameters on NetWare are mapped to the corresponding parameters in Pure-FTPd on Linux. For details on mapped parameters, see Table 25-1.
Migration of FTP configuration can be done from the Migration Tool or through the command line interface.
NOTE:Before you start the Pure-FTPd server, ensure that eDirectory is up and running on the target server. This is to ensure that all the eDirectory users can be used for Pure-FTPd access. For the Server ID Swap, all eDirectory objects are migrated as part of the DIB migration step. For complete details on eDirectory migration, read Section 17.0, Migrating eDirectory to OES 11 SP1.
Launch the Migration Tool in one of the following ways:
Desktop: Click
Terminal: Log in as the root user and at a terminal prompt, enter miggui
Configure the source and target parameters.
For details on configuring source and target server information, selecting a migration type, and the Open, Save Project, and all other tool buttons, see Section 2.0, Overview of the Migration GUI.
Select from and click . The status now changes from to .
When the status is , click to start the migration process.
The status changes from to on success.
NOTE:Use the > tab to check for errors during migration. Fix the errors and restart the migration procedure if necessary.
Run the FTP migration utility from the command line with the required parameters:
migftp -s <source_server>
For example:
migftp -s 192.168.1.54
If the migration is successful, a message indicating success is displayed.
Start the eDirectory server to allow eDirectory users to log in.
Start the FTP server by using the rcpure-ftpd start command.
All the FTP services users must be LUM enabled.
Map these parameters during FTP migration from NetWare to Linux:
Table 25-1 NetWare Linux FTP FTPd Mapping Parameters
|
NetWare FTP Parameters |
Linux Pure FTPd Parameters |
|---|---|
|
SECURE_CONNECTIONS_ONLY |
TLS |
|
PASSIVE_PORT_MIN |
PassivePortRange |
|
PASSIVE_PORT_MAX |
PassivePortRange |
|
MAX_FTP_SESSIONS |
MaxClientsNumber |
|
HOST_IP_ADDR |
Bind |
|
FTP_PORT |
Bind |
|
FORCE_PASSIVE_ADDR |
ForcePassiveIP |
|
ANONYMOUS_ACCESS |
AnonymousOnly |
|
IDLE_SESSION_TIMEOUT |
MaxIdleTime |
|
DEFAULT_USER_HOME_SERVER |
DefaultHomeDirectoryServer |
|
DEFAULT_USER_HOME |
DefaultHomeDirectory |
|
IGNORE_REMOTE_HOME |
EnableRemoteHomeDirectory |
If SECURE_CONNECTIONS_ONLY is set in NetWare and an FTP migration certificate does not exist on Linux, a default FTP certificate (/etc/ssl/private/pure-ftpd.pem) is created, using either an eDirectory certificate (/etc/ssl/servercerts/eDircert.pem) of the target server or the server certificate (/etc/ssl/servercerts/servercert.pem). If neither of them exists, the migration creates a certificate with default parameters. The admin can replace this by creating a new certficate using the steps listed in Create Certificate Procedure
.
The ForcePassiveIP field in NetWare when left blank or set as 0.0.0.0 indicates none specified. However, on linux, it is interpreted as is and therefore can lead to server binding to invalid IP address resulting in loss of functionality. The migration script is updated to ignore IP 0.0.0.0, and created .bak file for preserving the original linux conf file for administrative reference.