Article

davesimons's picture
article
Reads:

3872

Score:
0
0
 
Comments:

0

GroupWise Unload Script

(View Disclaimer)

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.


Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell