Editing AUTOEXEC.NCF Files

If you are running NetWare FTP Server in ACTIVE/PASSIVE mode, it should be launched from the FTP Server Cluster Resource load script. For more details, see Novell Cluster Services Overview and Installation.If you are running FTP Server in ACTIVE/ACTIVE mode, it should be launched from the AUTOEXEC.NCF file of each NetWare server in the cluster that will run FTP Server. Add the following lines in the order specified to the AUTOEXEC.NCF file of each NetWare server in the cluster that will run FTP Server in ACTIVE/ACTIVE mode:

ADD SECONDARY IPADDRESS A.B.C.D NOARP

NWFTPD

LOAD DELAY.NLM

DELAY 5

DEL SECONDARY IPADDRESS A.B.C.D

Replace A.B.C.D with the unique IP address you assigned the FTP server.

If you are running multiple FTP servers on your cluster, repeat the ADD and DEL SECONDARY IPADDRESS lines for each FTP server, because each FTP server requires its own IP address. Also, each FTP server must have its own uniquely named configuration file which specifies the FTP server's IP address and shared volume directory. Running FTP Server in ACTIVE/ACTIVE mode is required if you plan to run more than one FTP Server on the same NetWare server.

For example, if you have three FTP servers on your cluster, you can create three configuration files named FTPSERV1.CFG, FTPSERV2.CFG, and FTPSERV3.CFG and then copy them to the SYS:\ETC directory of each NetWare server in the cluster that will run the FTP servers. Each configuration file contains the IP address and shared volume directory for its corresponding FTP server. In this example, you would add the following lines to the AUTOEXEC.NCF file of each server in the cluster that will run the three FTP servers in ACTIVE/ACTIVE mode:

ADD SECONDARY IPADDRESS A.B.C.D NOARP

ADD SECONDARY IPADDRESS A.B.C.D NOARP

ADD SECONDARY IPADDRESS A.B.C.D NOARP

NWFTPD -C FTPSERV1.CFGNWFTPD -C FTPSERV2.CFGNWFTPD -C FTPSERV3.CFGLOAD DELAY.NLMDELAY 5DEL SECONDARY IPADDRESS A.B.C.D

DEL SECONDARY IPADDRESS A.B.C.D

DEL SECONDARY IPADDRESS A.B.C.D

DELAY.NLM provides enough time for the FTP server to load before the secondary IP addresses are deleted. The delay time might need to be altered to ensure enough time is allotted.

IMPORTANT:  If you are also running Netscape* Enterprise Server in ACTIVE/ACTIVE mode on the same server, be sure to add the lines in the above example before the NSWEB command.



Previous | Next