We do a backup each night of our Integrated Server cards running terminal services. To take them down from the iSeries, we use the following command:
VRYCFG CFGOBJ(SERVERNAME) CFGTYPE(*NWS) STATUS(*OFF)
Once in a while we don't get a clean shutdown or it takes a long time to shutdown. To help the shutdown, on the Windows side we make use of the program scheduler and run a command to send a message to the terminal server users, and then shutdown the server cleanly -- prior to the backup from the iSeries side. The command is: tsshutdn /v
It defaults to 60 seconds before the shutdown. You can also change the shutdown time and schedule a reboot as part of the process. I just let my iSeries backup restart the server with:
VRYCFG CFGOBJ(Servername) CFGTYPE(*NWS) STATUS(*ON)
MORE INFORMATION ON THIS TOPIC
The Best Web Links: Tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Read this Search400.com Featured Topic: Managing your iSeries.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.