From Bob Brandt's Projects Site

Novell: Novell NetWare autoexec.ncf

Novell NetWare Server use a number of scripts/batch files to start the server, the most important of these is the autoexec.ncf file. The NCF file extension is a Novell Control File, in other words a Novell Batch File.

The default autoexec.ncf file is a fairly random list of commands that need to run to bring the server up. I say random because a default autoexec.ncf file has some order to it, but almost no documentation and a complete lack of common formatting. For my clients I update the autoexec.ncf of all the servers to a standard template. This helps both the clients and junior administrators understand exactly what is happening and in what order it is happening in!

##############################################################################
##############################################################################
#                                                                            #
# Standard AUTOEXEC.NCF                                                      #
#                                                                            #
# Netware 6.5 sp7  (OES2 NW) Server                                          #
#                                                                            #
# Server Name: SERVERNAME                                                    #
# Details: Department File Server                                            #
#                                                                            #
# All Comments are to be preceded by a hash symbol (#) (Maximum of 78 chars) #
# All inactive commands are to use a Semicolon (;)                           #
#                                                                            #
##############################################################################
##############################################################################


##############################################################################
#                                                                            #
# TIMESYNC Settings                                                          #
#                                                                            #
# Note: The Time zone information mentioned above should always precede the  #
#       SERVER name.                                                         #
#                                                                            #
SET Daylight Savings Time Offset = 1:00:00
SET Start Of Daylight Savings Time = (MARCH SUNDAY LAST  2:00:00 AM)
SET End Of Daylight Savings Time = (OCTOBER SUNDAY LAST  2:00:00 AM)
SET Time Zone = GMT0BST
SET Default Time Server Type = Secondary
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Bindery Context                                                            #
#                                                                            #
SET BINDERY CONTEXT = .Fully.Distinguished.Location.of.Server.TREE. ; .Fully.Distinguished.Location.of.Admin.Accounts.TREE.
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Needed Search Paths                                                        #
#                                                                            #
SEARCH ADD SYS:\JAVA\BIN
SEARCH ADD SYS:\JAVA\NWGFX\BIN
SEARCH ADD SYS:\JAVA\NJCLV2\BIN
SEARCH ADD sys:/usr/sbin
SEARCH ADD sys:/usr/bin
SEARCH ADD sys:\system\brandt
SEARCH ADD SYS:\ni\update\bin
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Server Name and ID                                                         #
#
# Note: The Server ID has no use in a PURE TCPIP, yet some applications need #
#       it set anyway, so to insure uniqueness, us the HEX form of the       #
#       primary IP Address.                                                  #
#                                                                            #
# WARNING: If you change the name of this server, you must update the server #
#          name in all the licenses that are assigned to it using iManager.  #
#                                                                            #
FILE SERVER NAME SERVERNAME
SERVERID HEXedIPADDRESS (i.e. 192.168.1.1 = C0A80101 where 192=C0, 168=A8 ..)
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Console Logging                                                            #
#                                                                            #
#                                                                            #
LOAD CONLOG -MAXIMUM=1024
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Network Settings                                                           #
#                                                                            #
# Note: Network driver LOADs and BINDs are initiated via INITSYS.NCF. The    #
#       actual LOAD and BIND commands are contained in INITSYS.NCF and       #
#       NETINFO.CFG. These files are in SYS:ETC.                             #
#                                                                            #
#       Every server will have different drivers and configurations.  You    #
#       should run INETCFG.NLM before modifying the AUTOEXEC.NCF             #
#                                                                            #
SYS:ETC\INITSYS.NCF
#                                                                            #
# Old Commands                                                               #
;LOAD TCPIP
;LOAD DRIVER.LAN SLOT=7 FRAME=ETHERNET_II  NAME=DRIVER_1_EII
;LOAD DRIVER.LAN SLOT=10013 FRAME=ETHERNET_II  NAME=DRIVER_2_EII
;BIND IP DRIVER_1_EII addr=first.ip.address mask=ip.mask gate=default.route
;BIND IP DRIVER_2_EII addr=second.ip.address mask=ip.mask 
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Mount all Available Volumes not yet mounted                                #
#                                                                            #
MOUNT ALL
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Start Netware 6.5 IP Address Management                                    #
#                                                                            #
IPMINIT.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Start Netware 6.5 NetWare Management Agent (NMA) (part of SNMP)            #
#                                                                            #
SYS:\SYSTEM\NMA\NMA5.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Start NWMKDE (Pervasive Database; needed for the Licensing system)         #
#                                                                            #
BSTART.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Novell Remote Manager (NRM) https://dnsaddress:8009                        #
#                                                                            #
# Load Secure Socket Services for NRM                                        #
LOAD NILE.NLM
# Load the mini-HTTP stack for NRM and iMonitor                              #
LOAD HTTPSTK.NLM /SSL /keyfile:"SSL CertificateDNS"
# Load the NRM portal module                                                 #
LOAD PORTAL.NLM
# Load NDS iMonitor                                                          #
LOAD NDSIMON.NLM
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# NICI (Novell International Cryptographic Infrastructure)                   #
# and PKI (Public Key Infrastructure)                                        #
#                                                                            #
# Novell International Cryptographic Infrastructure
LOAD NICISDI.XLM
# Secure Authentication Services
LOAD SASDFM.XLM
# Public Key Infrastructure   
LOAD PKI.NLM
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# RConsoleJ                                                                  #
#                                                                            #
LOAD RCONAG6 password 0 0 2036
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Novell LDAP (Lightweight Directory Access Protocol)                        #
#                                                                            #
LOAD NLDAP.NLM
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Novell Posix Semantic Agent (PSA.NSS)                                      #
#                                                                            #
PSA
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Novell Scripting Support                                                   #
#                                                                            #
SCRIPT.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Apache and Tomcat Installations                                            #
#                                                                            #
SEARCH ADD SYS:\APACHE2
AP2WEBUP
# Apache2 is now the admin server
;ADMSRVUP
# Tomcat5 begin
;SEARCH ADD SYS:\TOMCAT\5.0\BIN
;TOMCAT5.NCF
# Tomcat5 end
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Storage Management Services components required for Backup                 #
#                                                                            #
SMSSTART.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# eDirectory Management Toolbox (Web interface for eDir utilities)           #
#                                                                            #
LOAD EMBOX.NLM
openwbem.ncf
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Software from AdRem                                                        #
#                                                                            #
LOAD AFREECON.NLM
LOAD SMAGENT.NLM
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# xWindows System                                                            #
#                                                                            #
;STARTX
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Unix Environment Emulation of Bash on NetWare                              #
#                                                                            #
SYS:/BIN/UNIXENV.NCF
#                                                                            #
##############################################################################


