MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Recomendations about the sequence of stopping z/OS system

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics
View previous topic :: View next topic  
Author Message
loblesa
Beginner


Joined: 30 Sep 2004
Posts: 6
Topics: 1

PostPosted: Thu Sep 30, 2004 12:06 pm    Post subject: Recomendations about the sequence of stopping z/OS system Reply with quote

Good afternoon,

I have a project to perform the stop process of the systems and I desire that you recommend me about the order of it...

We use a rexx program to make this stopping sequence...
Code:

stop RMF III
stop inits
hold HSM
$CA,ALL
stop webservers
stop planificator
stop CSO
stop OSAS*
stop HSM
cancel SMF
stop BBCOM
stop BBALM
stop BBCAS
stop BBLAS
stop BBMVS
stop BBPAS
cancel SAS*
stop SNMPAGN
cancel SNMPTRP
start CSF
stop BMCDSN
shutdown Changeman
stop ICSF
stop DCE
stop FTP
stop LDAP
stop RMF
shutdown BCSS
shutdown SHUTDOWN
stop ESCON
stop lines
NO (reply IEF235D)
NO (reply IEF455D)
NO (reply IEF458D)
stop TNF
F VMCF,REMOVE,NAME=*
stop VMCF
stop DFSO
C (reply BBMZA995A)
CLOSE IMMED (reply netview)
stop TSO
stop OAM
--- dependence of the HSM stop ---
stop DFRMM
cancel SMFCAT
cancel SMF
CANCEL (reply EDG4012D)
IGNORE (reply IXG312E)
cancel BBPAS*1
cancel CSFTTCP
stop SYSLOG
stop SMC
start SYSLOGDP
start INETDP
--- dependence of the webservers stop ---
stop CHINIT mqseries
.SHUTDOWN,FREE
stop TCPIP*RD
stop TCPIPFT
stop TCPIPPM
stop TCPIPOA
stop TCPIP
stop DB2
stop QMGR mqseries
cancel SETRRS
cancel ASCH
cancel APPC
stop QFETCH
stop ENF
Y (reply CAS9227A)
stop TSS
F BPXOINIT,SHUTDOWN=FORKINIT
F BPXOINIT,SHUTDOWN=FILESYS
$PLOGON1
V NET,ID=AOTSO,INACT,F
stop LLA
stop VLF
Z NET,QUICK
Z NET,CANCEL
OK (reply GEO046I of GDPS)


Very thanks
Chr
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Mon Oct 04, 2004 11:09 am    Post subject: Reply with quote

No 2 shops are totally alike, so no one can give you specifics for your shop.
Generally you reverse the order that things are started when you shut down. At some point what is left up can happily survive an IPL. Actually everything should survive a hard down since eventually it will happen whether it is intentional or not.
Most shops stop the initiators, start bringing down the online systems such as CICS as well as TSO. Near the end you shut down your communication servers such as NET and TCPIP. You can bring down just about everything if you want to or you can just shutdown the finicky stuff and let the IPL handle the rest. It's a question of how much time you want to use to shutdown your system.
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Tue Oct 05, 2004 12:58 am    Post subject: Reply with quote

We shut down almost everything except TSO and VTAM/TCPIP. This way we can make necessary changes or watch the system before we have to leave our Terminal. Then we can shut down those last few components from the console.
Back to top
View user's profile Send private message Visit poster's website
loblesa
Beginner


Joined: 30 Sep 2004
Posts: 6
Topics: 1

PostPosted: Tue Oct 05, 2004 11:03 am    Post subject: Reply with quote

Thanks Taltyman and Warp5 for your response Wink

Of course that every installation is diferent but for example...

Is necessary stop LLA and VLF? We make always IPL with CLPA...

Is correct to cancel the SMF?


Chr
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Tue Oct 05, 2004 2:40 pm    Post subject: Reply with quote

I always wondered, do you watch for the little white dot in the centre of the screen to fade away to nothing?


Rolling Eyes
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Tue Oct 05, 2004 3:25 pm    Post subject: Reply with quote

