View previous topic :: View next topic |
Author |
Message |
loblesa Beginner
Joined: 30 Sep 2004 Posts: 6 Topics: 1
|
Posted: Thu Sep 30, 2004 12:06 pm Post subject: Recomendations about the sequence of stopping z/OS system |
|
|
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 |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Mon Oct 04, 2004 11:09 am Post subject: |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Tue Oct 05, 2004 12:58 am Post subject: |
|
|
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 |
|
 |
loblesa Beginner
Joined: 30 Sep 2004 Posts: 6 Topics: 1
|
Posted: Tue Oct 05, 2004 11:03 am Post subject: |
|
|
Thanks Taltyman and Warp5 for your response
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 |
|
 |
Mervyn Moderator

Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
Posted: Tue Oct 05, 2004 2:40 pm Post subject: |
|
|
I always wondered, do you watch for the little white dot in the centre of the screen to fade away to nothing?
 _________________ The day you stop learning the dinosaur becomes extinct |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Tue Oct 05, 2004 3:25 pm Post subject: |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Wed Oct 06, 2004 12:47 am Post subject: |
|
|
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 |
|
 |
loblesa Beginner
Joined: 30 Sep 2004 Posts: 6 Topics: 1
|
Posted: Thu Oct 07, 2004 7:51 am Post subject: |
|
|
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 |
|
 |
loblesa Beginner
Joined: 30 Sep 2004 Posts: 6 Topics: 1
|
Posted: Thu Oct 07, 2004 8:01 am Post subject: |
|
|
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 |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Thu Oct 07, 2004 10:30 am Post subject: |
|
|
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 |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Thu Oct 07, 2004 10:33 am Post subject: |
|
|
If you read up in the MVS commands manual about the halt (Z) command you will find your answer on SMF. |
|
Back to top |
|
 |
loblesa Beginner
Joined: 30 Sep 2004 Posts: 6 Topics: 1
|
Posted: Thu Oct 07, 2004 10:45 am Post subject: |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Fri Oct 08, 2004 12:36 am Post subject: |
|
|
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 |
|
 |
loblesa Beginner
Joined: 30 Sep 2004 Posts: 6 Topics: 1
|
Posted: Fri Oct 08, 2004 6:25 am Post subject: |
|
|
Yes warp5, you are right
Very thanks |
|
Back to top |
|
 |
|
|