##############################################################################
##############################################################################
#                                                                            #
# Basic Scipt Done - After this is the optional components                   #
#                                                                            #
##############################################################################
##############################################################################






##############################################################################
#                                                                            #
# FTP Server                                                                 #
#                                                                            #
;ftpstart.ncf
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Native File Access Protocol                                                #
#                                                                            #
;AFPSTRT.NCF
;CIFSSTRT.NCF
;NFSSTART.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Start DHCP and DNS Services                                                #
#                                                                            #
;LOAD NAMED.NLM
;LOAD DHCPSRVR.NLM -d1
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Nsure Auditing                                                             #
#                                                                            #
;AUDITSVR.NCF
;AUDITAGT.NCF
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Service Location Protocol - Directory Agent                                #
#                                                                            #
;LOAD SLPDA
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# iPrint / NDPS Printing                                                     #
#                                                                            #
;LOAD BROKER .Fully.Distinguished.NDAP.Name
;LOAD NDPSM .Fully.Distinguished.NDAP.Name
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Start APC's PowerChute Network Shutdown application                        #
#                                                                            #
SYS:\PowerChute\APCpcns
#                                                                            #
##############################################################################


##############################################################################
#                                                                            #
# Enable the Screensaver with Console Locking                                #
#                                                                            #
SCRSAVER ENABLE LOCK; ENABLE UNIVERSAL; NO PASSWORD
#                                                                            #
##############################################################################
Retrieved from /projects/pmwiki.php?n=Novell.Autoexecncf
Page last modified on November 07, 2007, at 01:39 PM