Andy's Technotes Home
Tip Jar

NetWare Remote Restart

To remotely restart a NetWare server (3.1 through 5.1) via RCONSOLE on a server that goes straight into NetWare at start time, just create this short 'batch' file in the SYS:\SYSTEM directory of the server(s) to be rebooted. (load Edit sys:\system\reboot.ncf)
 

reboot.ncf:

(equivilant to 'RESET SERVER' command in NW 6)
remove DOS
down
exit
On all the NetWare installations I've done I've tried to make sure that the following is setup:

CONFIG.SYS (assuming MS-DOS 6.x)

[Menu]
Menuitem=Netware, Regular NetWare start
Menuitem=DOS, Start plain-old DOS for Maintenance
Menuitem=WS, boot to DOS as a workstation logged in to another server
Menuitem=EISA, Launch System EISA config tool   (if applicable)
Menudefault=Netware, 13

[NetWare]

[DOS]
device=C:\DOS\himem.sys
rem device=C:\DOS\emm386.exe noems
dos=high
files=50
buffers=42
shell=C:\dos\COMMAND.COM C:\dos\ /p /e:512
{CD-ROM drivers if applicable}

[WS]
device=C:\DOS\himem.sys
device=C:\DOS\emm386.exe noems
dos=high
files=50
buffers=42
LASTDRIVE=Z
shell=C:\dos\COMMAND.COM C:\dos\ /p /e:512

[EISA]
device=C:\DOS\himem.sys
rem device=C:\DOS\emm386.exe noems
dos=high
files=50
buffers=42
shell=C:\dos\COMMAND.COM C:\dos\ /p /e:512

AUTOEXEC.BAT (assuming MS-DOS 6.x)

path=c:\dos;c:\nc
prompt=$P$G
set temp=c:\temp
goto %config%

:Netware
cd \NWSERVER
server
goto end

:DOS
{CD-ROM drivers if applicable}
goto end

:WS
path=c:\dos;c:\nwclient;c:\nc
SET TZ=EST5EDT
Set NWLANGUAGE=ENGLISH
cd\nwclient
lh lsl
lh smc9000
lh ipxodi
lh vlm
cd\
f:
login
goto end

:EISA      (if applicable)
cd \EISA
cf
goto end

:end
REBOOT.NCF (full version, components as apropriate, i.e. remove unneeded)

unload conlog
load conlog file=con_down.log save=con_down.sav entire=yes

REM ember to use F7 to shutdown each of the GroupWise NLMs
REM see TID 2948325 for the ManageWise components

remove dos
Disable Login
load nliclear
broadcast "Server FS1 is now being shut down, Please Logout now"
broadcast "This is your very last chance to Logout gracefully"

stopweb5        ;(to shutdown GroupWise WebAccess)
webstop         ;(to shutdown Novel Web Server)
nswebdn         ;(to shutdown Novonyx Fasttrack Web Server

astop6          ;(to shutdown ARCserve6)
istop4          ;(to shutdown InnocluLAN4)
PNAULOAD        ;(to shutdown Palindrome's NetWork Archivist)
unxp            ;(to shutdown ManageWise Explorer) 
ulanz           ;(to shutdown ManageWise LANaLyzer) 
unnma2          ;(to shutdown ManageWise management agents on NW4) 
unnma5          ;(to shutdown ManageWise management agents on NW5)
unload user     ;(to shutdown ManageWise desktop management) 
unload ldinv    ;(to shutdown ManageWise inventory
unload ldiscan  ;(to shutdown the rest of ManageWise inventory)
unload netshld  ;(to shutdown McAfee NetShield)

unload DHCPCFG
unload DHCPSRVR

rem For BorderManager, you will need to get BMoff.ncf from Craig Johnson
BMOFF.ncf

rem the following are a last measure only for GroupWise 4.1a if you weren't fast enough
unload ngwmhs
unload ngwasync
unload ngwads
unload ngwms
unload ngwofs
rem the following are a last measure only for GroupWise 5.x if you weren't fast enough
rem unload gwia
rem unload gwinter
rem unload ngwasync
rem unload ngwada
rem unload ngwmta
rem unload ngwpoa

dismount vol3   ;(dismounting volumes other than SYS before DOWNing ..)
dismount vol2   ;(.. eliminates a few error messages from being sent ..)
dismount vol1   ;(.. to the SYS_ERR.LOG)
broadcast "you were not fast enough, the server is now down"
remove DOS
down -f
unload conlog
exit (or if NW 6.x, RESET SERVER -F instead of last four lines)
 
 


Last updated 2009-05-13 Copyright © 1996-2022 Andy Konecny andyweb @ konecnyconsulting.ca