I'd leave VLF and LLA up. SMF may depend on how you switch/process your SMF datasets. But then I'm not a patient person when it comes to an IPL.
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Wed Oct 06, 2004 12:47 am    Post subject: Reply with quote

We do not cancel SMF, I do not think there is a reason to do that. We have a proclib member STOPSYS1 that stops almost everything. Then we have a STOPSYS2 that stops the last components. Then there is just a $P JES2,TERM and a Z EOD to finish the shutdown.
This is what our STOPSYS2 looks like:
Code:

//STOPSYS2 PROC                             
//   COMMAND 'P IXFP21'                     
//   COMMAND 'P TSO'                       
//   COMMAND 'P TCPIPIBM'                   
//   COMMAND 'F BPXOINIT,SHUTDOWN=FORKINIT'
//   COMMAND 'Z NET'                       
//   COMMAND 'P LLA'                       
//   COMMAND 'C SYSLOGD5'                   
//   COMMAND 'C INETD4'                     
//   COMMAND 'P OPSS'                       
//   COMMAND 'P SLS0'                       
//   COMMAND 'P SMC0'                       
//   COMMAND 'P RRS'                       
//   COMMAND '$P'                           
//STEP1 EXEC PGM=IEFBR14
Back to top
View user's profile Send private message Visit poster's website
loblesa
Beginner


Joined: 30 Sep 2004
Posts: 6
Topics: 1

PostPosted: Thu Oct 07, 2004 7:51 am    Post subject: Reply with quote

TaltyMan, about SMF... if we cancel SMF... could we lost records? I don't find the difference between cancel smf and stop smf... do you know it?

Thanks
Back to top
View user's profile Send private message
loblesa
Beginner


Joined: 30 Sep 2004
Posts: 6
Topics: 1

PostPosted: Thu Oct 07, 2004 8:01 am    Post subject: Reply with quote

warp5, we have two scenarios...

1) systems without GDPS: we have automated the sequence of stop system even '$PJES2' command... stop JES2 and Halt EOD are done handle... but 'Z EOD' not always is done... is important to instruct operations team to do it? one of the most important steps of 'Z EOD' is to copy the cached data in 3990 devices to DASD... although it store the internal I/O device error counts in the logrec data set, empty the smf buffers and close the system log and put in on the print queue...

2) systems with GDPS: GDPS controls all the stop system process due to it make '$PJES2' and 'Z EOD'...


One year ago, I'm a operator in another business and we had done always 'Z EOD' command... it was a rule...


Thanks
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Thu Oct 07, 2004 10:30 am    Post subject: Reply with quote

I don't think we ever bring down smf.
sto(P) is generally the first choice to bring down a started task, (C)ancel is a bigger hammer while the command of last resort is (F)orce
Back to top
View user's profile Send private message
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Thu Oct 07, 2004 10:33 am    Post subject: Reply with quote

If you read up in the MVS commands manual about the halt (Z) command you will find your answer on SMF.
Back to top
View user's profile Send private message
loblesa
Beginner


Joined: 30 Sep 2004
Posts: 6
Topics: 1

PostPosted: Thu Oct 07, 2004 10:45 am    Post subject: Reply with quote

taltyman, about halt comand in the MVS commands manual I have seen that...

ii) Empty the SMF buffers onto the active SMF data set in SYS1.MANx
iv) Switch to another SMF data set in SYS1.MANx, allowing the previously active SMF data set to be dumped


then... is necessary stop the SMF?? I think that with 'Z EOD' command it shouldn't necessary stop the SMF... is correct?

Thanks a lot
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Fri Oct 08, 2004 12:36 am    Post subject: Reply with quote

You do not have to stop SMF. We do not. If you stop SMF how are you going to do the Z EOD?
Back to top
View user's profile Send private message Visit poster's website
loblesa
Beginner


Joined: 30 Sep 2004
Posts: 6
Topics: 1

PostPosted: Fri Oct 08, 2004 6:25 am    Post subject: Reply with quote

Yes warp5, you are right Wink

Very thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Other Technical Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group