GroupWise Unload Script

0 Likes

Problem



I previously unloaded my GroupWise system by just running these commands:



unload gwmta
unload gwpoa
unload gwia



Then I backed up my system. After this was done, I started groupwise with grpwise.ncf. But sometimes I would see that the unload commands would hang my GroupWise, system so I had to find some way to automatically unload my it without any problems.



Solution



I have created a script to unload my GroupWise system before a do my monthly backup. I use stuffkey.nlm - you can download this tool from:

http://www.novell.com/coolsolutions/tools/13957.html



To use the script, you need to create a .txt file in your system directory of your GroupWise server. I created grpstop.txt, and it looks like this:



# Unload Novell GroupWise System automaticly
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GRoupWise MTA - DOM01>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GRoupWise POA - ORG.DOM01>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GRoupWise POA - MZH.DOM01>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GRoupWise POA - VV.DOM01>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GRoupWise POA - WONEN.DOM01>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GRoupWise POA - STBNO.DOM01>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------

<screen=GroupWise Internet Agent>
<F7>
Y<cr>
delay 20
#--------------------------------------------
#--------------------------------------------
#--------------------------------------------



You need to change the names of the screens; the ones shown in this script are ones that work for me. Also, make sure the stuffkey.nlm resides in the system directory/ where you created the ncf file. I created a file called grpstop.ncf:



stuffkey.nlm sys:\system\grpstop.txt



What is really does is that it goes to the agent screens and then automatically presses F7 and answers Yes on the shutdown question. After that, the whole GroupWise system will be shut down.

Tags:

Labels:

How To-Best Practice
Comment List
Related
Recommended