Re: set share to stop a guest from getting service ?
The problem with putting a Linux guest to sleep, is that they tend not to wake up so well. Obviously, all IP communications times out. CRON processes floods the image when it is woken. Any database and/or logical units of work, tend to abend. All of this was when I tried to force guests to sleep back on SLES7 on a MP3000. My thought was, if it isn't in use, force it to sleep. We will wake it up when necessary. My thought was to avoid the overhead in IPLing images when they were needed and eliminate the overhead of the idling systems. There were a lot of things we didn't know about in those days. Tom Duerbusch THD Consulting From: Rick Troth <[EMAIL PROTECTED]> To: IBMVM@LISTSERV.UARK.EDU Date: 04/01/2008 02:46 PM Subject: Re: set share to stop a guest from getting service ? > The goal will be to put the identified guest to 'sleep' until we can > evaluate if it is truly causing issues. ... I think I have followed this whole thread, and I don't seem to recall either of these suggested: cp send cp thebadguest sleep -or- cp send cp thebadguest stop If all you want to do is "hit the red button" for a period, then issue a CP STOP command. Then CP BEGIN when you want to resume. You could also issue a CP SLEEP with or without a time. (Usually used with a time spec. Without a time spec, CP BEGIN or console interrupt to wake up and resume execution.) >From the console of that guest, with default TERM LINEND, try #cp sleep -or- #cp stop -- R; <>< Law of Cat Acceleration A cat will accelerate at a constant rate, until he gets good and ready to stop.
Re: set share to stop a guest from getting service ?
On Tuesday, 04/01/2008 at 05:48 EDT, Rick Troth <[EMAIL PROTECTED]> wrote: > cp send cp thebadguest sleep > -or- > cp send cp thebadguest stop Also an excellent use of the CP FOR command. For those not familiar with it, it has a slightly different authorization scheme: 1. If you are the active SECUSER of a user, you can use CP FOR command 2. If you are using an ESM and you have LOGON BY privilege to the target user, you can use FOR, even if you aren't the active SECUSER. Alan Altmark z/VM Development IBM Endicott
Re: set share to stop a guest from getting service ?
On Tue, Apr 1, 2008 at 11:46 PM, Rick Troth <[EMAIL PROTECTED]> wrote: > > The goal will be to put the identified guest to 'sleep' until we can > > evaluate if it is truly causing issues. ... > > I think I have followed this whole thread, > and I don't seem to recall either of these suggested: > > cp send cp thebadguest sleep Very true. I believe the motivation for the alternatives is based on wishful thinking that when you give the server only a tiny amount of CPU time it will use that to manage network connections and other important things, and not spend it on looping... When you squeeze it hard enough things will be broken anyway when you get at it, just like some aspects will have changed when you wait long enough (e.g. clients have moved on). Rob PS There is also a lot of value in a performance monitor that can tell you when the problem started and will let you review interesting numbers from that time... -- Rob van der Heij Velocity Software GmbH http://velocitysoftware.com/
Re: set share to stop a guest from getting service ?
Rick - I love your suggestion - THANK YOU Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you. From: Rick Troth <[EMAIL PROTECTED]> To: IBMVM@LISTSERV.UARK.EDU Date: 04/01/2008 02:46 PM Subject: Re: set share to stop a guest from getting service ? > The goal will be to put the identified guest to 'sleep' until we can > evaluate if it is truly causing issues. ... I think I have followed this whole thread, and I don't seem to recall either of these suggested: cp send cp thebadguest sleep -or- cp send cp thebadguest stop If all you want to do is "hit the red button" for a period, then issue a CP STOP command. Then CP BEGIN when you want to resume. You could also issue a CP SLEEP with or without a time. (Usually used with a time spec. Without a time spec, CP BEGIN or console interrupt to wake up and resume execution.) >From the console of that guest, with default TERM LINEND, try #cp sleep -or- #cp stop -- R; <>< <>
Re: set share to stop a guest from getting service ?
> The goal will be to put the identified guest to 'sleep' until we can > evaluate if it is truly causing issues. ... I think I have followed this whole thread, and I don't seem to recall either of these suggested: cp send cp thebadguest sleep -or- cp send cp thebadguest stop If all you want to do is "hit the red button" for a period, then issue a CP STOP command. Then CP BEGIN when you want to resume. You could also issue a CP SLEEP with or without a time. (Usually used with a time spec. Without a time spec, CP BEGIN or console interrupt to wake up and resume execution.) >From the console of that guest, with default TERM LINEND, try #cp sleep -or- #cp stop -- R; <><
Re: set share to stop a guest from getting service ?
Jim said: Remember that when the guest has had absolute share set down to 1%, in order to do any trouble shooting, you'll have to boost up the share setting to be able to get on to the guest to diagnose the problem. The looping condition will still most likely be running and you trying to logon won't be getting much resources. Jim The goal will be to put the identified guest to 'sleep' until we can evaluate if it is truly causing issues. To do that we have the Velocity toolset which has a real time and historical view so we should be able to do a quick triage and then either reset back to normal or force the guest off. Thanks Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: set share to stop a guest from getting service ?
Remember that when the guest has had absolute share set down to 1%, in order to do any trouble shooting, you'll have to boost up the share setting to be able to get on to the guest to diagnose the problem. The looping condition will still most likely be running and you trying to logon won't be getting much resources. Jim Lionel B. Dyck wrote: This is a multipart message in MIME format. --=_alternative 00660C5F8825741D_= Content-Type: text/plain; charset="US-ASCII" Thanks to all - I just want to give the guest no or a minimum amount of CPU until we can diagnose what is going on (and in case we attempt to shoot the wrong guest :-) Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you. -- Jim Bohnsack Cornell University (607) 255-1760 [EMAIL PROTECTED]
Re: set share to stop a guest from getting service ?
Thanks to all - I just want to give the guest no or a minimum amount of CPU until we can diagnose what is going on (and in case we attempt to shoot the wrong guest :-) Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: set share to stop a guest from getting service ?
If you're running Performance Tool Kit, you can use the PERFSVM monitor machine to control looping users. I have PERFSVM set up to do a CP SET SHARE ABSOLUTE 1% on all users (except for users that can legitimately look like looping users) . Mine is set up to look for users that exceed x% cpu utilization for y minutes. You can control how minutes and how high a level of cpu. Jim Schuh, Richard wrote: This is a multi-part message in MIME format. --_=_NextPart_001_01C89115.A6AC1BB9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The cpu all stop will do as it says and stop it in its tracks. It needs to have a secuser if it is disconnected and you have not disabled the 15 minute timeout. Regards,=20 Richard Schuh=20 =20 =20 From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of O'Brien, Dennis L Sent: Friday, March 28, 2008 1:48 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: set share to stop a guest from getting service ? =09 =09 Lionel, SET SHARE userid RELATIVE 1 LIMITHARD should take it down as low as it can go. If you want no service at all, CP SEND CP userid SLEEP 99 HRS should do it. I take it you don't want to just FORCE the userid?=20 Dennis O'Brien =09 "A society that gets rid of all its troublemakers goes downhill." -- Robert A. Heinlein =09 =20 =20 From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: Friday, March 28, 2008 13:40 To: IBMVM@LISTSERV.UARK.EDU Subject: [IBMVM] set share to stop a guest from getting service ? =09 =09 Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor?=20 =09 Thx =09 =09 Lionel B. Dyck, Consultant/Specialist=20 Enterprise Platform Services, Mainframe Engineering=20 KP-IT Enterprise Engineering=20 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> =20 AIM: lbdyck | Yahoo IM: lbdyck=20 Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better."=20 =09 I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.=20 - Sir Arthur Conan Doyle=20 =09 NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.=20 --_=_NextPart_001_01C89115.A6AC1BB9 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The cpu all stop will do as it says and stop it in its tracks. = It needs=20 to have a secuser if it is disconnected and you have not disabled=20 the 15 minute timeout. Regards, = Richard Schuh=20 From: The IBM z/VM Operating = System=20 [mailto:[EMAIL PROTECTED] On Behalf Of O'Brien, Dennis=20 LSent: Friday, March 28, 2008 1:48 PMTo:=20 IBMVM@LISTSERV.UARK.EDUSubject: Re: set share to stop a = guest from=20 getting service ? Lionel, SET=20 SHARE userid RELATIVE 1 LIMITHARD should take it=20 down as low as it can go. If you want no service = at all,=20 CP SEND CP userid SLEEP 99 HRS should do it. I take it you don't = want to=20 just FORCE the userid? &nbs= p;= ;= &= nbsp; =20 Dennis O'Brien"A society that gets rid of all its troublemakers = goes=20 downhill." -- Robert A. Heinlein From: The IBM z/VM Operating = System=20 [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B.=20 DyckSent: Friday, March 28, 2008 13:40To:=20 IBMVM@LISTSERV.UARK.EDUSubject: [IBMVM] set share to stop a = guest=20 from getting service ? Is there = a way to set a=20 z/VM guest that is misbehaving into a state where it gets no service = such as a=20 SET SHARE of some flavor? Thx Lionel B. Dyck, = Consultant/Specialist=20 Enterprise = Platform=20 Services, Mainframe Engineering KP-IT Enterprise Engineering=20 925-926-5332 (8-473-5332) | E-Mail: mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED] AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is = health. Our=20 passion is service. We're here to make lives better." = I never guess. It is a =
Re: set share to stop a guest from getting service ?
The cpu all stop will do as it says and stop it in its tracks. It needs to have a secuser if it is disconnected and you have not disabled the 15 minute timeout. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of O'Brien, Dennis L Sent: Friday, March 28, 2008 1:48 PM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: set share to stop a guest from getting service ? Lionel, SET SHARE userid RELATIVE 1 LIMITHARD should take it down as low as it can go. If you want no service at all, CP SEND CP userid SLEEP 99 HRS should do it. I take it you don't want to just FORCE the userid? Dennis O'Brien "A society that gets rid of all its troublemakers goes downhill." -- Robert A. Heinlein From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: Friday, March 28, 2008 13:40 To: IBMVM@LISTSERV.UARK.EDU Subject: [IBMVM] set share to stop a guest from getting service ? Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor? Thx Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: set share to stop a guest from getting service ?
Lionel, SET SHARE userid RELATIVE 1 LIMITHARD should take it down as low as it can go. If you want no service at all, CP SEND CP userid SLEEP 99 HRS should do it. I take it you don't want to just FORCE the userid? Dennis O'Brien "A society that gets rid of all its troublemakers goes downhill." -- Robert A. Heinlein From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: Friday, March 28, 2008 13:40 To: IBMVM@LISTSERV.UARK.EDU Subject: [IBMVM] set share to stop a guest from getting service ? Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor? Thx Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: set share to stop a guest from getting service ?
I think with SET SHARE, a guest will always receive some time, although it won't be much. If you really want to stop them, put them into a CP READ state. -Original Message- From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: March 28, 2008 16:40 To: IBMVM@LISTSERV.UARK.EDU Subject: set share to stop a guest from getting service ? Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor? Thx Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review retransmission dissemination or other use of or taking any action in reliance upon this information by persons or entities other than the intended recipient or delegate is strictly prohibited. If you received this in error please contact the sender and delete the material from any computer. The integrity and security of this message cannot be guaranteed on the Internet. The sender accepts no liability for the content of this e-mail or for the consequences of any actions taken on the basis of information provided. The recipient should check this e-mail and any attachments for the presence of viruses. The sender accepts no liability for any damage caused by any virus transmitted by this e-mail. This disclaimer is property of the TTC and must not be altered or circumvented in any manner.
Re: set share to stop a guest from getting service ?
How about send cp userid cpu all stop? A Begin command is required for it to resume. Regards, Richard Schuh From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: Friday, March 28, 2008 1:40 PM To: IBMVM@LISTSERV.UARK.EDU Subject: set share to stop a guest from getting service ? Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor? Thx Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
Re: set share to stop a guest from getting service ?
cp set share badguy absolute 0.1% limithard Almost zero... but that's as close as you can get! Marcy "This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation." From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: Friday, March 28, 2008 1:40 PM To: IBMVM@LISTSERV.UARK.EDU Subject: [IBMVM] set share to stop a guest from getting service ? Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor? Thx Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.
set share to stop a guest from getting service ?
Is there a way to set a z/VM guest that is misbehaving into a state where it gets no service such as a SET SHARE of some flavor? Thx Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." I never guess. It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts. - Sir Arthur Conan Doyle NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.