Novell Cool Solutions

GroupWise Unload Script



By:

June 19, 2007 3:55 am

Reads:4,198

Comments:0

Score:Unrated

Print/PDF

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:
https://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.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags:
Categories: Uncategorized

0

Disclaimer: This content is not supported by Novell. 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 it thoroughly before using it in a production environment.

Comment

RSS