Moving the Messenger Agents to Linux includes installing the agents to the Linux server, copying the data stores, and providing updated configuration information in ConsoleOne.
To make a NetWare or Windows server visible from Linux, you mount the directory you need access to as a Linux file system.
mount -t ncpfs NetWare_server_full_DNS_name /Linux_mount_location/mount_point_directory -o user=fully_qualified_username -o ipserver=NetWare_server_full_DNS_name
A NetWare server full DNS name has the format of mail2.provo.corporate.com. A fully qualified username has the format of Admin.Users.Corporate. A typical Linux mount location is /mnt.
mount -t smbfs //Windows_server_name/sharename /Linux_mount_location/mount_point_directory -o username=Windows_username
To use this command, the WINS protocol must be functioning properly on your network. The specified Windows user must have sufficient rights to access the Messenger directories.
If you have made changes to the default startup files for Messenger, you need to copy the files to the Linux server before you install the Messenger system on Linux.
Copy the Messaging Agent and Archive Agent startup files to the default Linux location.
The default startup files are located in the following areas:
From a terminal window on Linux, use the dos2unix program to convert the startup files to UNIX format by using the following commands:
Make the following edits to the startup files:
Remove all paths from the startup files so they use the Linux default paths.
Change the paths to the correct location on Linux to use custom paths.
Change the IP address or hostname to the IP address or hostname of the Linux server.
Change the path to any certificates to the Linux path.
If you have made any other custom changes to your startup file, adjust those changes for the Linux paths.
If the Linux server has a different IP address than the NetWare/Windows server, you need to generate new certificates. If the Linux server has the same IP address as the NetWare/Windows server, you can copy the SSL certificates to the Linux server. When you copy the certificates to the Linux server, make sure you copy the certificates to the path you specified in the startup files.
For instructions on how to create new SSL certificates, see Configuring the Linux Messenger Agents for SSL.
If you want to use LDAP SSL to connect to your target eDirectory, then a copy of the target directory’s replica’s trusted root certificate must be made available to the Messenger installation program.
If you previously used LDAP SSL with Messenger, then a copy of the replica’s trusted root certificate should exist at sys:\novell\nm\certs for NetWare or c:\novell\nm\certs for Windows. If you are enabling LDAP SSL as part of the migration and the eDirectory replica is on NetWare, the trusted root certificate should already exist at sys:\public\RootCert.der. You need to be able to browse to this location from the Linux server. To do this, you must mount the NetWare or Windows server. For information on how to create a mount to a NetWare or Windows server, see Section 6.2.1, Making a NetWare or Windows Server Visible from Linux.
If the certificate does not exist, you can export a trusted root certificate by performing the following steps, which require the eDirectory ConsoleOne snap-ins:
From the Linux server, run ConsoleOne and connect to the eDirectory replica server.
Browse to the LDAP Server object in the tree, right-click the LDAP Server object, then select.
Click thetab. The certificate name is displayed in the field.
In the ConsoleOne tree, browse to the certificate that was displayed in thefield.
Right-click the certificate, then select.
Click thetab, then select .
Selectto not export the private key, then click .
Specify the location and filename to save the certificate as, then click.
Clickto export the trusted root certificate.
During the Messenger installation, you need to specify the path to the trusted root certificate to use LDAP SSL.
Before you can migrate your Messenger Agents to Linux, you must first install a Messenger system on Linux. During the configuration process of this installation, the startup files that you copied to the Linux server are read and the information from the startup files is included in the installation. For information on how to install a Messenger system on Linux, see Section 3.2.3, Installing and Setting Up a Messenger System on Linux.
If you use direct mode to access eDirectory, you must have eDirectory installed before you install the Messenger system.
When you have finished installing your Messenger system on Linux, do not start the agents. If you have already started your Messenger Agents, you can stop they by performing the following steps:
At the Linux server, become root by entering su and the root password.
Change to the /etc/init.d directory.
To stop the Messaging Agent, enter the following command:
To stop the Archive Agent, enter the following command:
There is no user interface for the Linux Messenger Agents. To monitor the Messenger agents and perform manual logging and archiving actions, you need to enable Web Console for both the Messaging Agent and the Archive Agent. For information on how to enable Web Console for your Messaging Agent, see Novell Messenger 2.2 Administration Guide. For information on how to enable the Web Console for the Archive Agent, see Novell Messenger 2.2 Administration Guide.