File Services
201
17.5.3 Cluster Enabling Pure-FTPd in an OES 2 Environment
You can configure Pure-FTPd server in active/active mode of Novell Cluster Services.
Prerequisites
Novell Cluster Services is installed and setup.
For step-by-step information on setting up Novell Cluster Services, refer to “
Installing and
Configuring Novell Cluster Services on OES 2 Linux
” in the “
OES 2 SP3: Novell Cluster
Services 1.8.8 Administration Guide for Linux
.”
Active/Active Mode
In active/active cluster mode, multiple instances of FTP server runs on a single node cluster.
Pure-FTPd must be associated with a shared NSS volume and the DefaultHomeDirectory of users
must be on the shared NSS volume.
Configuring Active/Active Mode
1
Install pure-ftpd on all the cluster nodes by selecting
Novell FTP
in the OES install. Upgrade
pure-ftpd on all the nodes with the test RPM.
2
Enable hard links on the shared NSS volumes.
3
Create a
unique configuration file
for every FTP server to be associated with a shared NSS
volume. Ensure that:
The Bind setting in the configuration file is same as the IP Address of the virtual server
created for the NSS pool.
The PID file must be unique for each FTP instance running on the cluster.
4
Copy the configuration file to the shared volume to
/etc/opt/novell
on the shared volume.
Copying the configuration file to the shared volume, the file is automatically moved across the
nodes with the volume and is always available to the FTP Server.
For exmaple: If the shared volume is FTPVol1, the path to copy the configuration file is
/
media/nss/FTPVol1/etc/opt/novell/pure-ftpd.
5
Configure all the FTP servers for DefaultHomeDirectory support. As NSS volume is shared,
the DefaultHomeDirectory in the configuration file must be on the shared volume.
For example: If
FTPVol1
is the shared volume attached to an FTP Server,
DefaultHomeDirectory in the configuration file is
/media/nss/FTPVol1/FTPShare
.
6
Update the load and unload scripts of the cluster resource.
Load script:
Add the following command to load the FTP server with the shared volume:
/usr/sbin/pure-config.pls <
Full Path to configuration file
>
For example: If the shared volume is FTPVol1 and the Pure-FTP configuration file is
/
etc/opt/novell/pure-ftpd/ftpvol1.conf
on FTPVol1, the pure-ftpd load command
in the load script is
exit_on_error /usr/sbin/pure-config.pl /media/nss/
FTPVol1/etc/opt/novell/pure-ftpd/ftpvol1.conf
.
Unload script:
Add the following command to unload the FTP server:
Содержание OPEN ENTERPRISE SERVER - CONVERSION GUIDE 12-2010
Страница 12: ...12 OES 2 SP3 Planning and Implementation Guide...
Страница 24: ...24 OES 2 SP3 Planning and Implementation Guide...
Страница 50: ...50 OES 2 SP3 Planning and Implementation Guide...
Страница 74: ...74 OES 2 SP3 Planning and Implementation Guide...
Страница 78: ...78 OES 2 SP3 Planning and Implementation Guide...
Страница 80: ...80 OES 2 SP3 Planning and Implementation Guide...
Страница 96: ...96 OES 2 SP3 Planning and Implementation Guide...
Страница 146: ...146 OES 2 SP3 Planning and Implementation Guide...
Страница 176: ...176 OES 2 SP3 Planning and Implementation Guide...
Страница 210: ...210 OES 2 SP3 Planning and Implementation Guide...
Страница 218: ...218 OES 2 SP3 Planning and Implementation Guide...
Страница 226: ...226 OES 2 SP3 Planning and Implementation Guide...
Страница 234: ...234 OES 2 SP3 Planning and Implementation Guide...
Страница 236: ...236 OES 2 SP3 Planning and Implementation Guide...
Страница 244: ...244 OES 2 SP3 Planning and Implementation Guide...
Страница 246: ...246 OES 2 SP3 Planning and Implementation Guide...
Страница 250: ...250 OES 2 SP3 Planning and Implementation Guide...
Страница 254: ...254 OES 2 SP3 Planning and Implementation Guide...
Страница 258: ...258 OES 2 SP3 Planning and Implementation Guide...
Страница 284: ...284 OES 2 SP3 Planning and Implementation Guide...
Страница 286: ...286 OES 2 SP3 Planning and Implementation Guide...
Страница 294: ...294 OES 2 SP3 Planning and Implementation Guide...